Repository navigation
README: running an Architect run on a schedule - #266
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rchitect plan by their names, a two-line help pointer, one helper for the unwrapped help Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g to fix on the branch) 2026-10-01T12:58:12Z, host thirdshift. Uncommitted work at the time of failure is included in this commit.
JacobStephens2
marked this pull request as draft
October 1, 2026 12:58
…chitect plan, type for finding the commands, an even help pointer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
JacobStephens2
marked this pull request as ready for review
October 1, 2026 16:42
This was referenced Oct 1, 2026
Merged
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.
Summary
Closes #249
A README section, "On a schedule", under Architect runs, and a two-line pointer to it in
thirdshift help. No behaviour changes.Two things in the section go beyond the Ticket's list, both found while checking the recipe:
mkdir -p ~/.thirdshift/logsfirst: with the directory missing, the shell can't open the log and never starts the command.~nor$HOMEon thePATHline, so its directories are written out in full.Seam tested:
thirdshift help's stdout, through thecommand_surfaceend-to-end tests. The README has no test seam.Not done here: the recipe was not run under cron. The Ticket leaves that to a person on a real Linux machine when reviewing the Spec PR.
Evidence
help_points_to_running_an_architect_run_on_a_schedule_without_the_recipefails: help has no mention of a schedule.After: it passes: help names the operating system's scheduler,
thirdshift architect base mainand the README's "On a schedule", and holds none ofPATH=,* * *orarchitect-cron.log.Checked against the code: a bad argument, a broken User config and a missing Resend key all fail before the Run notification's checks pass, so only the log has them; a skip exits
0and still sends its notification;no-mergeand--plan-onlywin over the User config; Setup is offered only from a terminal; the open-plan rule looks only for open issues labelledarchitect-plan, so it is released by the Architect plan closing or losing its label, not by closing its pull request.type thirdshift claude gh gitprints all four in both bash and dash, wherecommand -vprinted only the first in dash.Unaddressed findings
Standards
CONTEXT.md.PATH=,* * *andarchitect-cron.logrepeat fragments of the README's recipe. Kept: they are what "without repeating the recipe" means for help, and help has no reason to gain any of them under another name.helprefers to the README, which nothing else in it does. The Ticket asks for exactly this: help "points to running it on a schedule ... without repeating the recipe".~/.thirdshift/logs/, among the session logs. The Ticket gives that path, and the file's name sets it apart from the.jsonlsession logs.Spec
crontab -e,type ...,mkdir -p, thecdbullet, "a bad argument", "Closing the pull request alone leaves the Architect plan open",loginctl enable-linger. Kept: each is something a pasted line fails silently without, or a fact the reader would otherwise have to find in another section.base <branch>paragraph gains a sentence linking to the new section. Kept: it is where a reader ofbaselearns what it is for.unwrapped_helphelper rewrites two existing tests. Kept: it removes the copy the new test would have made a third of, and came from an earlier Standards finding.Fixed in the last round: the lock covers "the Spec run or Run it dispatched", not only a Spec run; picking up a failed run does not by itself release the open-plan rule, the Architect plan closing or losing its label does;
typein place ofcommand -v; the help pointer's two lines are even (95 and 96 columns, under the 100 the widest help lines have).Merge Danger
Door: two-way
Documentation and help text only; reverting the commits restores both.
Blast Radius: docs
A wrong detail in the recipe would cost a user a silent night, which is why it needs one try on a real machine with cron before the Spec PR merges.
CI notes
testandtest-macosboth pass on 884cd57 (run 36893076580).the_binary_never_links_openssl(tests/packaging.rs) alone: itscargo tree --target all --offlinefails when the cargo cache lacks the crates only other platforms use, as it did after a new stable Rust changed the cache key. Nothing on this branch changed that test, so it can go red here again on a cold cache.mainhas the fix (1e709d1 reads the lockfile instead); issue-237, this pull request's Base branch, does not have it yet, and it is left for the Base branch to take frommainrather than mixed into this pull request (ADR 0008).🤖 Generated with Claude Code