Repository navigation
fix: honor absent witnesses and unresolved triage in sizing - #482
Merged
Merged
Conversation
This was referenced Oct 6, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Recognize
Witness: none(including a bare sentinel) as an absent witness, keep unresolved triage out of unattended work, and stop treating ordinary “raises” prose as an error-contract change. InvalidUnattendeddeclarations now explain their fallback. Explicit consequence and unattended overrides retain precedence.Closes #480. Implements the approved plan; tier glance, witnessed auto-merge on green.
API Changes
No scientific library API changes. Internal declared-header metadata adds
witness_none_reasonandunknown_unattended; sizing explanations expose those values. No downstream modelling scripts are affected.Test Plan
Whole-backlog witness
Whole-draft regrade
Compared the same 229 prompt files from an immutable snapshot; paths and SHA-256 content hashes match. The initial live capture held 231 markdown files; one file was added concurrently before the snapshot. The snapshot holds 232 markdown files, including three READMEs excluded from the 229-prompt comparison. There are no current triage task prompts; triage behavior is covered by unit tests.
Before derived consequence: {'glance': 115, 'judge': 81, 'notify': 33}
After derived consequence: {'glance': 126, 'judge': 71, 'notify': 32}
af.Fitnessfor an `; witnessed change to a consumed repothinismax(1, int(max(times) / 2))in both `emcee/searc; witnessed change to a consumed repodataset.apply_sparse_operator(...)and relo; witnessed change to a consumed repopytest tests/test_latent_run_level.py -m slowpasses 10 co; witnessed change to a consumed repodataset/point_source/multiple_sourceswritten under `PYAUT; witnessed change to a consumed repoadd_assertionbetween two priors, fitted w; witnessed change to a consumed reposcripts/cluster/features/extended_source/runs to completi; witnessed change to a consumed repomodel_figure: trueinoutput.yaml); the witness follows the human's pick.Cheaper → judge: 5; every case has an explicit none witness or triage work type. No unrelated cheaper → judge moves.
Effective consequence changes: 0.
Historical 14-prompt review
Current draft prompts use the immutable snapshot; completed/folded prompts are assessed from their saved originals. No additional keywords were removed.