Commit d56e01a
docs(agents): refresh the stale declared≠enforced example in Prime Directive #10
The example cited "the spec declares 9 validation-rule types but the
write-path validator enforces only 3" as a live gap. That stopped being
true: #1475 was closed by trimming the never-enforced types
(unique/async/custom) and fixing enforcement for the rest. Today
ValidationRuleSchema declares 6 types (script/state_machine/format/
cross_field/json_schema/conditional) and rule-validator.ts's switch
handles all 6 — declared == enforced.
Rewritten in the past tense so it reads as a closed loop rather than an
open gap. This keeps it serving the principle it illustrates ("never
advertise a capability the runtime doesn't deliver") and in fact
demonstrates all three of its prescribed verbs: filed (#1475), trimmed
(3 types removed), fixed (3 types enforced).
A stale example is itself the failure mode the directive warns about —
documentation advertising a state the code no longer has.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 84b92b0 commit d56e01a
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments