Skip to content

tick verifies a ticket whose Gate is a list of checks - #73

Merged
wfrank2509 merged 2 commits into
mainfrom
tick-checks
Nov 26, 2026
Merged

wfrank2509 merged 2 commits into
mainfrom
tick-checks

Conversation

@wfrank2509

Copy link
Copy Markdown
Member

Owner decision of 2026-11-26: the headless tick may verify a ticket with a typed Gate. It still merges only the Gate ci. No scheduled model coordinator.

What

  • A second typed Gate: Gate: checks: <name>, <name>, and nothing else. One more word makes the Gate prose, and a person reads it.
  • For a ticket in Review with such a Gate and a local-run done, tick --work-dir <git checkout> runs the named checks of AUTHORITY.md on a clean checkout of the delivered commit and writes the verify (the same code as verify --run-check). wake --tick passes its work dir.
  • A check that fails is a fact: the tick records a failed verify with the check, its exit code and the log path. The output of the check stays in the log.
  • The tick never merges such a ticket.
  • New key check_timeout in AUTHORITY.md (default one hour), for every run of a check.
  • New refusal check-not-run: the checks could not run (no checkout, a failed fetch, a program that is not on the host, a closed or merged PR). Before, some of these were config errors (exit 4).
  • retro has a row for the new Gate.

Limits for the unattended run (second commit, from an independent review)

  • No pass for a closed or merged PR.
  • Once per done, at most five times per ticket; the memo is written before the run.
  • No check whose command line names a file of the repo outside protected_paths.
  • One read of the ticket serves the run and its result, also for a fail.
  • A program that cannot start sends nothing back to the dev.

What it does not solve

The checks run code of the PR as the OS user of the headless coordinator, with its signing key in reach. A file that a command reads without a word for it (a test that cargo test runs) is not covered by the protected-path rule. The spec says so (agents.md 5a, ci.md item 6). The mitigation is an OS user with no other access.

Tests: unit tests for the Gate parser, the timeout key and the state format; component tests with a real git repo for the pass, the fail, a prose Gate, a missing checkout, an unprotected file, a missing program, a timeout and a merged PR.

🤖 Generated with Claude Code

crewboard maintainers and others added 2 commits November 26, 2026 19:40
The second typed Gate: `checks: <name>, <name>`, and nothing else. For a
ticket in Review with such a Gate and a local-run done, `tick --work-dir`
runs the named checks of AUTHORITY.md on a clean checkout of the head of
the done and writes the verify, as verify --run-check does. A check that
fails is a fact: tick records a failed verify with the check, its exit
code and the log, and the ticket goes back. The tick never merges such a
ticket; the headless merge still needs the Gate ci.

The wake passes its work dir to the tick. retro has a row for the new
Gate.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…attended run

From a review of the headless path:
- a closed or merged PR gets no pass that claims a run (check-not-run);
- a check has a time limit (check_timeout of AUTHORITY.md, one hour by
  default); a check that runs longer is stopped and counts as failed;
- a program that cannot start, a missing checkout and a failed fetch are
  check-not-run, not a failed check and not a config error;
- the tick records a failed check as a failed verify of the done that
  was tested (one read of the ticket), starts the checks once per done
  and at most five times per ticket, and runs no check whose command
  line names a file of the repo outside protected_paths.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@wfrank2509
wfrank2509 merged commit 9e4386f into main Nov 26, 2026
4 checks passed
@wfrank2509
wfrank2509 deleted the tick-checks branch November 26, 2026 18:59
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