docs(readme): fix unreproducible near-miss advisory example (BUG-003) #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/4/head"
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?
What
Fixes BUG-003: the README's SPEC-005 vocabulary example advertised a
near-miss sibling advisory that could not be reproduced by following the docs.
Running the old snippet verbatim (
define ci-green/1thenassert 'ci-green-m2')prints
advisory (inert-family): family ci-green-m2, not the documentedadvisory (sibling): family ci-green. The flat atomci-green-m2resolves toits own family via
family()CON-402 rule 4, so it is never a sibling ofci-green-m1; the snippet also never created ther-verifiedlistener itreferred to.
Changes
define→ a rule listening on(ci-green ?t)→ a proven(review-approved m1)witness →
assert '(given (ci-green m2))', which reproducesadvisory (sibling): family ci-green/1 … did you mean (ci-green m1)? (listener r-verified).Corrected the
vocabsample output to its real rendering.silently absent on a direct-store assert or on the first assert to a theory
after a daemon (re)start (SPEC-005 NFR-402).
resolved.Notes
Documentation-only — the runtime was already spec-compliant (the cold-cache
degradation is exactly NFR-402). The optional "warm views at daemon start"
enhancement is noted in the bug as a follow-up, not included here.
Verification
Clean-room run of the exact corrected README commands from an empty
ELEPHANT_HOME: thevocabtable and the sibling advisory both reproduceverbatim.
🤖 Generated with Claude Code
https://claude.ai/code/session_013uvP86ka66MGp1DutJUR6B