Repository navigation
feat: standing instructions as one file per entry (.ytstack/standing/) - #63
Conversation
A standing instruction is a rule document whether it lives in STANDING.md or in one file per entry under .ytstack/standing/ (issue #57). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Each entry is <YYYYMMDDTHHMMZ>-<slug>.md with frontmatter given (ISO UTC, the minute of its name), scope and an optional supersedes that must name an earlier existing entry, and a body. `ytstack-check --standing [<dir>]` runs only this check in any project with .ytstack/, without a plugin root; the full run also checks the plugin's own directory (issue #57). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
yt_standing lists the entries in force, newest first, and skips every entry another entry supersedes. The preambles of coordinate, finish-lane and signal-intake print them; coordinate writes a new instruction as a new file and replaces one with a superseding file. STANDING.md alone stays valid and is still read where it exists, also as an index (issue #57). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
DECISIONS gains the one-file-per-entry layout for standing instructions. artifacts, skills, checks-and-evals and hooks-and-state describe the directory, the readers, check_standing and yt_standing, verified at 54a25e7. Claims about runs at the old stamp now name 1b7bfc8 explicitly. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…CHANGELOG Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hooks/lib/git-ctx.sh is one of its paths; the new function adds no dependency, so the description holds at 54a25e7. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 006c64825e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
# Conflicts: # CHANGELOG.md
20261114T1225Z-old sorted after 20261114T122530Z-new in reverse lexical order. The sort key is now YYYYMMDDHHMMSS from the name (Codex finding on PR #63). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A supersedes target is compared by time with missing seconds as :00, so a 12:25:30 entry may supersede a 12:25 one. - The time in the name and in given must exist (month, day of the month with leap years, hour, minute, second), checked with datetime. - `--standing` without a directory resolves .ytstack through hooks/lib/git-ctx.sh like the preambles, so a project in user scope (~/.ytstack/projects/<repo key>) is checked; none found stays exit 0. Codex findings on PR #63. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p areas coordinator-format, checks-and-evals and hooks-and-state describe the three fixes. checks-and-evals, hooks-and-state (including the PR watch sentence merged from main) and dependencies are verified at 851b2f4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…r scope) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@codex review |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Implements #57: standing instructions as one file per entry, so parallel coordinator PRs stop conflicting at the end of
STANDING.md.Design
.ytstack/standing/<YYYYMMDDTHHMMZ>-<slug>.md(the format context-mcp already uses), frontmattergiven(ISO UTC, same minute as the name),scope(non-empty),supersedes(empty or an earlier entry). Entries are never edited; a newer one supersedes.yt_standinginhooks/lib/git-ctx.shlists the entries in force, newest first, superseded ones skipped.coordinate,finish-lane,signal-intakeprint the list in their preamble;handover-stepandreview-lessonsname both sources.STANDING.mdalone stays valid; with both, both are read andSTANDING.mdmay be a short index.coordinate(0.3.0) writes new instructions as files, appending toSTANDING.mdonly where it exists without astanding/directory.ytstack-risk:.ytstack/standing/**is a rule document (always a person).ytstack-check --standing [<project>]validates name, frontmatter, body andsupersedesin any project; the full run also checks ytstack's own directory.Verification:
tests/run-all.shALL SUITES PASSED (git-ctx 143, skill-preambles 541, ytstack-check 63, ytstack-risk 170),bin/ytstack-checkOK, spec lint and drift clean,claude plugin validate .passed, Codex 16 and Kimi 9+2 tests OK. Live:ytstack-check --standingagainst context-mcp's 20 entries: OK;yt_standinglists 18 in force (2 superseded).Not added: an eval case (would need its own fixture; no paid eval run).
🤖 Generated with Claude Code