Skip to content

docs(start-sdk): registry keeps only signatures from registered signers - #4815

Merged
MattDHill merged 4 commits into
live-docsfrom
docs/registry-signature-retention
Nov 19, 2026
Merged

MattDHill merged 4 commits into
live-docsfrom
docs/registry-signature-retention

Conversation

@MattDHill

Copy link
Copy Markdown
Member

Registry 1.6.0 (#4729) keeps a package signature only while its key belongs to a registered signer. The administration page still described the older behavior. It said submitted endorsements are added to the signature map and that promotion forwards the whole map, and it said nothing about what revoking a key does.

Changes to host-registry-administration.md:

  • Signers. New paragraphs: signatures from unregistered keys are dropped when a package is indexed and on every startup. Revoking a key with admin signer edit --remove-key or admin signer remove removes it from every signer that holds it and deletes its indexed signatures. Adding the key back doesn't restore them, so the affected versions need cosigning again.
  • Publishing. Submitted endorsements are verified and then kept only if a registered signer holds the key. The destination of a promotion keeps only signatures from its own signers. A supplemental key has to be registered as a signer for its endorsement to stay in the index.

Verified

  • Read against start-registry/v1.6.0, published Nov 15: registry/package/add.rs (retain_registered_signatures on add and add-mirror), registry/context.rs (pruning in initialize_database, and remove_enrolled_keys stripping the key from every signer, then pruning), and registry/admin.rs (edit_signer and remove_signer unenroll the removed keys).
  • prettier --check (root .prettierrc.json) passes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[P2] Scope the retention guarantee to authoritative registries (host-registry-administration.md:26). Published Registry 1.6.0 deliberately skips startup pruning when mirror-of is configured (registry/context.rs:102), and upstream::replace_index preserves the upstream signature map. A mirror receiving an unregistered signature from its upstream therefore retains it across restarts, contrary to the new unconditional statement. The existing startup_preserves_mirror_signatures_and_normalizes_each_return_to_authority regression and registry architecture documentation explicitly cover this distinction.

The proposal qualifies the guarantee, explains that read-only mirrors preserve upstream signatures, and notes that pruning resumes on the first startup after removing mirror-of. The remaining ingestion, revocation, cosigning, and destination-filtering descriptions match the published release.

The reviewed head merges cleanly into live-docs; its automatic backport to master is also clean. Current Prettier, Conflict Markers, and Docs-only checks pass. No builds or tests run during review.

Proposed changes: 73521d5...proposal/4815

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol
helix-white
helix-white previously approved these changes Nov 19, 2026

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 7b41061df. The adopted wording resolves the mirror exception finding.

This documentation-only correction describes Registry 1.6.0's existing behavior: authoritative indexes discard signatures from unregistered keys, revocation removes a key from every signer and drops its indexed signatures, and re-registering requires cosigning again. Promotion retains endorsements only from the destination's registered signers. Read-only mirrors preserve upstream signatures across restarts; removing mirror-of enables pruning on the next startup. Runtime behavior and publishing authorization remain unchanged.

Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).

Verified the wording against the published start-registry/v1.6.0 implementation and existing startup regression. The head merges cleanly into live-docs and backports cleanly to master. Prettier, Conflict Markers, and Docs-only CI checks pass; runtime jobs are skipped for this docs-only change. No builds or tests run during review.

Description note: its “on every startup” summary still needs the authoritative-registry qualification now present in the book.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
helix-white
helix-white previously approved these changes Nov 19, 2026

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 7373fcf70. Removing the historical version qualifier preserves the current-release guidance, and the read-only mirror exception remains explicit.

This documentation-only correction explains signature filtering during indexing and promotion, global key revocation, and the need to cosign after re-registering a key. Mirrors preserve upstream signatures across restarts; removing mirror-of enables pruning on the next startup. Runtime behavior and publishing authorization are unchanged.

Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).

The text matches the published start-registry/v1.6.0 implementation and existing regression coverage inspected during review. The new head merges cleanly into live-docs and backports cleanly to master. Prettier, Conflict Markers, and Docs-only CI checks pass; runtime jobs are skipped for this docs-only change. No builds or tests run during review.

Non-blocking description note: the startup summary still omits the mirror exception documented in the book.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@helix-white helix-white left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at 7c0ae72a6. The latest wording preserves the empty default and explicit selection of signers whose keys are offered to connecting StartOS servers. Removing the historical version numbers does not change that guidance.

The PR corrects the published documentation for signature filtering, global key revocation, cosigning after re-registration, and destination-specific filtering during promotion. The read-only mirror exception and pruning after returning to authoritative operation remain explicit. It also simplifies the key-offering introduction. Runtime behavior, trust selection, and publishing authorization are unchanged.

Implementation diff: +0 / −0 lines in 0 files (excludes lockfiles, tests, docs, release notes, and changelog).

Inspected the published retention implementation, signer-selection owner, defaults, and existing regression coverage. The head merges cleanly into live-docs and backports cleanly to master. Prettier, Conflict Markers, and Docs-only CI checks pass; runtime jobs are skipped. No builds or tests run during review.

Non-blocking description note: the summary still omits the mirror exception and the key-offering wording cleanup.

Helix-Harness: pi
Helix-Model: openai-codex/gpt-6.1-sol

@MattDHill
MattDHill merged commit ad1e6f4 into live-docs Nov 19, 2026
9 checks passed
@MattDHill
MattDHill deleted the docs/registry-signature-retention branch November 19, 2026 23:41
start9-docs-bot Bot added a commit that referenced this pull request Nov 19, 2026
Backports the following from live-docs:

- ad1e6f4 docs(start-sdk): registry keeps only signatures from registered signers (#4815)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants