Skip to content

guidelines: verify the invocation contract + "compiles ≠ works" (§7, §4)#17

Merged
pallaoro merged 1 commit into
mainfrom
ground-invocation-contract
Jul 9, 2026
Merged

guidelines: verify the invocation contract + "compiles ≠ works" (§7, §4)#17
pallaoro merged 1 commit into
mainfrom
ground-invocation-contract

Conversation

@pallaoro

@pallaoro pallaoro commented Jul 9, 2026

Copy link
Copy Markdown
Member

Two checks that close a common gap: verifying a change's behavior while
assuming its invocation. A feature can shell out to a command with flags lifted
from the wrong docs section, or ship behind a self-written "deployed but never
exercised" caveat, and still pass a green build — a wrong flag, dead endpoint, or
mis-set env var is invisible to compile/typecheck/deploy.

  • §7: verify the invocation contract (exact flags/params/env, arg order) against
    the primary source — the command's own option definition, the API schema — not
    prose docs or a sibling example. The mundane call detail is most likely wrong
    and least likely checked, precisely because it feels beneath verifying.
  • §4: "compiles/typechecks/deploys" is not "it works" — run it once against the
    real target; a self-flagged "unverified" caveat on a load-bearing path is a
    gate, not a footnote, and the bar scales with blast radius.

Regenerated fan-out copies via scripts/build-rules.js (--check clean).

Two checks that close a common gap: verifying a change's *behavior* while
assuming its *invocation*. A feature can shell out to a command with flags lifted
from the wrong docs section, or ship behind a self-written "deployed but never
exercised" caveat, and still pass a green build — a wrong flag, dead endpoint, or
mis-set env var is invisible to compile/typecheck/deploy.

- §7: verify the invocation contract (exact flags/params/env, arg order) against
  the primary source — the command's own option definition, the API schema — not
  prose docs or a sibling example. The mundane call detail is most likely wrong
  and least likely checked, precisely because it feels beneath verifying.
- §4: "compiles/typechecks/deploys" is not "it works" — run it once against the
  real target; a self-flagged "unverified" caveat on a load-bearing path is a
  gate, not a footnote, and the bar scales with blast radius.

Regenerated fan-out copies via scripts/build-rules.js (--check clean).
@pallaoro
pallaoro merged commit 9eb2bc3 into main Jul 9, 2026
1 check passed
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