Skip to content

State what a verb's success means, and that a wait ends at its timeout - #2218

Merged
nicholas-lonsinger merged 1 commit into
mainfrom
principles-verb-and-wait
Dec 3, 2026
Merged

nicholas-lonsinger merged 1 commit into
mainfrom
principles-verb-and-wait

Conversation

@nicholas-lonsinger

@nicholas-lonsinger nicholas-lonsinger commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds two rules to AGENTS.md's Principles, both from the maintainer's direction on #2213:

  • A verb reports its own call; a wait ends at its timeout. A verb's success is the platform accepting or completing the call it made, and says nothing about what follows. A wait that is not met ends at its timeout, and nothing further is built for that path.
  • Under What a feature promises is a design choice: present state read from a host source that holds it (the ARP table by MAC, the Launch Services table, a socket closing) is an answer from now, used where it is right, with nothing built for where it is stale.

Design

Each rule is here because its absence led to a wrong action that went unnoticed until the maintainer corrected it:

Weighed and left as it is: The guest answers its own shutdown says Kernova adds no timeout for a stop the guest holds up. That is a timeout Kernova would impose on the guest; the new rule's timeout is the one a caller puts on its own wait. The two do not overlap.

Refs #2213.

Test plan

  • make attest on the head commit (lint green; reused the passing make test and make test-linux of the same inputs)

🤖 Generated with Claude Code

A verb succeeds when the platform has accepted or completed the call it
made and promises nothing about what follows; a wait that is not met ends
at its timeout, with nothing further built for that path. Present state
read from a host source that holds it is an answer from now, used where it
is right, with nothing built for where it is stale.

Co-authored-by: Claude Fable 5.2 <[email protected]>
@nicholas-lonsinger
nicholas-lonsinger marked this pull request as ready for review December 3, 2026 04:07
@nicholas-lonsinger
nicholas-lonsinger merged commit 9d91d76 into main Dec 3, 2026
1 check passed
@nicholas-lonsinger
nicholas-lonsinger deleted the principles-verb-and-wait branch December 3, 2026 04:07
nicholas-lonsinger added a commit that referenced this pull request Dec 3, 2026
Co-authored-by: Claude Fable 5.2 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant