Repository navigation
fix: new artifacts follow the directory their milestone lives in (#70) - #77
Merged
Merged
Conversation
…70) yt_artifact_dir and yt_artifact_path in hooks/lib/git-ctx.sh name the directory that holds a milestone's roadmap or files (flat first, then milestones/, milestones/*/, backlog/, backlog/*/), else the flat one. post-tool-use-bash and task-completed write their summaries there; stop, pre-tool-use-edit, session-start, task-created and teammate-idle read there. ytstack-risk counts M### files in those directories as process records. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ves in (#70) Preambles print ARTIFACT_DIR (fallback YT_DIR without the lib) and find the milestone's roadmap, slice and task plans and summaries through yt_artifact_path; the write steps of plan-milestone, slice-milestone, plan-task, summarize-task, the reviews and retro use ARTIFACT_DIR. plan-milestone counts moved milestones when it picks the next number. gstack-adapted skills touched (plan-ceo-review, plan-eng-review, retro, ship): bin/ytstack-gstack-diff --stat reports no upstream change for them at v1.99.4.0, so their baseline stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Spec areas artifacts and hooks-and-state, a DECISIONS entry and the Unreleased CHANGELOG entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review Summary: ✅ CompletedThis 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: 05f9b18eb8
ℹ️ 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".
…l deep (#70) teammate-idle and task-created read the milestone's slice plans in every layout (yt_find_artifacts, one per name), so a plan that landed flat before the milestone moved still counts. teammate-idle no longer sums "0\n0" for a plan without an open task. ytstack-risk takes a milestone file in milestones/ or backlog/ as a process record only at most one directory below them, and no longer a path under a directory that is named like a milestone file. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
) reassess-roadmap (slice complete, gates, review rounds, slice counts), retro (summaries, slice plans, CONTEXT) and spawn-milestone-team (slice plans, overlap) list the milestone's files through yt_find_artifacts, one per name, so files that landed flat before the milestone moved count. plan-eng-review finds slice plans under backlog/ and backlog/*/ too (Codex review). Shell helpers use ${1} and awk `$ 0`, which Kimi does not expand. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
skills: the preambles' artifact directory, the every-layout listing, the
${1} rule for Kimi, ARTIFACT_DIR in the fallback, the new preamble tests.
checks-and-evals: process records in milestones/ and backlog/ one level
deep. hooks-and-state, artifacts: hooks and skills that list a
milestone's files read every layout. dependencies: nothing false. All
five set verified_at to db07481.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
lx-0
added a commit
that referenced
this pull request
Nov 16, 2026
* chore: move the gstack-derived skills' upstream baseline to v1.99.5.0 bin/ytstack-gstack-diff --stat reported office-hours, plan-ceo-review, retro and ship behind v1.99.5.0. The upstream change only renames /autoplan to /plan-eng-review in next-step recommendations and examples. ytstack has no autoplan and already names ytstack:plan-eng-review, so no method change is folded in; the baseline moves for all six skills (plan-eng-review and document-release had no upstream change) and each skill's metadata.version gets a patch bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: release 0.12.0 Manifests (Claude Code, marketplace, Codex, Kimi), README badge and status, QUICKSTART upgrade line from 0.11.x, CHANGELOG section 0.12.0 with a summary line and compare link. Covers PRs #77, #87-#94 (issues #70, #72-#76, #78, #81-#86, #91). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: spec areas: skills verified at the gstack v1.99.5.0 baseline; host-adapters verified at the 0.12.0 manifests Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: STATE and ROADMAP for 0.12.0: what shipped outside milestones, next action, open issues Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore: KNOWLEDGE: eval record for release 0.12.0 (13 cases, all 1.00, $6.37) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <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.
What changed
New artifacts of a milestone now go where that milestone already lives. A milestone whose roadmap (or, failing that, any of its files) sits in
.ytstack/milestones/M###/(ormilestones/,backlog/,backlog/<PREFIX>/) gets its next plan, summary, review or retro written there. Flat is still the default, nothing gets moved, and ytstack's own layout stays as it is.hooks/lib/git-ctx.sh: two new functions.yt_artifact_dir <yt_dir> <id>returns the directory (roadmap first, then any<prefix>-*file, flat checked first, else flat).yt_artifact_path <yt_dir> <file>returns one file's path: where it already exists, else inside that directory.post-tool-use-bashandtask-completedwrite their summaries (and tick the checkbox) in the milestone's directory.stop,pre-tool-use-edit,session-start,task-createdandteammate-idleread from there.ARTIFACT_DIR(and fall back toYT_DIRwhen the lib is missing). Paths that used to be built flat now go throughyt_artifact_path, and the write steps useARTIFACT_DIR. Skills changed: plan-milestone, slice-milestone, plan-task, summarize-task, reassess-roadmap, retro, plan-ceo-review, plan-eng-review, test-driven-development, verification-before-completion, code-review, finish-branch, ship, spawn-milestone-team, grill and handoff-session. Each one gets a patch bump.plan-milestonenow includes moved milestones when it picks the next number. Before, moving the newest milestone would have reused its number.bin/ytstack-risk:M###-*files in those directories now count as process records, the same as flat ones (docs/ux/review-policy-format.md).bin/ytstack-gstack-diff --statshows no upstream change at v1.99.4.0, so their baseline is unchanged.artifacts.md("Location and scope") andhooks-and-state.md, a DECISIONS entry, and an Unreleased CHANGELOG entry.How verified
153 passed, 12 failed, post-tool-use-bash19 passed, 2 failed, hooks-stop13 passed, 1 failed, hooks-worktree24 passed, 4 failed, skill-preambles665 passed, 26 failed, ytstack-risk206 passed, 1 failed.bash tests/run-all.shgivesALL SUITES PASSED(31 suites). Among them: git-ctx165 passed, 0 failed, skill-preambles691 passed, 0 failed, hooks-worktree28 passed, 0 failed, hooks-stop14 passed, 0 failed, post-tool-use-bash21 passed, 0 failed, ytstack-risk207 passed, 0 failed.python3 bin/ytstack-checkgivesOK (with 9 warning[s])(exit 2 means warnings only).bin/ytstack-spec lintgives6 area file(s), 0 failure(s), 0 warning(s).bash tests/run-all.sh --linux(alpine, bash 5.3.9) on an exported tree of the head commit. Result:ALL SUITES PASSED, 31 suites.Not changed
reconcile, plus the in-progress count insession-start, still only scan flat roadmaps.reconcileis the tool that moves files, and the count is only a hint. Both are left for a separate change.Closes #70
Closes #86 (the
hooks/teammate-idlecount fix from the review round)🤖 Generated with Claude Code