Repository navigation
Drop the idle #1159 row from KNOWN_STRICT_FINDINGS - #1188
Conversation
#1184 repaired the corpus and #1159 closed, so the table's one row tracked a finding that no longer occurs. It was idle rather than harmful, but a recurrence would have been cited against a closed issue. Brett Heap's word: "remove the idle #1159 row, skip the gate for now". The table is now empty (annotated with its row shape, since no example row is left). Nothing else in the refresh lane changes: the citation machinery stays, and its one call site consults it only when the strict precheck rejects. The three citation tests are re-pointed, test-first: - The rejection test asserts the current state: the stand-in's four findings, three of them #1159's cl-plane-1 shape, draw no citation. Its citation half moves to a sibling test that installs a stand-in row ("stand-in/tracker#1") and asserts the same counted clause. - The detail-cap test and the citation unit test run against that stand-in row, so the machinery stays covered while no row is real. - A new test states the table: empty, and #1159's finding draws no citation. Failing-first against the unchanged module (the row still present): FAILED test_a_strict_rejection_is_a_verdict_carrying_the_findings - arning(s)); the child's publication gate would refuse it ... + arning(s)), a known defect, tracked as #1159 (3 of 4 finding(s); 1 tracked by no known issue); the child's ... FAILED test_no_strict_finding_is_tracked_today Left contains one more item: ('snapshot-dangling-cluster-ref', "'cl-plane-1'", '#1159') 2 failed, 7 passed With the row removed: 9 passed. No regression gate is added. Refs #1159 Lane: openxfactory-5 (openXfactory-5) Co-Authored-By: Claude Fable 5.1 <[email protected]> Co-Authored-By: Claude Opus 5.5 <[email protected]>
Reviewer's GuideDrops the stale #1159 entry from KNOWN_STRICT_FINDINGS after the corpus repair, and updates source-seal tests to verify both the empty production table and the unchanged citation machinery through an isolated stand-in row. Flow diagram for strict finding citation behaviorflowchart TD
Precheck[Strict precheck] --> Findings[Validator findings]
Findings --> Lookup{Finding in KNOWN_STRICT_FINDINGS?}
Lookup -->|No| Verdict[Return findings without citation]
Lookup -->|Yes| Citation[known_finding_citation]
Citation --> Verdict
Table[KNOWN_STRICT_FINDINGS = empty tuple] -.-> Lookup
StandIn[Tests install stand-in row] -.-> Lookup
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
All reviewed changes are covered by passing tests with no unresolved issues.
Review effort: Lite
Findings: None
What changed in this PR
Removes the obsolete #1159 strict-finding entry while preserving citation coverage with stand-in test data.
Changes:
- Clears and annotates
KNOWN_STRICT_FINDINGS. - Updates source-seal tests for empty production tracking and citation behavior.
| File | Description |
|---|---|
tests/ideation-dashboard/test_dashboard_source_seal.py |
Updates and expands strict-finding citation tests. |
scripts/ideation_dashboard/dashboard_refresh_lane.py |
Removes the retired #1159 tracking row. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
There was a problem hiding this comment.
Sorry @brettheap, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 1 day and 2 hours by commenting @sourcery-ai review. Upgrade to get a review now.
|
Lane: openxfactory-5 (openXfactory-5) LANDING — lane openXfactory-5, session b254fdd5-0bdf-44e0-bb45-5a780234009f@Eagle, 2026-09-27T19:07:08Z, PR #1188 into opensoft/openxFactory main |
Brings in #1188 (2737471); no overlap with the catalog scan. Lane: openxfactory-1 Co-Authored-By: Claude Opus 5.5 <[email protected]>



Lane: openxfactory-5 (openXfactory-5)
The refresh lane's
KNOWN_STRICT_FINDINGSheld one row, for #1159's three danglingcl-plane-1refs. #1184 repaired the corpus and #1159 closed, so the row now tracks a finding that no longer occurs. Had the finding recurred, the nightly would have cited a closed issue.This PR drops the row, on Brett Heap's word "remove the idle #1159 row, skip the gate for now". No regression gate is added.
What this changes
scripts/ideation_dashboard/dashboard_refresh_lane.py: only the constant.KNOWN_STRICT_FINDINGSbecomes an empty tuple, annotatedtuple[tuple[str, str, str], ...]so the row shape stays documented now that no example row is left. The citation machinery is untouched:known_finding_citationand its one call site, which consults the table only when the strict precheck rejects.tests/ideation-dashboard/test_dashboard_source_seal.py: the three citation tests are re-pointed, and one test is new.test_a_strict_rejection_is_a_verdict_carrying_the_findingsnow asserts the current state. The stand-in validator's four findings draw no citation, including the three in Corpus snapshot: 3 dangling cluster refs to cl-plane-1 #1159'scl-plane-1shape.test_a_strict_rejection_cites_the_issue_of_every_finding_it_tracks. That test installs a stand-in row (stand-in/tracker#1) and asserts the same counted clause.test_a_tracked_finding_past_the_detail_cap_is_still_citedandtest_a_citation_is_made_only_for_the_finding_it_tracksnow run against that stand-in row, so the machinery stays covered while no row is real.test_no_strict_finding_is_tracked_todayasserts that the table is empty and that Corpus snapshot: 3 dangling cluster refs to cl-plane-1 #1159's finding draws no citation.The lane-module hunk covers old lines 2512–2515 and nothing else. Seat t's #1185 edits the same module in other places; this branch merges cleanly with #1185's head
725f92e0and withmain.Evidence
Test-first. Against the unchanged module, with the row present:
The five stand-in-row tests already pass there, which shows the machinery is unchanged. With the row removed: 9 passed.
known_finding_citationcalls, reports:"sealed": true"precheck": {"documents": 400, "strict": true, "outcome": "validated", "returncode": 0}"known_strict_findings": []and"known_finding_citation_calls": 0test_dashboard_source_seal.py,test_dashboard_refresh_lane.py): 354 passed.tests/ideation-dashboard: 1385 passed in the full clone (the earlier 1383 plus the two new tests). A scratch worktree gives 1372 passed and 13 skipped; the skips are specific to that checkout kind.pytest-suitesuccess ("8727 passed, 6 skipped, 338 deselected, 9 warnings, 412 subtests passed";failures=0 errors=0), and all 14 check-runs completed with success. Copilot review5331415148: "Findings: None", 0 threads.python3 scripts/doc-health.py --single-repo .): rc 0 at basea9e7db75and at head, both reporting "Findings: 31 critical, 26 error, 49 warning, 21 info. New regressions vs previous report: 0". The critical/error/warning set is identical, and none of it is in a touched file.python3 scripts/validate-openspec-cli-pin.py --all): rc 0 at both, with identical output apart from a node warning line.Held for
Refs #1159
🤖 Generated with Claude Code