Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{
"name": "ytstack",
"description": "Claude Code plugin. Project-OS artifact discipline + curated superpowers and gstack skill wrappers + Agent Teams orchestration.",
"version": "0.10.0",
"version": "0.11.0",
"source": "./",
"author": {
"name": "Yesterday",
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ytstack",
"version": "0.10.0",
"version": "0.11.0",
"description": "BUNDLE: Yesterday Technologies Stack -- opinionated software-development OS for AI agents. Curated superpowers + gstack skills plus Project-OS artifact discipline (PROJECT.md, DECISIONS.md, KNOWLEDGE.md, milestone/slice/task hierarchy), orchestrated via SessionStart hooks.",
"author": {
"name": "Yesterday",
Expand Down
2 changes: 1 addition & 1 deletion .codex-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ytstack",
"version": "0.10.0",
"version": "0.11.0",
"description": "Project memory, milestone planning, and curated gstack and superpowers workflows for AI coding agents.",
"author": {
"name": "Yesterday",
Expand Down
2 changes: 1 addition & 1 deletion .kimi-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ytstack",
"version": "0.10.0",
"version": "0.11.0",
"description": "BUNDLE: Yesterday Technologies Stack -- opinionated software-development OS for AI agents. Curated superpowers + gstack skills plus Project-OS artifact discipline (PROJECT.md, DECISIONS.md, KNOWLEDGE.md, milestone/slice/task hierarchy), orchestrated via SessionStart hooks.",
"author": {
"name": "Yesterday",
Expand Down
2 changes: 2 additions & 0 deletions .ytstack/KNOWLEDGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ Patterns, rules, and lessons learned while building ytstack. This file is read b

## Eval runs (`claude plugin eval`)

- **2026-11-15, release 0.11.0 (M031, M032, M033), one case per invocation, `--ablation none --no-publish`:** 1.00 on the first run: `coordinator-resume` ($0.38), `risk-route` ($1.07), `reconcile` ($0.35), `adopt-brownfield` ($0.81), `lesson` ($0.48), `fresh-bugfix` ($0.53), `incident` ($0.52), `signal-intake` ($0.40), `code-review` ($0.76). `external-plan` did not load (an unquoted `: ` in `expected_outcome`); fixed with `>-`, and `tests/evals-frontmatter.test.sh` now lints every case's frontmatter; rerun 1.00 ($0.54). `upstream-suggest` 0.75 on the first run (the final message lacked the draft path), 1.00 on the rerun ($0.57); `upstream-file` 0.80 (no `ytstack-upstream mode` call), then an API weekly-limit abort scored 0 without grading, then 1.00 ($0.57). One run each: the two upstream cases are not stable yet, a known gap of the directive-only channel (no skill fires). Total about $8.

- **2026-11-15, release 0.10.0 (`coordinate` 0.3.0, `signal-intake` 0.1.1, `finish-lane`, `handover-step`, `review-lessons` text only), `--ablation none --no-publish`:** `coordinator-resume` 1/1, score 1.00, $0.38; `signal-intake` 1/1, score 1.00, $0.49. A repeated `--case` flag ran only the last case: run one case per invocation. No case covers `finish-lane`, `handover-step` or `review-lessons`; the standing directory is covered by the shell suites (git-ctx, ytstack-check, ytstack-risk, skill-preambles).

- **2026-11-14, release 0.9.2 (`coordinate` 0.2.2), `--case coordinator-resume --ablation none --no-publish`:** 1/1, score 1.00, $0.44, 169 s. Same coverage limit as for 0.9.1: the session spelling is covered by `tests/pr_watch/test_session_spelling.py`.
Expand Down
6 changes: 3 additions & 3 deletions .ytstack/ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ Progress legend: `[ ]` todo, `[~]` in progress, `[x]` done, `[-]` skipped.
| M028 | Ship the six gstack skills as ytstack's own adaptations (DECISIONS 2026-11-14) -- self-contained `office-hours`, `plan-ceo-review`, `plan-eng-review`, `retro`, `ship`, `document-release` (no gstack install, nothing in `~/.claude/skills/`), `metadata.upstream` baselines, `bin/ytstack-gstack-diff` + release-checklist step, synced to gstack v1.99.3.0. Done 2026-11-14 (3 slices, 11 tasks); released in 0.6.0 (PRs #39, #40). M022-M024 merged with #37; M025-M027 are carried by PR #38. | **done** | 11 | 11 |
| M029 | Optional PR watch (DECISIONS 2026-11-14 "PR watch ships inside ytstack as an optional, opt-in tool") -- engine in `tools/pr-watch/`, `bin/ytstack-pr-watch` (enable/disable, install-worker, migrate), Claude Code and Codex hooks that exit at once unless `pr_watch=on`, `docs/pr-watch.md`. Done 2026-11-14 (3 slices); released in 0.8.0 (PR #45), fixes in 0.8.1 and 0.8.2. | **done** | 3 | 3 |
| M030 | Review lessons from bot findings -- `bin/ytstack-review-escapes` (bot thread resolution vs. own-role findings), `## Own reviewers` in `REVIEW.md`, escapes as signals of `kind: review`, skill `review-lessons` (role-file proposals for a person), escape rate in `retro`. Pilot and adoption: Yesterday-AI/context-mcp#1650. Done 2026-11-14 (3 slices); released in 0.9.0 (PR #51). | **done** | 9 | 9 |
| M031 | Factory tools explicit (issue #54 rest, #61 leftovers) -- `coordinate` "Factory tools" step and one-step rotation, `ytstack-risk route` reads the review round from the host, SessionStart/upkeep say which tool is off and when the plugin changed under the session, QUICKSTART setup guide and upgrade checklist, `reconcile` detects external plans. Done 2026-11-15 (5 slices, parallel workers); unreleased. | **done** | 15 | 15 |
| M032 | Incident to lesson loop (issue #53) -- incident and lesson records with class, target and count, a shared lesson step called by `incident`, `systematic-debugging`, `finish-lane` and `coordinate`, open lessons in status and frontier, repeats in `retro`. Done 2026-11-15 (3 slices); unreleased. | **done** | 6 | 6 |
| M033 | Upstream feedback channel (issue #55) -- `upstream_feedback: suggest / file / off`, the channel in `using-ytstack`, agent rules (search first, evidence, no personal data), "Upstream" section in `retro` and `lane-retro`. Done 2026-11-15 (1 slice); unreleased. | **done** | 4 | 4 |
| M031 | Factory tools explicit (issue #54 rest, #61 leftovers) -- `coordinate` "Factory tools" step and one-step rotation, `ytstack-risk route` reads the review round from the host, SessionStart/upkeep say which tool is off and when the plugin changed under the session, QUICKSTART setup guide and upgrade checklist, `reconcile` detects external plans. Done 2026-11-15 (5 slices, parallel workers); released in 0.11.0 (PR #66). | **done** | 15 | 15 |
| M032 | Incident to lesson loop (issue #53) -- incident and lesson records with class, target and count, a shared lesson step called by `incident`, `systematic-debugging`, `finish-lane` and `coordinate`, open lessons in status and frontier, repeats in `retro`. Done 2026-11-15 (3 slices); released in 0.11.0 (PR #67). | **done** | 6 | 6 |
| M033 | Upstream feedback channel (issue #55) -- `upstream_feedback: suggest / file / off`, the channel in `using-ytstack`, agent rules (search first, evidence, no personal data), "Upstream" section in `retro` and `lane-retro`. Done 2026-11-15 (1 slice); released in 0.11.0 (PR #67). | **done** | 4 | 4 |

**Total:** 39 tasks across M001-M009, 37 done (95%). 2 deferred to user action (git init + push, GitHub repo creation). M010 done (6/6, 2026-11-07); M011 task count pending milestone planning.

Expand Down
4 changes: 3 additions & 1 deletion .ytstack/STATE.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
---
project: ytstack
slug: ytstack
last_updated: 2026-11-15T04:00:00Z
last_updated: 2026-11-15T06:00:00Z
current_milestone: none
active_slice: none
active_task: none
---

# State

**Status (2026-11-15, 0.11.0):** Release of M031 (PR #66, `5654d39`), M032 and M033 (PR #67, `763aed9`). Both PRs got an independent adversarial review before merge (6 and 8 findings, all fixed with tests). Issues #53, #54, #55, #61 are covered; #57 was in 0.10.0.

**Status (2026-11-15, M032 + M033):** M032 DONE (3/3 slices, 6 tasks: `kind: lesson` in the signals ledger, skill `ytstack:lesson` called by `incident`, `systematic-debugging`, `finish-lane`, `coordinate`; lesson lanes in the frontier, open lessons in `coordinate` 0.5.0, repeats in `retro`). M033 DONE (1/1 slice, 4 tasks: `upstream_feedback`, `bin/ytstack-upstream`, `docs/ux/upstream-feedback.md`, "Upstream" in `retro`/`lane-retro`, `lesson` routes ytstack lessons upstream). Both on `m032-m033` on top of M031 (PR #66). Not run: evals `lesson`, `upstream-suggest`, `upstream-file`, `fresh-bugfix` (description of `systematic-debugging` changed). Next: merge #66, then this PR, release.

**Status (2026-11-15, M031):** M031 DONE (5/5 slices, 15 tasks, built by parallel workers on `m031-s0N-*` branches and merged into `plan-m031`): `coordinate` 0.4.0 Step 7 "Run the factory tools" and one-step rotation with `ytstack-pr-watch handover`; `ytstack-risk route --pr` reads the round from the review on the host; session-start factory-tool notices and the `version-notice` prompt hook; QUICKSTART setup guide and upgrade checklist; `bin/ytstack-plans` with the external-plan question in `reconcile` and `adopt-brownfield`. Not run: evals `coordinator-resume`, `risk-route`, `external-plan`, `reconcile`, `adopt-brownfield` (at release). M032 (lesson loop, #53) in progress on `m032-lesson-loop`; M033 (#55) after it.
Expand Down
2 changes: 1 addition & 1 deletion .ytstack/spec/checks-and-evals.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Everything that tells a contributor whether a change is acceptable: the static c

- `bin/ytstack-check` -- the checker; its docstring names the flags and exit codes. `bin/ytstack-spec` (the spec tool) and `bin/ytstack-brief` (brief renderer and report check), pinned by `tests/ytstack-spec.test.sh` and `tests/ytstack-brief.test.sh`.
- `bin/ytstack-frontier`, `bin/ytstack-questions`, `bin/ytstack-finish-lane`, `bin/ytstack-handover`, `bin/ytstack-watch` -- the coordinator scripts, each with `tests/<name>.test.sh`.
- `bin/ytstack-risk`, `bin/ytstack-review-escapes`, `bin/ytstack-runtime`, `bin/ytstack-signals`, `bin/ytstack-upkeep`, `bin/ytstack-plans`, `bin/ytstack-upstream`, each with `tests/<name>.test.sh` (the live cases of `ytstack-runtime` need `python3` and are skipped without it).
- `bin/ytstack-risk`, `bin/ytstack-review-escapes`, `bin/ytstack-runtime`, `bin/ytstack-signals`, `bin/ytstack-upkeep`, `bin/ytstack-plans`, `bin/ytstack-upstream`, each with `tests/<name>.test.sh` (the live cases of `ytstack-runtime` need `python3` and are skipped without it). Suites under `pipefail` read pipes to the end (`grep_q`, not `grep -q`: SIGPIPE). `tests/evals-frontmatter.test.sh` lints every `evals/*/prompt.md` frontmatter for plain scalars holding `: ` or ` #`, which keep a case from loading.
- `tests/run-all.sh` -- the suite runner. `tests/*.test.sh` -- the suites. `tests/codex_plugin_test.py`, `kimi_plugin_test.py`, `kimi_lifecycle_test.py`, `kimi_live_test.py` -- the Python host tests. `evals/<case>/` -- the eval cases. `evals/README.md` -- how to run them.
- `.github/workflows/ci.yml`, `plugin-check.yml`, `secret-scan.yml`.
- `docs/ux/skill-structure.md`, `docs/ux/agent-structure.md`, `docs/ux/writing-style.md` -- the contracts the checker enforces in part.
Expand Down
2 changes: 1 addition & 1 deletion .ytstack/spec/host-adapters.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ paths:
sources:
- docs/codex.md
- docs/kimi.md
verified_at: 9d8b398
verified_at: fd19fca
---

# host-adapters
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.11.0] - 2026-11-15

### Added

- **Every incident ends with a lesson** (issue #53): the new skill
Expand Down Expand Up @@ -947,6 +949,7 @@ model). Research basis: `docs/research/2026-11-07-modernisierung-best-practices.
`.ytstack/` artifact model (PROJECT / DECISIONS / KNOWLEDGE / STATE /
milestone-slice-task hierarchy).

[0.11.0]: https://github.com/Yesterday-AI/ytstack/compare/v0.10.0...v0.11.0
[0.10.0]: https://github.com/Yesterday-AI/ytstack/compare/v0.9.2...v0.10.0
[0.9.2]: https://github.com/Yesterday-AI/ytstack/compare/v0.9.1...v0.9.2
[0.9.1]: https://github.com/Yesterday-AI/ytstack/compare/v0.9.0...v0.9.1
Expand Down
2 changes: 1 addition & 1 deletion QUICKSTART.md
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ After every update:

Then, by the version you come from (newest first; coming from an older one, do every block down to yours):

- **From 0.10.x** (the release after 0.10.0): nothing to migrate. A coordinator that rotates hands its PR watches to the successor with `bin/ytstack-pr-watch handover --from claude:<old session id>`. `finish-lane` and `code-review` now post the review record lines in the review body on the pull request, and `ytstack-risk route --pr <n>` reads them from there, so a repository where agents may not write in the main checkout can route `unattended`. A plan under `plans/` shows up in `bin/ytstack-plans scan`; `reconcile` offers to map it (step 5 above).
- **From 0.10.x** (to 0.11.0): nothing to migrate. Incident records closed before 0.11.0 have no `lesson:` line; `ytstack-signals check` lists them as warnings, not failures. Set `upstream_feedback` in `PREFERENCES.md` (or `~/.ytstack/config`) only if you want something other than `suggest`. A coordinator that rotates hands its PR watches to the successor with `bin/ytstack-pr-watch handover --from claude:<old session id>`. `finish-lane` and `code-review` now post the review record lines in the review body on the pull request, and `ytstack-risk route --pr <n>` reads them from there, so a repository where agents may not write in the main checkout can route `unattended`. A plan under `plans/` shows up in `bin/ytstack-plans scan`; `reconcile` offers to map it (step 5 above).
- **From 0.9.x:** standing instructions can live as one file each in `.ytstack/standing/` (0.10.0). `STANDING.md` keeps working; nothing to move. After the first entry: `bin/ytstack-check --standing`.
- **From 0.9.0 or 0.9.1:** a Claude Code session that registered with its bare id had its PR watch notices stored for a Codex thread and never saw them. Run one `register` in that session (a coordinator: `register --repo OWNER/REPO --all-open`, without `--session`); it moves those watches and their notices (0.9.2).
- **From 0.9.0 or older:** a session that ran when the PR watch was switched on registered nothing. Restart it; the coordinator then runs `register --repo OWNER/REPO --all-open` once (0.9.1).
Expand Down
Loading
Loading