You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
add-worker-input-budget: tick Group 4 with landed evidence (4.1-4.3) - #1198
Group 4 evidence for add-worker-input-budget (Groups 1-3 already built and
ticked; Group 0 ratified except 0.4). Ticks 4.1-4.3 in tasks.md with
measured evidence only; touches nothing else. This PR is under openspec/changes/ (Rule 6 landing-window applies at merge time).
What / why
Group 4 was open pending confirmation that the two built pull requests
actually landed, that the aggregation's openxFactory pin actually carries
the packer into the nightly, and that a real nightly ran green under it.
All three are independently measured here, not assumed from the proposal's
own narrative.
How verified
4.1opensoft/openxFactory#1137 (merged 9da52e31, 2026-09-22T03:45:21Z)
and opensoft/xFactory#481 (merged b2479b6e, 2026-09-22T03:45:36Z) — 15
seconds apart, both under Brett Heap's word "land the input-size guard
when green" (xFactory#479), confirmed from each PR's own
FREEZE/LANDING/LANDED comment trail.
4.2 The gitlink first carried the packer via xFactory#483
(2026-09-22T03:58:45Z, -> 9da52e31 exactly). Measured git merge-base --is-ancestor 9da52e31 <gitlink> true at every nightly's
gitlink since (09-24 through today), and at the two pin-syncs that landed today, xFactory#543 and #544 (current gitlink e369cb25, confirmed
live via the GitHub contents API at 2026-09-28T23:05:35Z).
4.3 Downloaded opensoft/xFactory run 35947804907 (2026-09-24):
analysis child 35948587830 and cataloger child 35948591376, the two
children this task needs, both success — the first night BOTH
succeeded end to end with real model output under the packer (the
budget record itself is older: prepare already wrote a full one the
night before, 09-23 run 35810840997, per proposal.md's own OQ-1
citation, independent of that night's model-call outcome). Not
called "fully green": the same run's finalize job separately recorded
a snapshot-lane
failure (CarveReachUnavailable) and readiness/derive-possibles
dashboard-rendering skips, per .github/workflows/doc-health-reusable.yml: 1628-1635, for the then-uninitialized openDox/openXdox carved legs
(unrelated, since fixed; the readiness-worker/derive-possibles-worker
children themselves succeeded that night, runs 35949701420/ 35950836940). semantic-sweep-bundle/ meta.json: input_budget_bytes=1900000, input_bytes=1899236, docs_included=96, docs_deferred=227, truncated=true. No skip-reason.json in either bundle. The analysis child's own job log: input-size guard: analysis-input.txt is 1899236 bytes against a 1900000-byte budget from meta.json — passed, not refused. The committed health/reports/2026-09-24.md (recovered from commit 28f8d918f6 on the
rolling report branch) states under ## Semantic Sweep: "- input:
1899236 of 1900000 budgeted bytes, 96 docs sent, 227 deferred" — byte
for byte the bundle's own record.
Residual, flagged not hidden: nights 09-25 through 09-28 have both
children failing again — measurably on OQ-3's HTTP 403 org-entitlement
refusal recurring ("Your organization has disabled Claude subscription access for Claude Code"), not on the input-size guard, which still
passes every one of those nights before the model call itself errors.
Recorded in tasks.md 4.3 rather than left implicit.
Validation
OPENSPEC_TELEMETRY=0 openspec validate add-worker-input-budget --strict
→ Change 'add-worker-input-budget' is valid.
python3 scripts/validate-openspec-cli-pin.py --all → Totals: 110 passed, 1 failed (111 items); the one failure is the pre-existing,
cited/ratified add-chain-attestation disposition in contracts/openspec-cli-pin.yaml (Brett Heap, 2026-09-05, "take exit
2") — not a blocker introduced here.
python3 scripts/doc-health.py --single-repo . --family status-validity
→ Findings: 0 critical, 0 error, 0 warning, 0 info. New regressions vs previous report: 0. (this repo's own CI does not itself run doc-health
as a per-PR gate — it runs from the aggregation side — so this is a
good-faith local self-check, not a wired gate re-run.)
Not done here (out of scope for this PR)
0.4 (ratify or amend the two spec deltas) is Brett Heap's word, not
ticked by this PR. Reported separately to the coordinator as a
RULING-shaped question.
Mark Group 4 complete with measured landing, pin-sync, and nightly evidence while recording unrelated residual failures and leaving Group 0.4 ratification unresolved.
Enhancements:
Record measured evidence that both worker input-budget pull requests landed and that the aggregation has continuously carried the budgeted packer.
Confirm the analysis and cataloger workers succeeded under the input budget on the 2026-09-24 nightly, including matching bundle and report measurements.
Document the remaining nightly failures as unrelated organization-level Claude subscription entitlement errors rather than input-budget guard failures.
Explicitly flag the unresolved sequencing question between Group 4 completion and Group 0.4 ratification.
Tests:
Validate the OpenSpec change, CLI pin state, and repository documentation health without introducing new regressions.
Measured, not assumed. 4.1: both PRs (openxFactory#1137, xFactory#481)
merged 2026-09-22 fifteen seconds apart, on Brett Heap's word "land the
input-size guard when green" (xFactory#479). 4.2: the aggregation's
openxFactory gitlink has carried the packer continuously since
xFactory#483 (2026-09-22T03:58:45Z); every pin-sync since, including
today's xFactory#543 and #544, is a measured descendant. 4.3: the first
fully green nightly (xFactory run 35947804907, 2026-09-24) is confirmed
directly from the downloaded semantic-sweep-bundle and
document-catalog-bundle meta.json, the child job logs' input-size-guard
line, and the committed health/reports/2026-09-24.md sweep section,
quoted byte for byte.
Also records a residual, non-blocking observation: nights 09-25 through
09-28 have both children failing again, but on OQ-3's HTTP 403
org-entitlement refusal recurring, not on the input-size guard (which
measurably passed each of those nights before the model call failed).
0.4 (ratify-or-amend the two spec deltas) is untouched -- that is
Brett Heap's word to give, not this packet's to tick.
Lane: openxfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
This PR updates only the change task checklist to tick Group 4 items 4.1–4.3 with independently measured landing, pin ancestry, and nightly artifact evidence, while explicitly preserving the unresolved 0.4 ratification and distinguishing unrelated lane failures and later model-service entitlement errors from input-budget behavior.
Sequence diagram for budgeted nightly verification
sequenceDiagram
participant OpenXFactory
participant XFactory
participant Prepare
participant Workers
participant Report
OpenXFactory->>XFactory: merge pull requests
XFactory->>XFactory: sync openXFactory gitlink
XFactory->>Prepare: run python3 openxFactory/scripts/doc-health.py
Prepare->>Prepare: write semantic-sweep-bundle/meta.json
Prepare->>Workers: dispatch analysis and cataloger
Workers->>Workers: input-size guard
alt within budget
Workers->>Workers: model call
Workers-->>Report: findings and catalog output
Report->>Report: record input line
else over budget
Workers-->>Report: refuse input
end
Loading
Flow diagram for nightly input-budget evidence
flowchart LR
A["Packer records 1,899,236 bytes\nagainst 1,900,000-byte budget"] --> B{"Input-size guard passes?"}
B -->|Yes| C["Analysis and cataloger\nproduce real model output"]
B -->|No| D["Worker refuses input"]
C --> E["Report records 96 docs sent\nand 227 deferred"]
F["Later HTTP 403 entitlement errors"] -.-> C
Loading
File-Level Changes
Change
Details
Files
Records measured evidence that both implementation pull requests landed under the stated operational approval.
Ticks 4.1 and records both merge commits, timestamps, and FREEZE/LANDING/LANDED evidence.
Explicitly identifies the still-open 0.4 ratification and raises the sequencing tension as a ruling rather than silently resolving it.
openspec/changes/add-worker-input-budget/tasks.md
Documents that the aggregation continuously runs with an openxFactory pin containing the budgeted packer.
Ticks 4.2 and identifies the first qualifying pin-sync and descendant checks across subsequent nightly pins.
Records the current live gitlink and distinguishes routine later pin-syncs from the initial packer admission.
openspec/changes/add-worker-input-budget/tasks.md
Confirms the input-budget behavior on the first nightly where the required analysis and cataloger children both succeeded.
Ticks 4.3 with run and child success evidence, bundle budget metadata, guard-pass logs, and matching report output.
Clarifies that the nightly was not wholly green because unrelated snapshot/dashboard lanes failed or skipped.
Records later HTTP 403 model-service failures as residual entitlement issues, while noting the input-size guard continued to pass.
openspec/changes/add-worker-input-budget/tasks.md
Tips and commands
Interacting with Sourcery
Trigger a new review: Comment @sourcery-ai review on the pull request.
Continue discussions: Reply directly to Sourcery's review comments.
Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with @sourcery-ai issue to create an issue from it.
Generate a pull request title: Write @sourcery-ai anywhere in the pull
request title to generate a title at any time. You can also comment @sourcery-ai title on the pull request to (re-)generate the title at any time.
Generate a pull request summary: Write @sourcery-ai summary anywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment @sourcery-ai summary on the pull request to
(re-)generate the summary at any time.
Generate reviewer's guide: Comment @sourcery-ai guide on the pull
request to (re-)generate the reviewer's guide at any time.
Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore.
Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment @sourcery-ai review to trigger a new review!
Codex and Copilot both flagged the same real point on the first head:
Group 4 is headed "after ratification" and Group 0 "gates landing," yet
4.1 measurably landed on 2026-09-22 while 0.4 (ratifying the two spec
deltas) is still open. That already happened before this PR; ticking
4.1-4.3 without saying so would have looked like a properly gated
sequence rather than a fix landed under a separate operational word
during an active nightly outage. Adds a note naming the tension and the
actual authority the landing ran under, and puts the sequencing question
itself to Brett Heap as a RULING rather than deciding it here.
Lane: openxfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
Copilot's re-review at the merged head was right: run 35947804907 was
not "fully green" -- the same run's finalize job recorded a separate
snapshot-lane failure (CarveReachUnavailable) and readiness/derive
dashboard-rendering skips ("the pinned openxdox_spec leg is not
materialized"), per .github/workflows/doc-health-reusable.yml:1628-1635,
for the then-uninitialized openDox/openXdox carved legs (unrelated,
since fixed). Reworded 4.3 to claim exactly what this task needs and
what was measured: the analysis and cataloger children succeeded and
produced the budget record, full stop -- naming the other lane's
failure/skips rather than implying the whole night was clean. Verified
the readiness-worker and derive-possibles-worker children (a different
pair from the skipped dashboard-rendering lanes) themselves succeeded
that night (runs 35949701420, 35950836940), so that distinction is
named too rather than left to be misread the other way.
Lane: openxfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
The PR description still calls run 35947804907 “the first fully green nightly,” but this evidence explicitly says the same run was not fully green because its snapshot lane failed and other lanes skipped. Please narrow the PR description to the analysis/cataloger children so the merge record does not claim stronger validation than the task evidence supports.
…xisted'
Codex caught a new imprecision my own previous reword introduced: calling
2026-09-24 "the first night either produced the budget record" conflicts
with proposal.md's own OQ-1 citation, which shows 09-23's semantic-sweep-
bundle (run 35810840997) already carried a full budget record (1,899,789
bytes, 92 sent, 226 deferred) -- prepare packs and records the budget
before either child is dispatched, independent of that night's model-call
outcome. 09-24 remains correct as the first night BOTH the analysis and
cataloger children succeeded end to end with real model output; that is
now stated as exactly that, with the 09-23 record named separately so the
two claims can't be conflated again.
Lane: openxfactory-1
Co-Authored-By: Claude Sonnet 5 <[email protected]>
LANDING — lane openxfactory-1, session eb835de4-d46e-4bb7-86f3-82780be6f51e@Eagle, 2026-09-29T12:30:18Z, PR #1198 into opensoft/openxFactory main (Rule 6 window; rule6 scan CLEAR; gate PASS at head 2c11ee0 on main f56c87c). On Brett Heap's word verbatim: "land #511, #1198, #1199 and #51 when green".
The reason will be displayed to describe this comment to others. Learn more.
Hey - I've found 1 issue
Prompt for AI Agents
Please address the comments from this code review:
## Individual Comments### Comment 1
<locationpath="openspec/changes/add-worker-input-budget/tasks.md"line_range="135" />
<code_context>
+- [x] 4.3 Confirm on the first green nightly: `meta.json` carries
</code_context>
<issue_to_address>
**issue:** 4.3 is checked off even though its stated acceptance condition is confirmation on the first green nightly, while the documented 2026-09-24 run had a separate finalize snapshot-lane failure and dashboard-rendering skips. The checklist therefore reports the task as satisfying a green-nightly criterion that the evidence explicitly says was not met.
**Triggers:** When reviewers or automation interpret the checked task using its original “first green nightly” wording.
**Suggested fix:** Change the task criterion to explicitly require only successful analysis/cataloger children, or leave 4.3 unchecked until a genuinely green nightly satisfies the existing criterion.
```suggestion- [x] 4.3 Confirm when both the analysis and cataloger children succeed: `meta.json` carries```
</issue_to_address>
The reason will be displayed to describe this comment to others. Learn more.
issue: 4.3 is checked off even though its stated acceptance condition is confirmation on the first green nightly, while the documented 2026-09-24 run had a separate finalize snapshot-lane failure and dashboard-rendering skips. The checklist therefore reports the task as satisfying a green-nightly criterion that the evidence explicitly says was not met.
Triggers: When reviewers or automation interpret the checked task using its original “first green nightly” wording.
Suggested fix: Change the task criterion to explicitly require only successful analysis/cataloger children, or leave 4.3 unchecked until a genuinely green nightly satisfies the existing criterion.
Suggested change
-[x] 4.3 Confirm on the first green nightly: `meta.json` carries
-[x] 4.3 Confirm when both the analysis and cataloger children succeed: `meta.json` carries
Brings the branch current with main after #1198 (51887c6), #1199
(7daaf0f, the catalog staging directory, the deleted _is_writer_temp,
the fsync-then-rename durability work), #1202-#1206 and #1181.
The merge applied without conflicts. #1199 did not reshape any function
this branch touches: _own_mode, _refuse_links_inside and the os.walk
error path of _refuse_foreign_descendants are as this branch left them,
and main's rewrite of _refuse_foreign_descendants' docstring (no temp
admitted, STAGING_DIR) and its body (the _is_writer_temp clause gone)
sits beside this branch's shared _refuse_unreadable_walk onerror
unchanged. The diff against main is still exactly this branch's two
files, at the same size as before the merge.
Lane: openxfactory-1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lane: openxfactory-1
Group 4 evidence for
add-worker-input-budget(Groups 1-3 already built andticked; Group 0 ratified except 0.4). Ticks 4.1-4.3 in
tasks.mdwithmeasured evidence only; touches nothing else. This PR is under
openspec/changes/(Rule 6 landing-window applies at merge time).What / why
Group 4 was open pending confirmation that the two built pull requests
actually landed, that the aggregation's
openxFactorypin actually carriesthe packer into the nightly, and that a real nightly ran green under it.
All three are independently measured here, not assumed from the proposal's
own narrative.
How verified
opensoft/openxFactory#1137(merged9da52e31, 2026-09-22T03:45:21Z)and
opensoft/xFactory#481(mergedb2479b6e, 2026-09-22T03:45:36Z) — 15seconds apart, both under Brett Heap's word "land the input-size guard
when green" (
xFactory#479), confirmed from each PR's ownFREEZE/LANDING/LANDED comment trail.
xFactory#483(2026-09-22T03:58:45Z, ->
9da52e31exactly). Measuredgit merge-base --is-ancestor 9da52e31 <gitlink>true at every nightly'sgitlink since (09-24 through today), and at the two pin-syncs that landed
today,
xFactory#543and#544(current gitlinke369cb25, confirmedlive via the GitHub contents API at 2026-09-28T23:05:35Z).
opensoft/xFactoryrun35947804907(2026-09-24):analysis child
35948587830and cataloger child35948591376, the twochildren this task needs, both
success— the first night BOTHsucceeded end to end with real model output under the packer (the
budget record itself is older:
preparealready wrote a full one thenight before, 09-23 run
35810840997, perproposal.md's own OQ-1citation, independent of that night's model-call outcome). Not
called "fully green": the same run's
finalizejob separately recordeda snapshot-lane
failure (
CarveReachUnavailable) and readiness/derive-possiblesdashboard-rendering skips, per
.github/workflows/doc-health-reusable.yml: 1628-1635, for the then-uninitialized openDox/openXdox carved legs(unrelated, since fixed; the readiness-worker/derive-possibles-worker
children themselves succeeded that night, runs
35949701420/35950836940).semantic-sweep-bundle/ meta.json:input_budget_bytes=1900000, input_bytes=1899236, docs_included=96, docs_deferred=227, truncated=true. Noskip-reason.jsonin either bundle. The analysis child's own job log:input-size guard: analysis-input.txt is 1899236 bytes against a 1900000-byte budget from meta.json— passed, not refused. The committedhealth/reports/2026-09-24.md(recovered from commit28f8d918f6on therolling report branch) states under
## Semantic Sweep: "- input:1899236 of 1900000 budgeted bytes, 96 docs sent, 227 deferred" — byte
for byte the bundle's own record.
children failing again — measurably on OQ-3's HTTP 403 org-entitlement
refusal recurring (
"Your organization has disabled Claude subscription access for Claude Code"), not on the input-size guard, which stillpasses every one of those nights before the model call itself errors.
Recorded in
tasks.md4.3 rather than left implicit.Validation
OPENSPEC_TELEMETRY=0 openspec validate add-worker-input-budget --strict→
Change 'add-worker-input-budget' is valid.python3 scripts/validate-openspec-cli-pin.py --all→Totals: 110 passed, 1 failed (111 items); the one failure is the pre-existing,cited/ratified
add-chain-attestationdisposition incontracts/openspec-cli-pin.yaml(Brett Heap, 2026-09-05, "take exit2") — not a blocker introduced here.
python3 scripts/doc-health.py --single-repo . --family status-validity→
Findings: 0 critical, 0 error, 0 warning, 0 info. New regressions vs previous report: 0.(this repo's own CI does not itself run doc-healthas a per-PR gate — it runs from the aggregation side — so this is a
good-faith local self-check, not a wired gate re-run.)
Not done here (out of scope for this PR)
ticked by this PR. Reported separately to the coordinator as a
RULING-shaped question.
🤖 Generated with Claude Code
Summary by Sourcery
Mark Group 4 complete with measured landing, pin-sync, and nightly evidence while recording unrelated residual failures and leaving Group 0.4 ratification unresolved.
Enhancements:
Tests: