Repository navigation
The broker topic's fragment follows its contract out of staging - #489
Conversation
…, so the broker topic promotes in full Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Hi @brettheap! 👋
Your private repo does not have access to Sourcery.
Please upgrade to continue using Sourcery ✨
There was a problem hiding this comment.
Pull request overview
This PR completes a full promotion of the worker-enrollment-broker staged topic into the add-worker-enrollment-broker change’s supporting docs, removing the corresponding staging index entry and re-pointing references to the promoted fragment.
Changes:
- Adds the promoted fragment under
openspec/changes/add-worker-enrollment-broker/supporting-docs/along with a transition manifest and source snapshot. - Updates staging documentation to remove the promoted topic’s row/detail section and redirect the remaining cross-reference to the new supporting-docs location.
- Updates
ideation/README.mdto list the promoted proposal under “Active proposals promoted from staging” and updatesworker-host-appto cite the promoted fragment location.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| openspec/changes/add-worker-enrollment-broker/supporting-docs/worker-enrollment-broker.md | Adds the promoted staging fragment as change supporting documentation. |
| openspec/changes/add-worker-enrollment-broker/supporting-docs/source-snapshots/worker-enrollment-broker.md | Captures a snapshot of the original staged source for provenance. |
| openspec/changes/add-worker-enrollment-broker/supporting-docs/manifest.yaml | Records the scripted transition metadata (paths, shas, origin, timestamp). |
| ideation/staging/worker-host-app/worker-host-app.md | Re-points the resolved decision citation to the promoted fragment path while retaining the origin id. |
| ideation/staging/INDEX.md | Removes the fully-promoted topic’s row/detail section and redirects the remaining in-place reference. |
| ideation/README.md | Adds the promoted proposal to the “Active proposals promoted from staging” list with preserved context. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| 1. Broker home: repo + hosting target (container app? AKS alongside the | ||
| QA cluster? owner per per-domain conventions) + its own credential | ||
| custody and rotation story. |
…-enrollment-broker-docs
… so the census reads 67 Co-Authored-By: Claude Fable 5 <[email protected]>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Suppressed comments (1)
openspec/changes/add-worker-enrollment-broker/supporting-docs/worker-enrollment-broker.md:90
- Typo: “owner per per-domain conventions” has a duplicated “per”.
1. Broker home: repo + hosting target (container app? AKS alongside the
QA cluster? owner per per-domain conventions) + its own credential
| # topic was promoted in full. Only the SITE count moves: the member count is | ||
| # unchanged because the class already had 24 other manifests in it, and | ||
| # `lost`/`uncovered`/`vanished`/`arrived` are untouched. Note this test cannot |
| - [add-worker-enrollment-broker](../openspec/changes/add-worker-enrollment-broker/proposal.md) | ||
| — raised, RATIFIED and phase-1 REALIZED 2026-07-26 (the contract family | ||
| registered at `contract-v1.29`) as the FULL promotion of the | ||
| `worker-enrollment-broker` staged topic, whose row and detail section leave | ||
| [staging/INDEX.md](staging/INDEX.md) with this pointer. It ADDS the neutral |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 6 out of 7 changed files in this pull request and generated no new comments.
Suppressed comments (1)
tests/doc-health/test_sentinel_vocabulary.py:919
- Hard-coding the total pin-site count (
len(report.results) == 67) will make this test fail on every future full promotion (each transition adds anothersupporting-docs/manifest.yamlwith a pinnedsource_revision). This turns the test into routine churn rather than a regression signal; consider asserting a lower bound (or dropping the exact-count assertion) while keeping the “no site is classified twice” andlost/uncovered/vanished/arrivedinvariants.
# 67, not the 66 this census landed with. A `proposal-support.py transition`
# writes a `supporting-docs/manifest.yaml` carrying a `source_revision`, and
# that key is a declared `proposal-support-manifest` pin site — so EVERY full
# promotion moves this number by one, by design. The 67th is
# `add-worker-enrollment-broker`'s, written when the `worker-enrollment-broker`
# topic was promoted in full. Only the SITE count moves: the member count is
# unchanged because the class already had 24 other manifests in it, and
# `lost`/`uncovered`/`vanished`/`arrived` are untouched. Note this test cannot
# see an uncommitted manifest — `pc.verify` reads the committed tree — so a
# promotion's own pre-commit run passes and CI is where the count lands.
assert len(report.results) == 67
What moved
The FULL promotion of the
worker-enrollment-brokerstaging topic into itsactive change's supporting docs — pure bookkeeping debt. One file moved, via
scripts/proposal-support.py transition(never by hand), which rewrote theheader to
Status: draft+Proposed by: add-worker-enrollment-brokerandre-pointed its proposal link from
../../../openspec/...to../proposal.md:ideation/staging/worker-enrollment-broker/worker-enrollment-broker.md→
openspec/changes/add-worker-enrollment-broker/supporting-docs/worker-enrollment-broker.mdThe topic folder held that one file and nothing else, so
remaining_pathsinthe generated manifest is
[]and the folder is gone. Per the maintenance ruleat the top of
staging/INDEX.md, a full promotion DELETES the row and thedetail section rather than editing them: both are deleted here (row plus the
67-line detail section), and the pointer moves to
ideation/README.md's"Active proposals promoted from staging" list, carrying forward the substance
the detail section held — the D1–D10 adoptions, the deliberate heartbeat
exclusion, and where the remaining realization work actually sits.
Why now
The topic's contract phase was realized and released at
contract-v1.29(seven schemas, 11 valid / 27 intended-invalid fixtures, the canonical
validator) a month ago, and the fragment never followed it out of staging. The
standing
location-conformanceerror on this path WAS the unexecuted move —the checker had been reporting the debt correctly the whole time. The program
itself is live elsewhere and untouched by this: the broker service is merged
(its PRs #1 2026-07-27, #2 2026-07-28), Omnigent-Install PR #40 is the live
gate, and OpsxFactory tasks 8.1/8.2 are Brett's.
Two back-references that would have dangled are re-pointed rather than left:
staging/INDEX.md's "see the topic below" inside theworker-host-appdetail,and
worker-host-app.md's resolved-decision citation — which cited the Stagingid, not a path, so it keeps the id as the origin id and gains the promoted
location beside it.
Doc-health, before and after
Single-repo run,
--as-of 2026-08-28. Baseline re-measured atorigin/main3cebf83 after main moved seven commits under this branch and was merged in,
so both sides read the same tree shape.
main3cebf83)location-conformancestaged-candidate-agingstaged-topic-templateExactly three findings resolved and zero new (line-by-line diff of the
ranked-plan rows, not just the totals):
location-conformance— the target: "staged material already cites proposaladd-worker-enrollment-broker".
staged-candidate-aging— "staged topic untouched 33 days"; one fewer topic.staged-topic-template— the promoted fragment's outline-template warningleaves with the fragment. Same single cause as the other two: the file is no
longer under
ideation/staging/.No other family moved.
proposal-originstays at 0 by design and was checkedbefore the move, not assumed: its git-tree probe resolves
origin.pathat themanifest's recorded
source_revision(where the folder still exists), and itsstaging-header linkage check runs only while the folder is present, so a
completed promotion skips it. The packet's declared origin in
.openspec.yamlmatches the transition source exactly, so the tool left the origin block alone.
Checks
pytest tests/doc-health tests/proposal-support tests/ideation_routing tests/document_catalog -q— 1455 passed, 2 subtests passed.openspec validate --all --strict— 81 passed, 0 failed.proposal-support.py verify add-worker-enrollment-broker— ok.validate-ideation-cross-reference.py— clean on the real index; its only 3 errors are pre-existing fixture-schema errors onmain, untouched here.The census the first CI run caught
This branch's first CI run failed one test —
tests/doc-health/test_sentinel_vocabulary.py,assert 67 == 66, with 7624passing around it. Not a defect and not a flake: a
transitionwrites asupporting-docs/manifest.yamlwhosesource_revisionis a declaredproposal-support-manifestpin site, so every full promotion moves thatcount by one, by design. The 67th site is this promotion's own manifest,
verdict
pass, ancestor oforigin/main. Only the site count moves — themember count stays 23, and
lost/uncovered/vanished/arrivedareuntouched.
Worth recording because of why it reached CI rather than the local run:
pc.verifyreads the committed tree, so a promotion's pre-commit test runcannot see its own new manifest and passes green. The bump is committed here
with that trap written into the comment, so the next promotion recognises it on
sight instead of re-diagnosing it.
The one side effect
Editing
worker-host-app.mdto fix its back-reference resets that topic'sown aging clock. It was not in the aging warnings before this (it sits under
the threshold), so no finding moves either way — but the clock restarts, and
that topic was deliberately DEFERRED WITH GATE NAMED on 2026-08-28 by
settle-aging-staging-topics, whose ruling is explicit that a deferral is aschedule, not a standing, and that the topic keeps ageing. Flagging it so the
reset is a recorded consequence rather than a surprise later.
Not done, deliberately
ideation/cross-reference.yamlstill lists the old staged path as a clustermember, and is not touched here. It is a generated source of truth whose
regeneration is the CI readiness scorer (
scripts/doc_health/ideation_readiness.py,a two-phase LLM worker that
doc-health-reusable.ymlcommits), which re-derivesmembership from the live corpus and will drop the path on its next run.
render-ideation-cross-reference.pyonly projects YAML → Markdown, and itreproduces the committed
.mdbyte-identically from the unchanged YAML, sothere is nothing for it to regenerate; re-running the superseded
bootstrap-ideation-cross-reference.pywould have destroyed the 32-entrypossibles_registerand the scored tiers. Hand-editing is refused by the file'sown header. Nothing gates on the stale member — the validator does not flag it.
tasks.mdhas no box for this move: 1.12 is the proposal-time close-out("staging INDEX + topic file readiness updated to Proposed as…"), already
ticked and accurate for what it recorded. Nothing was ticked or added to a
ratified packet.
One cross-packet note for the reviewer
openspec/changes/clean-doc-health-floor/proposal.mdnames this exact row inits proof — "
…/worker-enrollment-broker.mdcitesadd-worker-enrollment-broker,also ACTIVE, and is likewise unmoved" — as the live-corpus half of its "the
exemption is not blindness" argument. That packet is merged but not yet
archived, and nothing here edits it: the sentence is a true record of that
packet's own diff, and rewriting another session's proof text is not this lane's
business. Worth knowing only because that change's archive gate is a single-repo
run "whose severity counts move by exactly the amount § What was measured
predicts" — after this lands,
location-conformancereads 2, not the 3 itmeasured against, so its close-out re-measures rather than matches. The row it
left firing fired correctly; this PR pays the debt underneath it.
🤖 Generated with Claude Code