Repository navigation
tick verifies a ticket whose Gate is a list of checks - #73
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Owner decision of 2026-11-26: the headless
tickmay verify a ticket with a typed Gate. It still merges only the Gateci. No scheduled model coordinator.What
Gate: checks: <name>, <name>, and nothing else. One more word makes the Gate prose, and a person reads it.done,tick --work-dir <git checkout>runs the named checks ofAUTHORITY.mdon a clean checkout of the delivered commit and writes the verify (the same code asverify --run-check).wake --tickpasses its work dir.check_timeoutinAUTHORITY.md(default one hour), for every run of a check.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).retrohas a row for the new Gate.Limits for the unattended run (second commit, from an independent review)
done, at most five times per ticket; the memo is written before the run.protected_paths.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 testruns) 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