fix: make stale-spec validation errors actionable for agents - #1198
Merged
Conversation
alexhraber
force-pushed
the
agent/unknown/todo-01kz9v-plus-1-1785966668
branch
2 times, most recently
from
August 6, 2026 01:21
821d597 to
757d431
Compare
alexhraber
commented
Aug 6, 2026
Comment on lines
+2083
to
+2084
| &auto_remediable_validation_message( | ||
| "OUT_OF_SYNC_SPECS", |
alexhraber
commented
Aug 6, 2026
| } else { | ||
| fail( | ||
| "STALE_SPECS_FINGERPRINT: Significant repo surfaces changed since last specs refresh. Review and rewrite living-spec authored prose (INTENT/ARCHITECTURE/INTERFACES/VALIDATION/…) to account for the code change — fingerprint/attestation refresh alone is insufficient (see FINGERPRINT_ONLY_SPECS / GitHub #1183) — then call `decapod rpc --op specs.refresh`.", | ||
| &auto_remediable_validation_message( |
Contributor
Author
There was a problem hiding this comment.
this also solves the concern of PR #1197
alexhraber
force-pushed
the
agent/unknown/todo-01kz9v-plus-1-1785966668
branch
from
August 6, 2026 01:51
757d431 to
9b6e52d
Compare
alexhraber
force-pushed
the
agent/unknown/todo-01kz9v-plus-1-1785966668
branch
from
August 6, 2026 01:57
9b6e52d to
025ab65
Compare
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
OUT_OF_SYNC_SPECSandSTALE_SPECS_FINGERPRINTfailures operationally actionable: refresh withdecapod rpc --op specs.refresh, inspect, and retry validation.0.96.6release already present onmaster.Validation
cargo fmt --checkcargo build --bin decapodDECAPOD_VALIDATE_SKIP_GIT_GATES=1 target/debug/decapod validate --store user --format json(status: ok,fail_count: 0)git diff --checkThe local full library suite previously reached 267/268; the remaining pre-existing LCM test failure is
no such table: lcm_eventsin its temporary store setup. Hosted CI is the authoritative full-suite check. Runtime behavior remains unchanged apart from actionable validation diagnostics and structural documentation guards.