From 4d371a98ade04f68a047609428f294e56e3d9fde Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 3 Oct 2026 02:21:06 +0000 Subject: [PATCH] chore: regenerate SKILL.md and context budget after manifest state-root globs --- design-consultation/SKILL.md | 2 +- design-shotgun/SKILL.md | 2 +- investigate/SKILL.md | 4 ++-- office-hours/SKILL.md | 6 +++--- plan-ceo-review/SKILL.md | 2 +- retro/SKILL.md | 4 ++-- test/fixtures/context-budget.json | 14 +++++++------- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/design-consultation/SKILL.md b/design-consultation/SKILL.md index 3cd1673c8..7f71fb9ed 100644 --- a/design-consultation/SKILL.md +++ b/design-consultation/SKILL.md @@ -26,7 +26,7 @@ gbrain: render_as: "## Existing DESIGN.md (if any)" - id: prior-design-decisions kind: filesystem - glob: "~/.gstack/projects/{repo_slug}/*-design-*.md" + glob: "{gstack_state_root}/projects/{repo_slug}/*-design-*.md" sort: mtime_desc limit: 3 render_as: "## Prior design decisions for this project" diff --git a/design-shotgun/SKILL.md b/design-shotgun/SKILL.md index 24b3b1dbf..05607f5e7 100644 --- a/design-shotgun/SKILL.md +++ b/design-shotgun/SKILL.md @@ -30,7 +30,7 @@ gbrain: render_as: "## DESIGN.md (project design system)" - id: recent-design-docs kind: filesystem - glob: "~/.gstack/projects/{repo_slug}/*-design-*.md" + glob: "{gstack_state_root}/projects/{repo_slug}/*-design-*.md" sort: mtime_desc limit: 3 render_as: "## Recent design docs" diff --git a/investigate/SKILL.md b/investigate/SKILL.md index 7a9a05f4f..18f429ad7 100644 --- a/investigate/SKILL.md +++ b/investigate/SKILL.md @@ -44,12 +44,12 @@ gbrain: render_as: "## Prior investigations in this repo" - id: project-learnings kind: filesystem - glob: "~/.gstack/projects/{repo_slug}/learnings.jsonl" + glob: "{gstack_state_root}/projects/{repo_slug}/learnings.jsonl" tail: 10 render_as: "## Recent learnings (patterns + pitfalls)" - id: recent-eureka kind: filesystem - glob: "~/.gstack/analytics/eureka.jsonl" + glob: "{gstack_state_root}/analytics/eureka.jsonl" tail: 5 render_as: "## Recent eureka moments (cross-project)" --- diff --git a/office-hours/SKILL.md b/office-hours/SKILL.md index 0de969e06..2d6b8ae39 100644 --- a/office-hours/SKILL.md +++ b/office-hours/SKILL.md @@ -30,17 +30,17 @@ gbrain: render_as: "## Prior office-hours sessions in this repo" - id: builder-profile kind: filesystem - glob: "~/.gstack/developer-profile.json" + glob: "{gstack_state_root}/developer-profile.json" render_as: "## Your builder profile snapshot" - id: design-doc-history kind: filesystem - glob: "~/.gstack/projects/{repo_slug}/*-design-*.md" + glob: "{gstack_state_root}/projects/{repo_slug}/*-design-*.md" sort: mtime_desc limit: 3 render_as: "## Recent design docs for this project" - id: prior-eureka kind: filesystem - glob: "~/.gstack/analytics/eureka.jsonl" + glob: "{gstack_state_root}/analytics/eureka.jsonl" tail: 5 render_as: "## Recent eureka moments" --- diff --git a/plan-ceo-review/SKILL.md b/plan-ceo-review/SKILL.md index 61a376067..8f2be845f 100644 --- a/plan-ceo-review/SKILL.md +++ b/plan-ceo-review/SKILL.md @@ -26,7 +26,7 @@ gbrain: render_as: "## Prior CEO plans for this project" - id: recent-design-docs kind: filesystem - glob: "~/.gstack/projects/{repo_slug}/*-design-*.md" + glob: "{gstack_state_root}/projects/{repo_slug}/*-design-*.md" sort: mtime_desc limit: 3 render_as: "## Recent design docs for this project" diff --git a/retro/SKILL.md b/retro/SKILL.md index 00d62f6c9..141bea3cd 100644 --- a/retro/SKILL.md +++ b/retro/SKILL.md @@ -25,12 +25,12 @@ gbrain: render_as: "## Prior retros for this project" - id: recent-timeline kind: filesystem - glob: "~/.gstack/projects/{repo_slug}/timeline.jsonl" + glob: "{gstack_state_root}/projects/{repo_slug}/timeline.jsonl" tail: 30 render_as: "## Recent timeline events" - id: recent-learnings kind: filesystem - glob: "~/.gstack/projects/{repo_slug}/learnings.jsonl" + glob: "{gstack_state_root}/projects/{repo_slug}/learnings.jsonl" tail: 10 render_as: "## Recent learnings" --- diff --git a/test/fixtures/context-budget.json b/test/fixtures/context-budget.json index 5254cdc48..8ba9f0336 100644 --- a/test/fixtures/context-budget.json +++ b/test/fixtures/context-budget.json @@ -1,6 +1,6 @@ { "_comment": "Context-budget ratchet ceilings (~tokens). Regenerate: bun test/helpers/capture-context-budget.ts. Headroom: alwaysOnTotal x1.05, eagerPerInvocation x1.1. Graded by test/context-budget-ratchet.test.ts via lib/context-bill.ts checkBudget.", - "alwaysOnTotal": 6814, + "alwaysOnTotal": 6840, "eagerPerInvocation": { "autoplan": 17212, "benchmark": 7673, @@ -13,10 +13,10 @@ "context-restore": 10492, "context-save": 10284, "cso": 4700, - "design-consultation": 15629, + "design-consultation": 15631, "design-html": 14324, "design-review": 34521, - "design-shotgun": 13876, + "design-shotgun": 13879, "deslop-shared-libs": 3419, "devex-review": 19738, "diagram": 4267, @@ -27,7 +27,7 @@ "gstack-upgrade": 4711, "guard": 939, "health": 11798, - "investigate": 12436, + "investigate": 12441, "ios-clean": 8589, "ios-design-review": 8774, "ios-fix": 8478, @@ -37,21 +37,21 @@ "landing-report": 9301, "learn": 8996, "make-pdf": 5233, - "office-hours": 22616, + "office-hours": 22624, "open-gstack-browser": 4840, "openclaw/skills/gstack-openclaw-ceo-review": 2764, "openclaw/skills/gstack-openclaw-investigate": 1429, "openclaw/skills/gstack-openclaw-office-hours": 4433, "openclaw/skills/gstack-openclaw-retro": 2542, "pair-agent": 11399, - "plan-ceo-review": 21044, + "plan-ceo-review": 21047, "plan-design-review": 20519, "plan-devex-review": 17906, "plan-eng-review": 13521, "plan-tune": 14734, "qa": 13570, "qa-only": 11742, - "retro": 19033, + "retro": 19038, "review": 19562, "scrape": 6876, "setup-browser-cookies": 3497,