Repository navigation
Qualify the Feature 043 QA edge source handoff - #1363
Conversation
Reviewer's GuideData structuresAdd the reviewed C-01 scope, source decision, independent review, and attestor preflight records that establish the evidence for the handoff.
ImplementationRegister the two exact QA edge handoff fields as path-scoped pins, requiring local reachability for coordinator references while preserving Tenant repository ownership.
ConfigurationRecord the new handoff as an active, depth-zero OpenSpec change in the sequencing corpus ledger.
DocumentationDocument the source-only admission proposal, its exact registration requirements, protected landing order, and separation from later definition activation.
TestsCover exact local and cross-repository QA edge pin classification, orphan handling, and the updated measured pin census.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. 🚀 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
There was a problem hiding this comment.
Hey - I've found 2 issues
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments
### Comment 1
<location path="scripts/doc_health/pin_class.py" line_range="482" />
<code_context>
+ key="protected_head", key_form="field",
+ generator="feature 043 QA edge C-01 scope and freeze record",
+ reproduction=MEASURED, locality=REPO_LOCAL, presence=CURRENT,
+ locality_from=("repository",),
+ note="The coordinator and the Tenant each declare a protected head. "
+ "The local pin owes reachability; the Tenant pin keeps its owner.",
</code_context>
<issue_to_address>
**Foreign label skips local reachability**
When a contributor changes the coordinator block’s `repository` value to a non-local spelling while its `protected_head` is unreachable, `site_locality` trusts the `repository` value in the same block as `protected_head`; labeling the coordinator block as foreign makes `verify` return `NOT_APPLICABLE`, so an unreachable coordinator pin is not reported and the caller sees the handoff pass this reachability check.
Bind the coordinator entry to the canonical local repository (or otherwise validate its expected owner) before allowing its locality declaration to bypass local reachability.
</issue_to_address>
### Comment 2
<location path="tests/sequenced_after/corpus-ledger.yaml" line_range="316" />
<code_context>
qualify-private-headscale-without-sonarcloud: {state: active, class: co-modifier, declares: [authorize-private-connectivity-internal-production, commission-headscale-production], depth: 7, prose: false, moved_by: "#1361", moved_on: "2026-11-22"}
</code_context>
<issue_to_address>
**Ledger bypasses its seeder**
When the new ledger row is added directly rather than emitted by the seeding command, the new hand-authored row bypasses the ledger’s sole permitted `--seed-ledger` rewrite path, so the machine-derived corpus record can be changed without being produced from the live corpus.
Generate the ledger change with `scripts/validate-sequenced-after.py --seed-ledger` and retain the resulting row.
</issue_to_address>Sourcery assessment
Approval pending. 2 findings to address first.
Blocking findings: scripts/doc_health/pin_class.py:482, tests/sequenced_after/corpus-ledger.yaml:316
| key="protected_head", key_form="field", | ||
| generator="feature 043 QA edge C-01 scope and freeze record", | ||
| reproduction=MEASURED, locality=REPO_LOCAL, presence=CURRENT, | ||
| locality_from=("repository",), |
There was a problem hiding this comment.
🟡 Medium · Foreign label skips local reachability
When a contributor changes the coordinator block’s repository value to a non-local spelling while its protected_head is unreachable, site_locality trusts the repository value in the same block as protected_head; labeling the coordinator block as foreign makes verify return NOT_APPLICABLE, so an unreachable coordinator pin is not reported and the caller sees the handoff pass this reachability check.
Bind the coordinator entry to the canonical local repository (or otherwise validate its expected owner) before allowing its locality declaration to bypass local reachability.
Prompt for AI agents
In `scripts/doc_health/pin_class.py` at line 482:
**Foreign label skips local reachability**
When a contributor changes the coordinator block’s `repository` value to a non-local spelling while its `protected_head` is unreachable, `site_locality` trusts the `repository` value in the same block as `protected_head`; labeling the coordinator block as foreign makes `verify` return `NOT_APPLICABLE`, so an unreachable coordinator pin is not reported and the caller sees the handoff pass this reachability check.
Bind the coordinator entry to the canonical local repository (or otherwise validate its expected owner) before allowing its locality declaration to bypass local reachability.| qualify-avatar-live-voice: {state: active, class: co-modifier, declares: absent, prose: false, moved_by: "#623", moved_on: "2026-09-03"} | ||
| qualify-private-connectivity-production: {state: active, class: sole, declares: [add-private-connectivity, implement-private-connectivity-binding, establish-headscale-install-ownership, establish-openxsoft-hosted-connectivity, register-private-connectivity-evidence-pins], depth: 3, prose: false, moved_by: "#1309", moved_on: "2026-11-12"} | ||
| qualify-private-connectivity-qa-edge-handoff: {state: active, class: sole, declares: [], depth: 0, prose: false, moved_by: "#1363", moved_on: "2026-11-23"} | ||
| qualify-private-headscale-without-sonarcloud: {state: active, class: co-modifier, declares: [authorize-private-connectivity-internal-production, commission-headscale-production], depth: 7, prose: false, moved_by: "#1361", moved_on: "2026-11-22"} |
There was a problem hiding this comment.
🟡 Medium · Ledger bypasses its seeder
When the new ledger row is added directly rather than emitted by the seeding command, the new hand-authored row bypasses the ledger’s sole permitted --seed-ledger rewrite path, so the machine-derived corpus record can be changed without being produced from the live corpus.
Generate the ledger change with scripts/validate-sequenced-after.py --seed-ledger and retain the resulting row.
Prompt for AI agents
In `tests/sequenced_after/corpus-ledger.yaml` at line 316:
**Ledger bypasses its seeder**
When the new ledger row is added directly rather than emitted by the seeding command, the new hand-authored row bypasses the ledger’s sole permitted `--seed-ledger` rewrite path, so the machine-derived corpus record can be changed without being produced from the live corpus.
Generate the ledger change with `scripts/validate-sequenced-after.py --seed-ledger` and retain the resulting row.From AGENTS.md L49:
- `tests/sequenced_after/corpus-ledger.yaml` — the machine-derived per-change sweep ledger, rewritten only by `scripts/validate-sequenced-after.py --seed-ledger`; the required `pytest-suite` fails when it disagrees with the OpenSpec corpus.


Summary
Record the independently reviewed C-01 source scope for the twelve exact Opensoft-Tenant QA edge paths. This draft contains the OpenSpec handoff and the four reviewed source-material records needed to establish protected reachability. The active Feature 043 definition and all rollout gates remain in force.
Validation
Landing order
After this material is reviewed and becomes reachable from protected main, regenerate the receipt against the landed objects. Qualify the receipt, land its exact pin declaration, and then register its protected reference with the Feature 043 verifier. Definition activation and Q1 require their own accepted evidence.
Summary by Sourcery
Establish the staged, independently qualified handoff for the Feature 043 QA edge source receipt without activating the successor definition or changing rollout gates.
New Features:
Enhancements:
Tests:
Chores: