docs(P04): complete operator-guide-reference-tracking phase (REQ-OPS-GUIDE, v1.28.4)
Nova Slides Render / render (push) Failing after 29s
Nova Slides Render / render (push) Failing after 29s
---ci--- project: acdl phase: 4 milestone: v1.29 status: complete ---/ci---
This commit is contained in:
@@ -656,4 +656,69 @@ template (raw dict → JSON, no troposphere dep), presents for review
|
||||
(`$PAGER` + resource summary), requires explicit `y/N` approval before
|
||||
`cloudformation deploy --capabilities CAPABILITY_IAM`. `--check` reports
|
||||
prerequisites + IAM policy delta; `--verify` runs the KMS round-trip
|
||||
test. New IAM grants required: `cloudformation:*`, `codeartifact:*`.
|
||||
test. New IAM grants required: `cloudformation:*`, `codeartifact:*`.
|
||||
|
||||
### §12.11 — Platform Ops Reposplit (v1.29, current)
|
||||
|
||||
Platform operations are a Terraform-controlled discipline that lives
|
||||
outside the engineering repo, grounded in Vision §4 (Domain
|
||||
Boundaries — *the platform begins where the artifact is compiled and
|
||||
ends where it runs in production under operational guardrails*). Two
|
||||
repos, two ownership surfaces:
|
||||
|
||||
- **`acdl/acdl` (GitHub)** — engineering. Authors `publish.yml` + the
|
||||
artifacts (Lambda zip, layer wheel, Python wheel, ECR container
|
||||
image with the static `kj` binary). Each tag `v1.29.x` produces a
|
||||
GitHub Release with SHA-256-verified artifacts (REQ-354, D-235
|
||||
tag-pin handoff). Engineering ends at the compiled artifact.
|
||||
- **`nova-platform-ops` (Gitea-private, OPER-PRIV, REQ-359)** —
|
||||
operations. Authors the Terraform modules
|
||||
(`networking`/`kms`/`identity`/`contract-ingest`/`bootstrap`/`edge`)
|
||||
that bring those artifacts live in `581513795199`. Operations begins
|
||||
at the live platform under guardrails. No GitHub mirror; CIAgent has
|
||||
no presence there.
|
||||
|
||||
The handoff between the two repos is the **tag-pin** (D-235):
|
||||
`nova-platform-ops` declares `local.nova_platform_version` +
|
||||
`local.kj_source_sha` and resolves substrates through a single
|
||||
`data.aws_ecr_image.kj_image`.
|
||||
|
||||
**The `kj` substrate (KJ-LOCKSTEP, REQ-371):** `kj` (a compiled Go
|
||||
binary, pinned v0.0.3 in `platform/abac/kj-version.txt`, distinct from
|
||||
the kyverno-json engine) has exactly **one identity**: one ECR image
|
||||
digest shared by the production Lambda runtime
|
||||
(`aws_lambda_function.nova_idp_token_vend.image_uri`) and its
|
||||
defensive Fargate fallback
|
||||
(`aws_ecs_task_definition.kj.container_definitions[0].image`). A
|
||||
`lifecycle.precondition` on both image-bearing resources enforces at
|
||||
every `terraform plan` that both `image_uri` attributes resolve to the
|
||||
same digest via `data.aws_ecr_image.kj_image`. No second pipeline, no
|
||||
second SHA pin (D-238). KJ-STATIC: the binary is compiled
|
||||
`CGO_ENABLED=0` and `file(1)` reports `statically linked, no shared
|
||||
library` before embedding.
|
||||
|
||||
**Covered-reference REQ tracking pattern:** the 14 covered-reference
|
||||
REQs (355-366, 371) are authored in `nova-platform-ops` (out-of-band).
|
||||
CIAgent in `acdl` tracks them for milestone completeness; their
|
||||
verification surface is the M1/M1.5/M2 cutover gates documented in
|
||||
the operator guide. The operator guide lists each covered-reference
|
||||
REQ with its gate entry + verification command + a "Result" column
|
||||
that the operator attests after running the gate in
|
||||
`nova-platform-ops` CI. P6 audit verifies every covered-reference REQ
|
||||
has a non-empty, green Result (grill CF-2/G-5). M1.5 green (3
|
||||
consecutive rebuilds of the 12-item spike, operator-attested in the
|
||||
guide) is the HARD P6 ship gate (grill CF-1/G-2.1).
|
||||
|
||||
**Operator guide pointer:** `docs/operator-guide-platform-ops.md`
|
||||
(REQ-OPS-GUIDE) — the operator-facing runbook covering the Day-0
|
||||
cutover, M1.5 verification gate, M2 handoff loop, rollback, KMS
|
||||
rotation, JWKS reachability via CloudFront edge (INV-18), PITR
|
||||
restore, PAT revocation, edge config, Fargate standby health, cost,
|
||||
artifact-mirror fallback, and the cutover gates table.
|
||||
|
||||
**JWKS edge (INV-18, D-233):** the JWKS endpoint is the only public
|
||||
read surface of the live platform. CloudFront + OAC pinning
|
||||
(`AuthType: AWS_IAM` on the Function URL — NOT `NONE`,
|
||||
`OriginAccessControlOriginType: lambda`, `SigningBehavior: always`)
|
||||
replaces direct Lambda Function URL exposure. Direct Function URL →
|
||||
403; via-CloudFront → 200.
|
||||
+10
-10
@@ -1,25 +1,25 @@
|
||||
{
|
||||
"phase": 3,
|
||||
"phase": 4,
|
||||
"stage": "verify",
|
||||
"milestone": "v1.29",
|
||||
"phase_role": "execution",
|
||||
"attempts": 0,
|
||||
"updated_at": "2026-08-20T01:20:00Z",
|
||||
"updated_at": "2026-08-20T01:30:00Z",
|
||||
"project": "acdl",
|
||||
"projects": ["acdl", "nova-blockchain-exchange"],
|
||||
"active_milestone": "v1.29",
|
||||
"milestone_branch": "milestone/v1.29-reposplit-identity",
|
||||
"phase_branch": "phase/03-cfn-archive-tf-delegation",
|
||||
"phase_branch": "phase/04-operator-guide-reference-tracking",
|
||||
"tag_line": "v1.28.x",
|
||||
"phase_name": "cfn-archive-tf-delegation",
|
||||
"phase_name": "operator-guide-reference-tracking",
|
||||
"milestone_type": "feature",
|
||||
"reqs_covered": ["REQ-354", "REQ-367", "REQ-368", "REQ-369"],
|
||||
"reqs_covered": ["REQ-354", "REQ-367", "REQ-368", "REQ-369", "REQ-OPS-GUIDE"],
|
||||
"reqs_partial": [],
|
||||
"verification": {
|
||||
"structural": "PASS (py_compile exit 0, setup.py 44 lines <=50 CAP-034)",
|
||||
"behavioral": "PASS (11 assertions pass via stdlib harness: terraform delegation, CFN fallback deprecation, verify delegation)",
|
||||
"security": "PASS (CFN archived read-only, deprecation warning guides to terraform path)",
|
||||
"quality": "PASS (550-line archive with full CFN template, 216-line test file covering all paths)"
|
||||
"structural": "PASS (746-line operator guide with 25 sections, ARCHITECTURE §12.11 added, STATE.md updated)",
|
||||
"behavioral": "PASS (all 18 required sections present, Cutover Gates table has 14 covered-reference REQs with Result column)",
|
||||
"security": "PASS (KMS rotation, JWKS-EDGE-ONLY, IAM-NARROW, TFM-HITL, PAT revocation all documented)",
|
||||
"quality": "PASS (CAP-039/040/041 added to STATE.md, INV-18 + 10 NFR constraints documented, covered-reference REQs marked with cutover gates)"
|
||||
},
|
||||
"notes": "v1.29 P3 EXECUTE+VERIFY complete. CFN template archived to docs/archive/nova-idp-cfn-v1.28.md (550 lines, full template). nova/idp/setup.py --apply delegates to terraform apply (shutil.which detection), --verify delegates to terraform plan. CFN fallback emits DeprecationWarning. test_idp_setup_tf_delegation.py authored (11 assertions)."
|
||||
"notes": "v1.29 P4 EXECUTE+VERIFY complete. operator-guide-platform-ops.md (746 lines, 18 sections + Cutover Gates table). ARCHITECTURE.md §12.11 (Platform Ops Reposplit). STATE.md: CAP-039/040/041, INV-18, 10 NFR constraints, Domain 12. REQUIREMENTS.md: covered-reference REQs marked with M1/M1.5/M2 gates."
|
||||
}
|
||||
+14
-14
@@ -834,17 +834,17 @@ M1/M1.5/M2 cutover gates documented in the operator guide.
|
||||
| REQ-369 | P3 | planned |
|
||||
| REQ-OPS-GUIDE | P4 | planned |
|
||||
| REQ-CONSUMER-BUMP | P5 | planned |
|
||||
| REQ-355 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-356 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-357 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-358 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-359 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-360 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-361 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-362 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-363 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-363b | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-364 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-365 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-366 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-371 | covered-reference | planned (nova-platform-ops) |
|
||||
| REQ-355 | covered-reference | planned (M1 gate: nova-platform-ops) |
|
||||
| REQ-356 | covered-reference | planned (M1 gate: nova-platform-ops) |
|
||||
| REQ-357 | covered-reference | planned (M1.5 gate: nova-platform-ops) |
|
||||
| REQ-358 | covered-reference | planned (M2 gate: nova-platform-ops) |
|
||||
| REQ-359 | covered-reference | planned (M1 gate: nova-platform-ops) |
|
||||
| REQ-360 | covered-reference | planned (M1.5 gate: nova-platform-ops) |
|
||||
| REQ-361 | covered-reference | planned (M1 gate: nova-platform-ops) |
|
||||
| REQ-362 | covered-reference | planned (M1.5 gate: nova-platform-ops) |
|
||||
| REQ-363 | covered-reference | planned (M1.5 gate: nova-platform-ops) |
|
||||
| REQ-363b | covered-reference | planned (M1.5 gate: nova-platform-ops) |
|
||||
| REQ-364 | covered-reference | planned (M1.5 gate: nova-platform-ops) |
|
||||
| REQ-365 | covered-reference | planned (M1 gate: nova-platform-ops) |
|
||||
| REQ-366 | covered-reference | planned (M1 gate: nova-platform-ops) |
|
||||
| REQ-371 | covered-reference | planned (M2 gate: nova-platform-ops) |
|
||||
+55
-1
@@ -21,7 +21,20 @@
|
||||
> lifecycle; `nova idp setup`; `nova auth login/revoke/status`). No
|
||||
> AWS-managed identity (INV-15). 6 new capabilities (CAP-033..038),
|
||||
> 6 new invariants (INV-12..17), 6 decisions (D-226..231).
|
||||
> **Next update:** at v1.29 ship.
|
||||
> **v1.29 (pending — tag `v1.28.6`):** Reposplit + Identity Layer
|
||||
> Bring-Live. Platform operations extracted to a Gitea-private
|
||||
> Terraform repo (`nova-platform-ops`, OPER-PRIV); `acdl/acdl`
|
||||
> standardized on GitHub (D-232); Nova-idp brought live in
|
||||
> `581513795199` via Terraform (CFN archived, REQ-369); `kj` substrate
|
||||
> has one ECR image digest shared by the Lambda runtime + its Fargate
|
||||
> fallback (KJ-LOCKSTEP, REQ-371, D-238); JWKS edge-only via CloudFront
|
||||
> + OAC (INV-18, D-233). 3 new capabilities (CAP-039..041), 1 new
|
||||
> invariant (INV-18), 10 NFR constraints (KJ-STATIC, KJ-LOCKSTEP,
|
||||
> KJ-WARMUP-HEALTH, OPER-PRIV, IAM-NARROW, DRIFT-DETECT,
|
||||
> IMPORT-IDEMPOTENT, TFM-HITL, JWKS-SLO, JWKS-ROTATION), 9 decisions
|
||||
> (D-232..D-240). Covered-reference REQs (355-366, 371) verified via
|
||||
> M1/M1.5/M2 cutover gates in `docs/operator-guide-platform-ops.md`.
|
||||
> **Next update:** at v1.30 ship.
|
||||
|
||||
## How to use this file (PO)
|
||||
|
||||
@@ -110,6 +123,30 @@
|
||||
absence or evaluation error (C-6.1 — never fail open). Allow/deny +
|
||||
policy inputs emitted to the audit stream. `policy_version` (git SHA,
|
||||
D-231) recorded in every event.
|
||||
- **INV-18 (JWKS-EDGE-ONLY, v1.29):** the JWKS endpoint is the only
|
||||
public read surface of the live platform. All other platform
|
||||
endpoints MUST gate with `AuthType: AWS_IAM` (D-233). CloudFront +
|
||||
OAC pinning replaces direct Lambda Function URL exposure. Direct
|
||||
Function URL → 403; via-CloudFront → 200.
|
||||
|
||||
> **v1.29 NFR constraints (10 — load-bearing, not full invariants):**
|
||||
> KJ-STATIC (`kj` compiled `CGO_ENABLED=0`, `file(1)` reports
|
||||
> `statically linked`, SHA-256 in Terraform state); KJ-LOCKSTEP
|
||||
> (Fargate standby digest == Lambda `image_uri` digest at every
|
||||
> `terraform plan`, enforced by `lifecycle.precondition` + CI + PR
|
||||
> comment + operator review, D-238); KJ-WARMUP-HEALTH (Fargate
|
||||
> `GET /health → 200` every 10s, READY before M1 cutover);
|
||||
> OPER-PRIV (`nova-platform-ops` `private: true`, not mirrored,
|
||||
> REQ-359); IAM-NARROW (Gitea OIDC role bounded, no `Action: "*"` or
|
||||
> `Resource: "*"`, REQ-360); DRIFT-DETECT (`terraform plan` exit 2
|
||||
> fails the apply workflow, REQ-356); IMPORT-IDEMPOTENT (re-import
|
||||
> exits `resource_already_imported`, REQ-361); TFM-HITL (`terraform
|
||||
> apply` against `main` requires Gitea Actions approval from a user
|
||||
> distinct from the PR author, REQ-357, INV-3); JWKS-SLO
|
||||
> (`GET /.well-known/jwks.json` P95 < 200ms same-region,
|
||||
> `Cache-Control: max-age=3600`); JWKS-ROTATION (on key rotation,
|
||||
> both old + new public keys published during 24-hour overlap
|
||||
> window).
|
||||
|
||||
## Domains (capability groups)
|
||||
|
||||
@@ -123,6 +160,8 @@
|
||||
8. Consumer surfaces (developer + agentic)
|
||||
9. Pilot estate (v1.26)
|
||||
10. Forge / CI runtime
|
||||
11. CLI + Identity Layer (v1.28)
|
||||
12. Platform Ops Reposplit (v1.29)
|
||||
|
||||
## Capabilities (additive — one row per shipped capability)
|
||||
|
||||
@@ -303,6 +342,21 @@
|
||||
| — | Operator guide | v1.28 / `v1.27.5` | `docs/operator-guide-idp.md` | REQ-345 | local | `nova idp setup` + KMS rotation + layer update + PITR restore + emergency PAT revocation |
|
||||
| — | Developer guide | v1.28 / `v1.27.5` | `docs/developer-guide-auth.md` | REQ-346 | local | quickstart + mode resolution + JWS KDF + service-account PATs |
|
||||
|
||||
### Domain 12 — Platform Ops Reposplit (v1.29)
|
||||
|
||||
> **Pending — tag v1.28.6 (milestone release).** Rows below are the
|
||||
> v1.29 capability allocations; shipped state is recorded at the P-final
|
||||
> milestone-ship wave. Covered-reference REQs (355-366, 371) are
|
||||
> authored out-of-band in `nova-platform-ops`; their verification
|
||||
> surface is the M1/M1.5/M2 cutover gates in the operator guide (grill
|
||||
> CF-2/G-5).
|
||||
|
||||
| ID | Capability | Shipped | Files | Controlling | Tier | Notes |
|
||||
|----|-----------|---------|-------|-------------|------|-------|
|
||||
| CAP-039 | Platform ops reposplit | v1.29 / `v1.28.6` (pending) | `nova-platform-ops` (out-of-band), `docs/operator-guide-platform-ops.md`, `docs/archive/nova-idp-cfn-v1.28.md` | REQ-369, REQ-OPS-GUIDE, D-232, D-235 | covered-reference | engineering (`acdl/acdl`, GitHub) ends at the artifact; operations (`nova-platform-ops`, Gitea-private, OPER-PRIV) begins at the live platform; tag-pin handoff; CFN archived; covered-reference REQs tracked via cutover gates |
|
||||
| CAP-040 | KJ substrate lockstep | v1.29 / `v1.28.6` (pending) | `nova-platform-ops` (out-of-band), `platform/abac/kj-version.txt`, `.github/workflows/publish.yml` | REQ-371, REQ-363, REQ-363b, D-238, D-239 | covered-reference | one ECR image digest shared by Lambda `image_uri` + Fargate task `image`; `lifecycle.precondition` on both resources at `terraform plan`; KJ-STATIC (`CGO_ENABLED=0`, `file(1)` asserts `statically linked`); no second pipeline, no second SHA pin |
|
||||
| CAP-041 | JWKS edge-only | v1.29 / `v1.28.6` (pending) | `nova-platform-ops` (out-of-band), `docs/operator-guide-platform-ops.md` | REQ-364, REQ-365, REQ-366, INV-18, D-233 | covered-reference | JWKS is the only public read surface; CloudFront + OAC (`AuthType: AWS_IAM`, NOT `NONE`, `OriginAccessControlOriginType: lambda`, `SigningBehavior: always`); direct Function URL → 403, via-CloudFront → 200; WAF rate-limit 3000/5min + AWSManagedRulesCommonRuleSet; ACM DNS-validated in us-east-1; Route53 A-alias |
|
||||
|
||||
## Archive pointers
|
||||
|
||||
- **v1.0–v1.24 capability narrative + the 2026-07-27 re-verification sweep:**
|
||||
|
||||
Reference in New Issue
Block a user