cad-verify: delete the dead templates/UAT.md eager include (-5,792 B) #100
Labels
No labels
already-shipped
bug
documentation
duplicate
enhancement
external-review
good first issue
help wanted
in progress
invalid
needs-decision
proposal
question
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: crenshawdev/cadence-archived#100
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Highest byte-per-effort item in the repo: one deleted line, 5,792 B off
/cad-verify's eager set.Evidence it is dead
grep -rn "templates/UAT"over live surfaces returns only the budget row, a code comment atlib/planning-files.mjs:947, a comment atplanning.mjs:893, and the include itself atskills/cad-verify/SKILL.md:29.verify.mdnever names it, never Reads it, never cites a rule from it.verify.md:352(guardrail): "UAT.md is written ONLY through the uat seam." Field order is owned byUAT_FIELDS(lib/planning-files.mjs:958), frontmatter byUAT_FM_FIELDS, enums byUAT_SOURCES/UAT_ORIGINS, andrenderUatfilters against the whitelist on every write. The template is a renderer spec, not an instruction for a model that never renders.verify.mdin the same context: severity table (verify.md:226-235), lifecycle (:34-111,:293-343), criterion/origin (:71-83), fields_version (:84-89), source enum (:189-191), why_human (:155-167).--sourcesis optional in the seam (planning.mjs:635), andorigin: verifieris written byuat merge, handled inverify-deep.md:30-54, never by the walk.CHANGELOG.md:471-474justifies keeping it as "consulted on every path, for the same reason" ascad-help'sCOMMANDS.md. Falsifiable and false:cad-help's workflow ISCOMMANDS.md, whereasverify.mdnever names UAT.md once.Change
Delete
skills/cad-verify/SKILL.md:29. Keep the file on disk — it is the seam's spec and atemplates/surface self-verify walks.Budget
skills/cad-verify/SKILL.md: 1,102 -> 1,050cadence-core/templates/UAT.md: 5,792, unchanged (still a measured surface)Do not
Add a
deferred-reads.mjsregister row for this. There is no consult site to anchor — the register's scope is a reference a skill consults but no longer@-includes, and this one is consulted zero times. Note the coverage gap in the commit message; #2 is the check that actually covers this class.Result
/cad-verifyeager: 24,533 -> 18,741.Shipped: the templates/UAT.md eager include is gone from skills/cad-verify/SKILL.md; the template stays on disk as the seam's spec. Covered going forward by the include-consumers check (#99).