feat(0044-amend): optional failure title, lifted into the index — v0.1.4 - #9
Merged
Merged
Conversation
A step-level failure.yaml MAY carry a short defect-style `title` (open string, never cross-checked — no new codes, no new required fields). finalize lifts it verbatim into the run-level index row when it is a non-empty string, same mirror-never-validate posture as the triage_status lift; absent/empty titles are omitted (no title: null noise). Triage queues and dashboards get a name, not just a status. Amendment note in decision 0044; contract page updated; failure-full fixture carries the title at both levels; CHANGELOG + version 0.1.4. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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
Adds an optional
titleto failure records (amending decision 0044) — a short defect-style name for the failure, typically the investigation verdict's bug title. Triage queues and dashboards need a label, not just a status:rca.root_causeis a sentence,titleis a name.failure.schema.json): optional top-leveltitle—type: string, minLength: 1. Open string, never cross-checked. No new required fields, no new diagnostic codes.finalize):FailureRowgainstitle?; lifted verbatim when the record'stitleis a non-empty string — the same mirror-never-validate posture as thetriage_statuslift. Absent/empty/non-string → omitted from the row (notitle: nullnoise). Sort and totals unchanged.failure-index.schema.json): documents the optionaltitlerow property.titleis not part of the row/path-agreement cross-check, and a record-vs-row mismatch is impossible on a freshly finalized pack since finalize generates the index.0044-failure-records.md;design/contract/04-L1.mdFailures section showstitleat both levels.Test plan
titleverbatim; omits when absent/empty/non-string; titleless records index finetitle, rejects emptytitlerow property, rejects emptyfixtures/0.1/L1/valid/failure-fullcarries the title at both levels — conformance passes in directory and sealed-zip forms, no other fixture changednpx vitest run— 130/130 ·npx tsc --noEmitcleanAfter merge: cut GitHub Release
0.1.4(tag must match package.json) — the release workflow publishes@testmuai/evidence-cli@0.1.4to npm; kane-cli can then bump to^0.1.4.🤖 Generated with Claude Code