Conversation
…alidate errors Scaffolds scripts/vmodel/ — a four-prompt V-model gap-hunt pipeline modeled on scripts/mythos/ but targeting traceability completeness (rivet validate gaps) rather than code bugs. Rank, discover, validate, emit, and HOWTO.md follow the same Mythos discipline (strict oracle, fresh validator, draft emit) adapted for the artifact-graph domain. discover.md prefers `rivet query --sexpr` as the primary enumeration tool over hand-rolled `rivet validate --format json | jq` parsing. A known DSL gap (no clean predicate for "missing outbound link of type X") is documented inline and tracked in pulseengine/rivet#190. Pilot run on sigil's 12 errors closes 9: - AS-35 → exploits → UCA-34 (link-existing, sister scenarios already use this pattern) - AS-36 → exploits → UCA-14 + → DF-12 (link-existing, UCA-14 already shares H-14 with AS-36) - AS-34 → exploits → UCA-36 + → DF-19 with new draft UCA-36 "Insert proof into cache APPLIED TOO LONG without max-entries bound" linked to CTRL-4 + H-36 (create-and-link, medium confidence — UCA-36 needs human review) Sigil-local error count: 12 → 3 (75% reduction). The 3 remaining are pre-existing `related-to` undefined-link-type errors on H-36/37/38, out of scope for this PR. The 78 broken local cross-refs (H-CODE-*, SC-CODE-*, CC-{IS,AE,EB, IV,PO,Z3}-*) and 35 UnknownPrefix refs (kiln/gale/sigil/synth) identified by parallel discovery agents originate in synth's artifacts, not sigil. They require coordinated work in synth + externals config in sigil's rivet.yaml; tracked separately. Trace: skip Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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
scripts/vmodel/— a four-prompt V-model gap-hunt pipeline (rank/discover/validate/emit + HOWTO), modeled on Mythos but targeting traceability completeness instead of code bugsdiscover.mdprefersrivet query --sexpras the primary enumeration tool over hand-rolled JSON parsing; documents the DSL gap I hit and links s-expr DSL: no clean way to express 'artifact missing outbound link of type X', andlinked-*operator semantics need docs rivet#190rivet validateerrors closes 9 of 12:UCA-36("Insert proof into cache APPLIED TOO LONG without max-entries bound", linked to CTRL-4 + H-36) — medium-confidence create-and-link, UCA-36 needs human reviewMethodology
This PR is the first end-to-end V-model gap-hunt cycle: rank → discover (5 parallel agents in fresh sessions) → validate (mechanical via
rivet validate) → emit (viarivet link/rivet add). Each agent investigated one root-cause cluster of the 12 errors. Key meta-finding: 110 of the 114 broken cross-refs are not sigil bugs but synth-authored references that sigil sees by walking the synth external during validate — those need coordinated work in synth + externals config in sigil, tracked separately.What's NOT in this PR
related-toundefined-link-type errors on H-36/37/38. Different gap class (schema definition, not missing link). Should be a separate fix.UCA-36 — needs reviewer attention
`UCA-36` is the only new artifact in this PR. The discovery agent flagged it as medium confidence:
Reviewer: please check the UCA-36 draft text in `artifacts/stpa/ucas.yaml`. If the framing is wrong, the alternative is to extend UCA-10 instead (and remove UCA-36).
Test plan
Linked
linked-*operator semantics need docs rivet#190 (s-expr DSL gap)🤖 Generated with Claude Code