- Replace form_urlencoded with RFC 3986 compliant URI encoding - Implement aws_uri_encode() matching AWS SigV4 spec exactly - Unreserved chars (A-Z,a-z,0-9,-,_,.,~) not encoded - All other chars percent-encoded with uppercase hex - Preserve slashes in paths, encode in query params - Normalize empty paths to '/' per AWS spec - Fix test expectations (body hash, HMAC values) - Add comprehensive SigV4 signature determinism test This fixes the canonicalization mismatch that caused signature validation failures in T047. Auth can now be enabled for production. Refs: T058.S1
45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
id: T043
|
|
name: Naming Cleanup (PROJECT.md alignment)
|
|
goal: Rename metricstor→nightlight, novanet→prismnet per PROJECT.md
|
|
status: complete
|
|
priority: P1
|
|
owner: peerA
|
|
|
|
steps:
|
|
- step: S1
|
|
name: Directory Rename
|
|
done: Rename top-level directories
|
|
status: complete
|
|
notes: "metricstor/ → nightlight/, novanet/ → prismnet/"
|
|
|
|
- step: S2
|
|
name: Crate Rename
|
|
done: Rename crate directories
|
|
status: complete
|
|
notes: "nightlight/crates/metricstor-* → nightlight-*, prismnet/crates/novanet-* → prismnet-*"
|
|
|
|
- step: S3
|
|
name: Reference Update
|
|
done: Update all Cargo.toml, .rs, .proto, .nix files
|
|
status: complete
|
|
notes: "~139 files updated: package names, use statements, mod declarations, proto package names"
|
|
|
|
- step: S4
|
|
name: Build Verification
|
|
done: All workspaces compile
|
|
status: complete
|
|
notes: "nightlight, prismnet, plasmavmc, k8shost, creditservice all pass cargo check"
|
|
|
|
evidence:
|
|
- cmd: "cargo check"
|
|
result: "All affected workspaces compile"
|
|
|
|
notes: |
|
|
**T043 COMPLETE (2025-12-11) by PeerA:**
|
|
Aligned codebase with PROJECT.md naming conventions:
|
|
- Metricstor → NightLight (Item 12)
|
|
- NovaNET → PrismNET (Item 11)
|
|
Also renamed related files:
|
|
- nix/modules/novanet.nix → prismnet.nix
|
|
- nix/modules/metricstor.nix → nightlight.nix
|
|
- plasmavmc test files
|