Skip to content

feat: certify Station v1 publication and recovery - #1

Open
joshuajbouw wants to merge 6 commits into
mainfrom
codex/station-v2-certified-recovery
Open

feat: certify Station v1 publication and recovery#1
joshuajbouw wants to merge 6 commits into
mainfrom
codex/station-v2-certified-recovery

Conversation

@joshuajbouw

@joshuajbouw joshuajbouw commented Aug 26, 2026

Copy link
Copy Markdown
Member

Closes #2

Parent campaign: astrid-runtime/astrid#1563

Summary

  • certifies the Station v1 publication interface as signed, DCO-compliant history
  • adds the reviewed recovery protocol, client, tool, and offline ceremony flow
  • preserves fail-closed TUF inputs and canonical recovery append semantics
  • emits all 256 authenticated identity shards required by the production client
  • enforces chronological exact-admission binding before any publication lifecycle or mirror event
  • lets the production async CLI sign a static Pages tree without constructing a nested Tokio runtime
  • uses canonicalized platform temp roots for security-sensitive CLI tests on Linux and macOS

Internal v2.rs, prepare-v2, schema, report, binary, and domain identifiers describe implementation formats; Station is product v1.

Evidence

  • current signed tip: 2cbeaf49b3029b1201671bf3ee3a3c23917a3254, tree 5ba2c8a0d05d4b90654c39a536a6beb8a17549e7
  • every commit has a good GPG signature from Joshua J. Bouw and a matching DCO sign-off
  • independent astrid-quality exact-head review ACCEPTED the current tip with no P0/P1
  • the mutation-falsifiable pre-admission regression and production generator -> async signer -> production-client replay/resolve E2E pass
  • full workspace all-features tests pass (290 tests)
  • strict all-targets/all-features Clippy for affected crates, formatting, diff checks, fsck, and no-replace checks pass
  • interface tree 0bf775f2 and recovery tree 972ba81d retain their prior independent ACCEPT evidence
  • isolated static E2E produced 262 signed targets including all 256 shards; source add, resolve, and fetch matched exact capsule bytes

GitHub CI and required human review remain merge gates.

Boundaries

This PR does not change the deployed Station pin, publish production keys or TUF metadata, mutate live homes, merge itself, or activate Station. Pin movement remains a separate post-merge decision.

The separate isolated Astrid lifecycle exercise found a Core consumer provenance defect: a Station-installed capsule is currently persisted as daemon-owned, so astrid capsule update is a no-op. That Core fix is tracked in astrid-runtime/astrid#1682 and does not weaken this repository-generation cure.

AI / Tool Assistance

Assisted-by: Codex: GPT-5

Codex implemented and tested the changes. Joshua J. Bouw authorized the signed publication and reviewed the security invariants; independent exact-head review remains separate from authorship.

Certify the exact adversarially reviewed Station v2 interface tree as a coherent signed successor.

Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>

AI-Disclosure: Codex | implemented Station v2 protocol, recovery, client, CLI, and integration changes; human reviewed and verified the independently tested exact-tree evidence
Certify the exact adversarially reviewed recovery protocol, tooling, and ceremony tree.

Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>

AI-Disclosure: Codex | implemented Station v2 protocol, recovery, client, CLI, and integration changes; human reviewed and verified the independently tested exact-tree evidence
Create security-sensitive CLI test scratch directories beneath the canonicalized platform temp root so Linux and macOS exercise the same output-path invariant.

AI-Disclosure: Codex | implemented cross-platform Station CLI test scratch paths; human reviewed and verified the full workspace tests and clippy evidence
Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Keep the Station client fixture compatible with current Clippy while preserving the generated mirror URL.

AI-Disclosure: Codex | implemented the inline format-argument cleanup; human reviewed and verified the client suite and workspace clippy

Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
@joshuajbouw joshuajbouw changed the title feat: certify Station v2 publication and recovery feat: certify Station v1 publication and recovery Aug 26, 2026
@joshuajbouw
joshuajbouw marked this pull request as ready for review August 26, 2026 12:37
Emit all authenticated identity shards, require exact admission binding before exposing publication records, and let the production async CLI sign Pages output without constructing a nested runtime.

AI-Disclosure: Codex | implemented the production E2E fixes and regressions; Joshua reviewed the requirements and verified the tests and strict Clippy before signing and publication
Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Reject publication lifecycle and mirror events that precede the exact authenticated admission during repository generation. Add a mutation-falsifiable ordering regression and an in-tree generator-to-signer-to-production-client replay and resolution test.

AI-Disclosure: Codex implemented the cure and tests. Joshua J. Bouw reviewed the security invariant and verified the full workspace tests, strict Clippy, formatting, and diff checks.
Signed-off-by: Joshua J. Bouw <jjb@unicity-labs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deliver production-static Station repository generation and end-to-end lifecycle

1 participant