@jaybeeuu/agent-cortex 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (154) hide show
  1. package/.beads/README.md +81 -0
  2. package/.beads/config.yaml +1 -0
  3. package/.beads/issues.jsonl +236 -0
  4. package/.beads/metadata.json +7 -0
  5. package/.claude-plugin/marketplace.json +16 -0
  6. package/.github/workflows/ci.test.ts +217 -0
  7. package/.github/workflows/ci.yml +35 -0
  8. package/.github/workflows/publish.yml +36 -0
  9. package/.junie/guidelines.md +87 -0
  10. package/.junie/mcp/mcp.json +10 -0
  11. package/AGENTS.md +102 -0
  12. package/CHANGELOG.md +705 -0
  13. package/README.md +209 -0
  14. package/agents/README.md +235 -0
  15. package/agents/plan.agent.md +56 -0
  16. package/agents/ralph-plan.agent.md +119 -0
  17. package/agents/ralph.agent.md +305 -0
  18. package/agents/strategy.agent.md +109 -0
  19. package/agents-native/ralph.md +193 -0
  20. package/bin/agent-cortex.mjs +27 -0
  21. package/claude/.claude-plugin/plugin.json +11 -0
  22. package/claude/.mcp.json +18 -0
  23. package/claude/agents/plan.md +56 -0
  24. package/claude/agents/ralph-plan.md +119 -0
  25. package/claude/agents/ralph.md +193 -0
  26. package/claude/agents/strategy.md +109 -0
  27. package/claude/hooks.json +23 -0
  28. package/claude/scripts/statusline-command.sh +124 -0
  29. package/docs/ideas/auto-model-selection.md +75 -0
  30. package/docs/ideas/improve-pi-system-prompt.md +34 -0
  31. package/docs/ideas/model-selector.md +40 -0
  32. package/docs/ideas/pi-task-memory.md +34 -0
  33. package/docs/ideas/qa-extension.md +43 -0
  34. package/docs/inspirations.md +33 -0
  35. package/docs/research/gas-city-research.md +256 -0
  36. package/docs/research/skill-design-research.md +286 -0
  37. package/docs/research/skill-improvements-analysis.md +117 -0
  38. package/docs/research/skill-patterns-research.md +24 -0
  39. package/docs/skills/skill-anatomy.md +149 -0
  40. package/docs/user-preferences.md +17 -0
  41. package/extensions/agent-modes/index.ts +507 -0
  42. package/extensions/auto-name.ts +107 -0
  43. package/extensions/context-loader.md +35 -0
  44. package/extensions/context-loader.ts +65 -0
  45. package/extensions/lib/tiny-model.ts +212 -0
  46. package/extensions/notify/index.ts +293 -0
  47. package/extensions/session-start.ts +44 -0
  48. package/extensions/skill-stats/README.md +74 -0
  49. package/extensions/skill-stats/context-loader.test.ts +107 -0
  50. package/extensions/skill-stats/discover.ts +119 -0
  51. package/extensions/skill-stats/format.ts +13 -0
  52. package/extensions/skill-stats/index.test.ts +452 -0
  53. package/extensions/skill-stats/index.ts +222 -0
  54. package/extensions/skill-stats/package.json +19 -0
  55. package/extensions/skill-stats/pnpm-lock.yaml +329 -0
  56. package/extensions/skill-stats/record.ts +48 -0
  57. package/extensions/skill-stats/store.ts +104 -0
  58. package/extensions/skill-stats/tsconfig.json +12 -0
  59. package/extensions/subagent/README.md +175 -0
  60. package/extensions/subagent/agents/planner.md +37 -0
  61. package/extensions/subagent/agents/reviewer.md +35 -0
  62. package/extensions/subagent/agents/scout.md +50 -0
  63. package/extensions/subagent/agents/worker.md +24 -0
  64. package/extensions/subagent/agents.ts +126 -0
  65. package/extensions/subagent/index.ts +1138 -0
  66. package/extensions/subagent/prompts/implement-and-review.md +10 -0
  67. package/extensions/subagent/prompts/implement.md +10 -0
  68. package/extensions/subagent/prompts/scout-and-plan.md +9 -0
  69. package/hooks.json +10 -0
  70. package/lib/cli.mjs +37 -0
  71. package/package.json +39 -0
  72. package/pi/keybindings.json +3 -0
  73. package/pi/settings.json +29 -0
  74. package/plugin.json +35 -0
  75. package/pnpm-workspace.yaml +7 -0
  76. package/scripts/build-claude-agents.mjs +179 -0
  77. package/scripts/install-instructions.sh +82 -0
  78. package/skills/engineering/design-an-interface/SKILL.md +94 -0
  79. package/skills/engineering/grill-with-docs/SKILL.md +88 -0
  80. package/skills/engineering/improve-codebase-architecture/REFERENCE.md +78 -0
  81. package/skills/engineering/improve-codebase-architecture/SKILL.md +81 -0
  82. package/skills/engineering/tdd/SKILL.md +150 -0
  83. package/skills/engineering/tdd/deep-modules.md +33 -0
  84. package/skills/engineering/tdd/interface-design.md +31 -0
  85. package/skills/engineering/tdd/mocking.md +59 -0
  86. package/skills/engineering/tdd/refactoring.md +10 -0
  87. package/skills/engineering/tdd/tests.md +61 -0
  88. package/skills/engineering/technical-direction/SKILL.md +86 -0
  89. package/skills/planning/classify-bead/SKILL.md +67 -0
  90. package/skills/planning/create-task/SKILL.md +96 -0
  91. package/skills/planning/create-task/pipeline.json +33 -0
  92. package/skills/planning/create-task/scripts/create-chores.ts +112 -0
  93. package/skills/planning/create-task/scripts/package.json +14 -0
  94. package/skills/planning/create-task/scripts/pnpm-lock.yaml +342 -0
  95. package/skills/planning/create-task/scripts/tsconfig.json +12 -0
  96. package/skills/planning/create-task/templates/code.md +40 -0
  97. package/skills/planning/create-task/templates/document.md +40 -0
  98. package/skills/planning/create-task/templates/fix.md +27 -0
  99. package/skills/planning/create-task/templates/review.md +36 -0
  100. package/skills/planning/create-task/templates/verify.md +43 -0
  101. package/skills/planning/prd-to-tasks/SKILL.md +227 -0
  102. package/skills/planning/record-idea/SKILL.md +62 -0
  103. package/skills/planning/record-idea/scripts/new-idea.sh +89 -0
  104. package/skills/planning/request-refactor-plan/SKILL.md +73 -0
  105. package/skills/planning/write-a-prd/SKILL.md +74 -0
  106. package/skills/planning/write-a-ticket/SKILL.md +97 -0
  107. package/skills/productivity/bd-tool/SKILL.md +90 -0
  108. package/skills/productivity/grill-me/SKILL.md +10 -0
  109. package/skills/productivity/handoff/SKILL.md +15 -0
  110. package/skills/productivity/init-beads/SKILL.md +93 -0
  111. package/skills/productivity/teach/GLOSSARY-FORMAT.md +35 -0
  112. package/skills/productivity/teach/LEARNING-RECORD-FORMAT.md +46 -0
  113. package/skills/productivity/teach/MISSION-FORMAT.md +31 -0
  114. package/skills/productivity/teach/RESOURCES-FORMAT.md +32 -0
  115. package/skills/productivity/teach/SKILL.md +109 -0
  116. package/skills/productivity/validate-agent-dir/scripts/package.json +15 -0
  117. package/skills/productivity/validate-agent-dir/scripts/pnpm-lock.yaml +329 -0
  118. package/skills/productivity/validate-agent-dir/scripts/pnpm-workspace.yaml +2 -0
  119. package/skills/productivity/validate-agent-dir/scripts/tsconfig.json +19 -0
  120. package/skills/productivity/validate-agent-dir/scripts/validate-agent-dir.test.ts +317 -0
  121. package/skills/productivity/validate-agent-dir/scripts/validate-agent-dir.ts +127 -0
  122. package/skills/productivity/write-a-skill/SKILL.md +74 -0
  123. package/skills/review/maintain-agent-docs/REFERENCE.md +246 -0
  124. package/skills/review/maintain-agent-docs/SKILL.md +83 -0
  125. package/skills/review/refactor-skill/EXAMPLES.md +20 -0
  126. package/skills/review/refactor-skill/SKILL.md +148 -0
  127. package/skills/review/review-security/SKILL.md +107 -0
  128. package/skills/review/review-security/scripts/install-gitleaks.sh +43 -0
  129. package/skills/style/style-code/REFERENCE.md +38 -0
  130. package/skills/style/style-code/SKILL.md +113 -0
  131. package/skills/style/style-comms/SKILL.md +93 -0
  132. package/skills/style/style-documentation/SKILL.md +112 -0
  133. package/skills/style/style-tests/SKILL.md +97 -0
  134. package/skills/workflow/git-workflow/SKILL.md +85 -0
  135. package/skills/workflow/hitl-collab/SKILL.md +29 -0
  136. package/skills/workflow/plan/SKILL.md +272 -0
  137. package/skills/workflow/ralph/REFERENCE.md +202 -0
  138. package/skills/workflow/ralph/SKILL.md +105 -0
  139. package/skills/workflow/run-pipeline-stage/SKILL.md +151 -0
  140. package/skills/workflow/run-pipeline-stage/playbooks/code.md +17 -0
  141. package/skills/workflow/run-pipeline-stage/playbooks/document.md +18 -0
  142. package/skills/workflow/run-pipeline-stage/playbooks/fix.md +17 -0
  143. package/skills/workflow/run-pipeline-stage/playbooks/review.md +19 -0
  144. package/skills/workflow/run-pipeline-stage/playbooks/verify.md +14 -0
  145. package/skills/workflow/run-pipeline-stage/prompts/stage-runner.md +20 -0
  146. package/skills/workflow/run-pipeline-stage/scripts/generate-progress.test.ts +783 -0
  147. package/skills/workflow/run-pipeline-stage/scripts/generate-progress.ts +586 -0
  148. package/skills/workflow/run-pipeline-stage/scripts/package.json +15 -0
  149. package/skills/workflow/run-pipeline-stage/scripts/pnpm-lock.yaml +342 -0
  150. package/skills/workflow/run-pipeline-stage/scripts/pnpm-workspace.yaml +2 -0
  151. package/skills/workflow/run-pipeline-stage/scripts/tsconfig.json +12 -0
  152. package/skills/workflow/using-agent-skills/SKILL.md +109 -0
  153. package/skills/workflow/using-agent-skills/scripts/validate-skill-structure.test.ts +73 -0
  154. package/test/cli.test.mjs +149 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1,705 @@
1
+ # Changelog
2
+
3
+ All notable changes to this repository are documented in this file.
4
+
5
+ ## 1.36.0
6
+
7
+ ### Added
8
+
9
+ - **`agents/README.md`** — new ADR defining the composable agent directory format.
10
+ Documents file layout (`agent.md` + per-harness `frontmatter.json` + section files),
11
+ frontmatter schema (required: `name`, `description`, `tools`; optional: `model`,
12
+ `argumentHint`), token format (`{{TOOL:name}}`, `{{PATH:name}}`, `{{SECTION:name}}`),
13
+ composition rules, and migration path.
14
+ - **`skills/productivity/validate-agent-dir/`** — new validation script with 21 tests
15
+ covering frontmatter schema validation, agent directory structure validation,
16
+ and token format extraction.
17
+
18
+ ## 1.35.1
19
+
20
+ ### Changed
21
+
22
+ - **`.github/workflows/publish.yml`** — replaced `NPM_TOKEN` secret auth with
23
+ npm Trusted Publishing (OIDC). The publish job now grants `contents: read`
24
+ + `id-token: write` permissions and runs Node 24 / setup-node v6
25
+ (npm >= 11.5.1, required for OIDC). The publish step packs with
26
+ `pnpm pack` and uploads the tarball with `npm publish` (pnpm 11's OIDC
27
+ publish path is broken — pnpm#11513). Publishing no longer needs a
28
+ long-lived npm token in repository secrets.
29
+ - **`.github/workflows/ci.test.ts`** — updated publish-workflow assertions to
30
+ expect the OIDC shape: `contents: read` + `id-token: write` permissions,
31
+ `pnpm pack` + `npm publish`, and no `NPM_TOKEN` / `NODE_AUTH_TOKEN`
32
+ references.
33
+
34
+ ### Fixed
35
+
36
+ - **`pnpm-workspace.yaml`** — `allowBuilds.esbuild` held a placeholder string
37
+ (`set this to true or false`) that made `pnpm install` fail with
38
+ `ERR_PNPM_IGNORED_BUILDS` under pnpm 11. Replaced with `false` (matching
39
+ the other `allowBuilds` entries) so local installs and the `pnpm lint` /
40
+ `pnpm test` / `pnpm build` pipeline run cleanly.
41
+
42
+ ## 1.35.0
43
+
44
+ ### Added
45
+
46
+ - **`.github/workflows/publish.yml`** — new npm publish workflow that
47
+ triggers on GitHub release publication. Sets up Node with npm registry
48
+ authentication, runs lint/test/build, then publishes via `pnpm publish`.
49
+ Requires `NPM_TOKEN` secret in repository settings.
50
+ - **`.github/workflows/ci.test.ts`** — validation tests for CI and
51
+ publish workflow structure, plus package.json publish configuration.
52
+ - **`package.json`** — removed `private: true` and added `build` and
53
+ `lint` scripts, `publishConfig` with public access, and `tsx`/`yaml`
54
+ devDependencies for workflow tests.
55
+
56
+ ### Changed
57
+
58
+ - **`.github/workflows/ci.yml`** — renamed the `tests` job to `checks` and
59
+ replaced the `Typecheck` step with `Lint` + `Build` steps.
60
+
61
+ ## 1.34.0
62
+
63
+ ### Added
64
+
65
+ - **`extensions/session-start.ts`** — now dynamically loads project context
66
+ files (AGENTS.md, docs/user-preferences.md) and injects them into the
67
+ session at startup. Agent gets baseline project context without manual
68
+ file reads.
69
+ - **`extensions/context-loader.ts`** — new utility module for reading and
70
+ formatting context files from the project root.
71
+ - **`extensions/skill-stats/context-loader.test.ts`** — tests for the
72
+ context-loader module (9 tests).
73
+
74
+ ## 1.33.0
75
+
76
+ ### Added
77
+
78
+ - **`bin/agent-cortex.mjs`** — new CLI entrypoint for agent-cortex.
79
+ Accepts `agent-cortex install <harness>` where harness is one of
80
+ `copilot`, `claude`, or `pi`. Includes `--help` / `-h` support and
81
+ proper error handling for unknown commands and harnesses.
82
+ - **`lib/cli.mjs`** — CLI logic module with argument parsing, help text,
83
+ and harness validation.
84
+ - **`test/cli.test.mjs`** — 21 tests covering unit logic and CLI
85
+ integration (Node built-in test runner).
86
+
87
+ ## 1.32.2
88
+
89
+ ### Fixed
90
+
91
+ - **`skills/workflow/run-pipeline-stage/`** — corrected stale path references
92
+ (`skills/run-pipeline-stage/...` → `skills/workflow/run-pipeline-stage/...`)
93
+ in the ralph agent and skill docs so the documented commands resolve from
94
+ the repo root.
95
+ - **`extensions/skill-stats/`** — skill discovery and read-path resolution
96
+ now handle the domain-grouped skills layout (`skills/<domain>/<name>/`)
97
+ introduced by the reorganisation. `scanSkills` recurses into subdirectories
98
+ and the path heuristic accepts nested skill paths, so reads of skills like
99
+ `skills/workflow/run-pipeline-stage/SKILL.md` are correctly attributed in
100
+ usage stats instead of being dropped as unknown.
101
+
102
+ ## 1.32.1
103
+
104
+ ### Fixed
105
+
106
+ - **`skills/style/style-tests/`** — fixed a YAML parse error in the skill's
107
+ `description` front-matter (an unquoted colon followed by a space) that
108
+ broke skill discovery on startup. Replaced the colon with an em dash.
109
+
110
+ ## 1.32.0
111
+
112
+ ### Added
113
+
114
+ - **`skills/workflow/using-agent-skills/`** — new meta-skill that routes
115
+ incoming work to the right skill and enforces core agent behaviors
116
+ (surface assumptions, manage confusion, push back, enforce simplicity,
117
+ maintain scope discipline, verify don't assume). Adapted from upstream
118
+ `addyosmani/agent-skills` with agent-cortex skill names and conventions.
119
+ Includes a decision-tree workflow, lifecycle sequence, and structural
120
+ validation tests.
121
+ - **`extensions/session-start.ts`** — now injects a reference to the
122
+ `using-agent-skills` meta-skill at session start so agents can orient
123
+ on available workflows without loading full skill content.
124
+
125
+ ## 1.31.1
126
+
127
+ ### Fixed
128
+
129
+ - **`skills/planning/create-task/SKILL.md`** — the documented `create-chores.ts`
130
+ invocation used `pnpm --prefix skills/create-task/scripts exec tsx`, which runs
131
+ with cwd set to the scripts dir. `bd` resolves its beads DB from cwd, so this
132
+ made the script create chores against the skill repo's own `.beads` instead of
133
+ the target project's — failing with `parent issue not found` for any project
134
+ other than agent-cortex itself. Invocation now runs the `tsx` binary by
135
+ absolute path (resolved from wherever the skill is actually installed, not
136
+ hardcoded to one harness) so cwd stays in the target project. Also dropped
137
+ the stale example path, which was missing the `planning/` segment from the
138
+ domain-grouping reorg.
139
+
140
+ ## 1.31.0
141
+
142
+ ### Changed
143
+
144
+ - **`agents-native/ralph.md`**, **`claude/agents/ralph.md`**,
145
+ **`skills/planning/classify-bead/SKILL.md`** — ralph now checks
146
+ `bd label list <id>` itself before treating a ready bead as AFK/HITL,
147
+ only falling back to the `classify-bead` subagent when the
148
+ `implementation-type` label is missing. The `classify-bead` subagent and
149
+ ralph's Fix worker now run on `model: haiku` (rubric lookup / scoped
150
+ mechanical edits, not full reasoning), while Implementer and Reviewer
151
+ keep the default model.
152
+
153
+ ## 1.30.2
154
+
155
+ ### Fixed
156
+
157
+ - **`skills/planning/create-task/scripts/create-chores.ts`** — pipeline stage
158
+ chores (`code`/`verify`/`review`/`document`) were created with `--ephemeral`.
159
+ `bd ready` excludes ephemeral issues by default, so ralph's documented plain
160
+ `bd ready` calls never surfaced this work — it was invisible, not blocked.
161
+ Stage chores are now plain (non-ephemeral) beads. Updated
162
+ `skills/productivity/bd-tool/SKILL.md` and `.agent-cortex/ralph/ubiquitous-language.md`
163
+ to match.
164
+
165
+ ## 1.30.1
166
+
167
+ ### Fixed
168
+
169
+ - **`claude/hooks.json`** — Claude Code rejects `prompt`-type hooks for
170
+ `SessionStart` (no conversation context exists yet at startup). Switched
171
+ both SessionStart hooks to `command`-type, echoing their text to stdout so
172
+ Claude Code still injects it into session context.
173
+
174
+ ## 1.29.0
175
+
176
+ ### Fixed
177
+
178
+ - **`agents/ralph.agent.md`**, **`skills/workflow/ralph/SKILL.md`**,
179
+ **`skills/workflow/ralph/REFERENCE.md`** — strengthened subagent
180
+ spawning instructions to make it unambiguous that the `task` tool is
181
+ the ONLY mechanism. Added explicit tool reference guide at the top of
182
+ the ralph agent prompt with call format examples. All language now
183
+ reads "call the `task` tool" instead of "spawn a subagent".
184
+ - **`extensions/subagent/index.ts`** — fixed `StringEnum` import that
185
+ prevented the subagent extension from loading in PI v0.80.2, causing
186
+ the `task` and `read_agent` tools to be unavailable.
187
+
188
+ ## 1.28.0
189
+
190
+ ### Added
191
+
192
+ - **`agents/plan.agent.md`** — new plan agent that guides features from
193
+ first discussion through PRD and task breakdown to classified beads
194
+ ready for ralph. Uses the `plan` skill as its workflow with explicit
195
+ phase gates. Auto-discovered by the agent-modes extension as `/agent plan`.
196
+
197
+ ## 1.27.0
198
+
199
+ ### Added
200
+
201
+ - **`extensions/subagent/`** — new PI extension that registers a `subagent`
202
+ custom tool for delegating tasks to isolated agent processes. Supports
203
+ single, parallel (up to 8 tasks, 4 concurrent), and chained execution
204
+ modes with streaming output and usage tracking.
205
+ - **`task` and `read_agent` tools** — added to the subagent extension for
206
+ Copilot CLI compatibility. `task` spawns a background subagent and returns
207
+ an ID immediately; `read_agent` retrieves the output when ready. This lets
208
+ the ralph agent's background-spawn-and-poll workflow work identically in
209
+ PI and Copilot CLI.
210
+
211
+ ## 1.26.0
212
+
213
+ ### Added
214
+
215
+ - **`extensions/agent-modes/`** — new PI extension that makes Copilot CLI
216
+ agents (ralph, ralph-plan, strategy) available as switchable PI modes.
217
+ Each mode restricts tools per the agent's frontmatter, injects the full
218
+ agent prompt on every turn, and shows a status indicator.
219
+ Commands: `/agent` (selector), `/agent <name>` (direct switch),
220
+ `Ctrl+Shift+A` (cycle), `--agent <name>` (CLI flag).
221
+
222
+ ## 1.25.0
223
+
224
+ ### Added
225
+
226
+ - **`docs/user-preferences.md`** — new file recording personal development
227
+ preferences (package manager, tooling choices) so both Copilot CLI agents
228
+ and PI coding agents make decisions aligned with the user's habits.
229
+ Initial entry: prefer PNPM over npm.
230
+
231
+ ### Changed
232
+
233
+ - **`AGENTS.md`** — added a User Preferences section pointing agents to
234
+ `docs/user-preferences.md` before making tooling or workflow decisions.
235
+ - **`extensions/session-start.ts`** — PI sessions now automatically inject
236
+ a reference to `docs/user-preferences.md` so agents know to check it for
237
+ personal tooling context.
238
+
239
+ ## 1.24.3
240
+
241
+ ### Changed
242
+
243
+ - **ralph: skip epic branch for single-feature epics** — when an epic has only one feature
244
+ task child, ralph now branches `feature/<parent-id>` directly from `origin/main` and opens
245
+ the PR straight into `main`, avoiding the awkward two-hop review. Epic branches are only
246
+ created when there are two or more feature tasks.
247
+
248
+ ## 1.24.2
249
+
250
+ ### Added
251
+
252
+ - **`~/.copilot/copilot-instructions.md` setup** — a new `scripts/install-instructions.sh`
253
+ script writes proactive skill-trigger rules into the global Copilot instructions file.
254
+ Skills are now applied automatically (style, tdd, bd, review-security, etc.) without
255
+ needing to invoke them by name. Re-run with `pnpm install` or
256
+ `bash scripts/install-instructions.sh` to update. The managed block is marker-delimited
257
+ so it coexists safely with any other content in the instructions file.
258
+
259
+ ## 1.24.1
260
+
261
+ ### Fixed
262
+
263
+ - **Fixed broken `pipeline.json` path in ralph skills** — all references to
264
+ `skills/create-task/pipeline.json` have been updated to the correct path
265
+ `skills/planning/create-task/pipeline.json`. Affected files:
266
+ `skills/workflow/ralph/SKILL.md`, `skills/workflow/ralph/REFERENCE.md`,
267
+ `skills/workflow/run-pipeline-stage/SKILL.md`, `agents/ralph.agent.md`,
268
+ and `.agent-cortex/ralph/ubiquitous-language.md`.
269
+
270
+ ## 1.24.0
271
+
272
+ ### Added
273
+
274
+ - **New `plan` skill** — guides a feature from idea through PRD and task breakdown to
275
+ classified beads ready for ralph execution, then produces a handoff bead ID. Covers
276
+ the full workflow: codebase investigation, PRD creation, vertical-slice task
277
+ breakdown, bead classification and pipeline expansion, and handoff preparation.
278
+ Invoke with "plan this", "get this ready for ralph", or use it when starting a new
279
+ feature that needs scoping before autonomous execution.
280
+
281
+ ## 1.23.0
282
+
283
+ ### Fixed
284
+
285
+ - **`extensions/notify/` now works on Windows/WSL** — switched from terminal OSC sequences
286
+ (which Windows Terminal doesn't handle natively) to direct PowerShell toast notifications
287
+ via `execFileSync`. Notifications use `ToastText04` template for proper multiline display:
288
+ title (path · tmux), session name, and summary appear as separate lines.
289
+ - **Notification now persists on screen** — Windows toasts use `scenario="persistent"` so
290
+ they stay visible until dismissed.
291
+ - **Error handling in notification summary** — if the LLM summary or config loading fails,
292
+ the notification still fires with the raw response text as a fallback.
293
+
294
+ ### Changed
295
+
296
+ - **`extensions/notify/` signature refactored** — `sendDesktopNotification` now accepts
297
+ a `sections` array instead of a pre-joined body string, allowing each notification
298
+ backend to format sections appropriately for its platform.
299
+ - **`pi/settings.json`** — `.pi/settings.json` is now tracked as the canonical global
300
+ pi config symlinked from `~/.pi/agent/settings.json`.
301
+
302
+ ## 1.22.0
303
+
304
+ ### Added
305
+
306
+ - **`extensions/lib/tiny-model.ts`** — new shared module with config loading
307
+ and LLM helpers for making cheap side-agent calls. Reads a `tinyModel`
308
+ config key from settings.json (global + project merged). Provides
309
+ `generateNameFromPrompt()` and `summarizeResponseText()` backed by the
310
+ `complete()` function from `@earendil-works/pi-ai`.
311
+ - **`pi/settings.json`** — added `tinyModel` config key defaulting to
312
+ `opencode/mimo-v2.5-free`, our tiniest free configured model.
313
+
314
+ ### Changed
315
+
316
+ - **`extensions/auto-name.ts`** — rewritten to use the configured tiny model
317
+ for LLM-generated session titles instead of simple truncation. On the first
318
+ user prompt, calls the side agent asynchronously and falls back to
319
+ truncation if the model is unavailable or the call fails. Existing names
320
+ (set via `--name` or `/name`) are never overwritten.
321
+ - **`extensions/notify/`** — notification format is now multiline:
322
+ `path \n session-name \n summary`. The summary is generated by the
323
+ configured tiny model (extracting text from the last assistant response),
324
+ falling back to word-broken truncation. The path line always shows a
325
+ truncated full path (e.g. `~/src/agent-cortex`). The tmux
326
+ session:window.pane identifier remains as the notification title.
327
+
328
+ ## 1.21.0
329
+
330
+ ### Added
331
+
332
+ - **`pi/settings.json` is now tracked and is the canonical global pi config** —
333
+ it's symlinked from `~/.pi/agent/settings.json`. All `pi install` / `pi remove`
334
+ and provider/model settings are version-controlled and reproducible on a fresh
335
+ checkout.
336
+ - **`extensions/notify/` now handles desktop notifications** — replaced the
337
+ `pi-notify` npm dependency with a local extension that sends OSC desktop
338
+ notifications on multi-turn tasks. Notifications are labelled with the tmux
339
+ session:window.pane identifier when available, or the project directory name
340
+ otherwise.
341
+ - **`pi/settings.json` pins versions** for `pi-web-access` (package deps are
342
+ deliberate commits, not drift).
343
+ - **README** — documented the global config symlink setup, redeploy
344
+ instructions, and package dependencies.
345
+ - **`.gitignore`** — removed `pi/settings.json` ignore rule so the global
346
+ config is tracked. Added `.pi/npm/` and `.pi/node_modules/` for project-level
347
+ install artifacts.
348
+
349
+ ### Removed
350
+
351
+ - **`pi-notify` dependency** — replaced by local `extensions/notify/` which
352
+ provides the same OSC desktop notification functionality with customisable
353
+ labels (tmux context or project name).
354
+
355
+ ## 1.20.0
356
+
357
+ ### Added
358
+
359
+ - **`extensions/notify/`** — new pi extension that emits a terminal bell when pi
360
+ finishes a multi-turn task (≥2 turns or ≥30s runtime). Tmux catches this via
361
+ `monitor-bell` + `visual-bell` and shows "Bell in window X", so you can
362
+ navigate directly to pi's session/window with `y`/`g`.
363
+
364
+ ### Changed
365
+
366
+ - **Zsh theme** — replaced naive bell-on-every-precmd with a threshold approach:
367
+ only ring bell if last command ran ≥10 seconds. Prevents noise from `cd`, `ls`,
368
+ and pi's internal bash tool calls.
369
+ - **Tmux config** — enabled `allow-passthrough on` so OSC 777/99/9 escape sequences
370
+ pass through to the terminal emulator (needed by `pi-notify` and
371
+ `copilot-plugin-notify`). Simplified `g`/`G` bindings to plain session cycling.
372
+
373
+ ## 1.19.0
374
+
375
+ ### Added
376
+
377
+ - **`git-workflow` skill** — defines the default git discipline: feature branches,
378
+ git worktrees for isolation, and PRs for all changes. Auto-loaded every session
379
+ via a new `before_agent_start` extension.
380
+ - **`extensions/session-start.ts`** — general session-start extension that injects
381
+ `git-workflow` and `bd-tool` skills into `systemPromptOptions.skills` so the
382
+ agent always has workflow context available. The place to add future
383
+ session-start concerns.
384
+
385
+ ## 1.18.1
386
+
387
+ ### Fixed
388
+
389
+ - **Removed stale nexus references from skills and docs** — the
390
+ `improve-codebase-architecture` skill was broken: it spawned `agent-cortex:nexus`
391
+ sub-agents that don't exist. Rewrote to use direct tool-based exploration and
392
+ inline interface design instead. Also cleaned up stale `nexus.agent.md` refs in
393
+ `README.md`, `docs/inspirations.md`, and research docs.
394
+
395
+ ## 1.18.0
396
+
397
+ ### Changed
398
+
399
+ - **Grouped skills into domain subdirectories** — the flat listing was unwieldy. Skills
400
+ now live under `planning/`, `engineering/`, `productivity/`, `style/`, `workflow/`,
401
+ and `review/`. Discovery is recursive, so no config changes needed.
402
+ - Updated `AGENTS.md` structure diagram.
403
+
404
+ ### Removed
405
+
406
+ - **Removed `obsidian-vault` skill** — never used.
407
+
408
+ ## 1.17.0
409
+
410
+ ### Added
411
+
412
+ - **New skill: `grill-me`** — lightweight grilling session for stress-testing plans and
413
+ designs (no CONTEXT.md/ADR scaffolding). Imported from mattpocock/skills.
414
+ - **New skill: `handoff`** — compacts the current conversation into a handoff document
415
+ for another agent to pick up. Imports from mattpocock/skills.
416
+ - **New skill: `teach`** — multi-session teaching workspace with lessons, reference docs,
417
+ learning records, and glossary support. Imports from mattpocock/skills.
418
+ - **New PI extension: `skill-stats`** — tracks skill usage across PI sessions. Records when
419
+ skills are loaded, invoked via `/skill:name`, or actively read by the LLM. Data stored in
420
+ `~/.pi/agent-cortex/skill-usage.json` with per-project breakdowns. Provides `/skill-stats`
421
+ dashboard and `/skill-usage-reset`. Useful for identifying unused context-budget burners.
422
+ - **Added `package.json` with `pi` manifest** — the repo is now installable as a PI
423
+ package. Extensions and skills are auto-discovered by PI.
424
+
425
+ ### Removed
426
+
427
+ - **Removed `ubiquitous-language` skill** — superseded by `grill-with-docs` which builds
428
+ and maintains `CONTEXT.md` inline with more structure (term glossary, ADRs, scenario
429
+ probing). All cross-references updated to point to `grill-with-docs` instead.
430
+
431
+ ### Changed
432
+
433
+ - Updated cross-references in `style-code`, `tdd`, `ralph-plan.agent.md`, and
434
+ `docs/research/skill-design-research.md` to use `grill-with-docs` instead of
435
+ `ubiquitous-language`.
436
+ - Updated `AGENTS.md` structure diagram to reflect new and removed skills.
437
+
438
+ ## 1.16.0
439
+
440
+ ### Added
441
+
442
+ - New `skills/prd-to-tasks/SKILL.md` — merges `prd-to-plan`, `plan-to-epics`, and `epic-to-tasks`
443
+ into a single skill that takes a PRD and produces the full bead tree (epics + tasks) in one
444
+ pass. Epics are the source of truth; no intermediate plan file.
445
+ - Recorded terminology decisions in `.agent-cortex/ralph/ubiquitous-language.md`: epic/task/stage
446
+ hierarchy, pipeline definition, and canonical term glossary.
447
+
448
+ ### Removed
449
+
450
+ - Removed `skills/prd-to-plan/` — superseded by `prd-to-tasks`.
451
+ - Removed `skills/plan-to-epics/` — superseded by `prd-to-tasks`.
452
+ - Removed `skills/epic-to-tasks/` — superseded by `prd-to-tasks`.
453
+
454
+ ### Changed
455
+
456
+ - **Renamed `skills/beads/` → `skills/bd-tool/`**: clarifies this is about `bd` CLI mechanics
457
+ (prime, show, claim, close), not bead concepts. Removed classification section
458
+ (AFK/HITL/NEEDS-REFINEMENT) — delegated to `classify-bead` skill.
459
+ - **Renamed `skills/run-beads/` → `skills/run-pipeline-stage/`**: clarifies this is a generic
460
+ pipeline stage executor, not TDD-specific. Removed classification section. Pipeline stages
461
+ aligned with canonical `pipeline.json` (`code → verify → review → document`). Internal paths
462
+ updated throughout (playbooks, prompts, scripts).
463
+ - **Reconciled pipeline definitions**: `run-pipeline-stage` SKILL.md now references
464
+ `skills/create-task/pipeline.json` as the canonical pipeline source. Stage IDs
465
+ (`stage:code`, `stage:verify`, `stage:review`, `stage:document`) now match what
466
+ `create-chores.ts` creates. Fix loop caps read from `pipeline.json`'s `maxFixRounds`.
467
+ - `ralph.agent.md`: updated all `run-beads` references to `run-pipeline-stage`; replaced
468
+ classification reference with `classify-bead` skill; updated dispatch rules to 4-stage
469
+ pipeline; TDD loop cap removed, fix caps aligned to `pipeline.json`.
470
+ - `skills/ralph/REFERENCE.md`, `skills/ralph/SKILL.md`: updated path references to
471
+ `run-pipeline-stage`.
472
+ - `skills/create-task/templates/*.md`: updated progress logging cross-references from
473
+ `run-beads` to `run-pipeline-stage`.
474
+ - `AGENTS.md`: updated directory tree and agent delegation description.
475
+ - `.github/workflows/ci.yml`: replaced per-skill install/test/typecheck steps with a single
476
+ workspace setup (`pnpm install --frozen-lockfile`, `pnpm typecheck`, `pnpm test`).
477
+ Created root `package.json` and `pnpm-workspace.yaml` to unify all `skills/*/scripts`
478
+ directories as a pnpm workspace.
479
+ - `agents/ralph-plan.agent.md` step 1: replaced `prd-to-plan` reference with `prd-to-tasks`;
480
+ when input is a PRD, skip to step 7 (agree with user) since the skill handles exploration
481
+ and breakdown internally.
482
+ - `agents/ralph-plan.agent.md` step 6: replaced `epic-to-tasks` with `prd-to-tasks` for large
483
+ workstreams.
484
+ - Updated `docs/research/skill-design-research.md` — removed stale references to removed
485
+ skills from line-count stats, split candidates, and multi-phase skill list.
486
+
487
+ ## 1.15.0
488
+
489
+ ### Changed
490
+
491
+ ### Changed
492
+
493
+ - Rewrote `skills/beads/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Philosophy / rationale`, `Workflow`, `Red Flags`, `Common Rationalizations`, `Cross-skill references`, `Examples`, and `Verification checklist`; removed MCP server references; restructured existing key-commands reference and epics guidance into canonical workflow with phase separation.
494
+
495
+ ### Removed
496
+
497
+ - Removed `beads` MCP server from `plugin.json` — CLI-based usage is the primary interface.
498
+
499
+ ## 1.14.0
500
+
501
+ ### Removed
502
+
503
+ - Removed `skills/triage-issue/` — the dedicated bug triage skill. After review, the
504
+ investigation steps are what a competent agent does by default; the few real conventions
505
+ (severity tagging) are now inlined into `ralph-plan.agent.md`.
506
+
507
+ ### Changed
508
+
509
+ - `agents/ralph-plan.agent.md` step 3: replaced `triage-issue` invocation with inline
510
+ investigation instructions.
511
+ - `agents/ralph-plan.agent.md` step 6: added severity tagging (`bd tag <id> severity:<p0|p1|p2|p3>`)
512
+ for bug/regression beads, with a severity-to-priority map.
513
+ - Updated `docs/research/skill-design-research.md` — removed `triage-issue` from the list of
514
+ argument-hint candidates.
515
+
516
+ ## 1.13.0
517
+
518
+ ### Removed
519
+
520
+ - Removed `skills/qa/` — the conversational QA session skill. Was unused; bug filing is better
521
+ done directly via `create-task`.
522
+
523
+ ### Changed
524
+
525
+ - Rewrote `skills/triage-issue/SKILL.md` to the anatomy template with deepened investigation
526
+ (subsequently removed in 1.14.0).
527
+ - Updated `docs/research/skill-design-research.md` — removed `qa` from line-count stats and
528
+ split-candidate list.
529
+
530
+ ## 1.12.0
531
+
532
+ ### Changed
533
+
534
+ - Rewrote `skills/review-security/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Philosophy / rationale`, `Workflow`, `Red Flags`, `Common Rationalizations`, `Cross-skill references`, `Examples`, and `Verification checklist`; restructured existing gitleaks commands into canonical workflow with scope-selection table.
535
+
536
+ ## 1.11.0
537
+
538
+ ### Changed
539
+
540
+ - Rewrote `skills/tdd/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Philosophy / rationale`, `Red Flags`, `Common Rationalizations`, `Cross-skill references`, `Examples`, `Phase-gate checklists`, and `Verification checklist`; reorganised existing workflow into canonical structure.
541
+
542
+ ## 1.10.0
543
+
544
+ ### Changed
545
+
546
+ - Rewrote `skills/style-tests/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Philosophy / rationale`, `Workflow`, `Red Flags`, `Common Rationalizations`, `Cross-skill references`, `Examples`, and `Verification checklist`; restructured existing principles into ordered workflow steps.
547
+
548
+ ## 1.9.0
549
+
550
+ ### Changed
551
+
552
+ - Rewrote `skills/style-documentation/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Philosophy / rationale`, `Workflow`, `Red Flags`, `Common Rationalizations`, `Cross-skill references`, `Examples`, and `Verification checklist`; tightened the documentation philosophy into clear decision rules.
553
+
554
+ ### Fixed
555
+
556
+ - Revised `skills/style-code/SKILL.md` abstraction guidance: Red Flag now says "across multiple callers" and Common Rationalizations clarifies "at least a third real caller" as the threshold for promoting a local helper to a shared module.
557
+
558
+ ## 1.8.0
559
+
560
+ ### Changed
561
+
562
+ - Rewrote `skills/style-code/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Philosophy / rationale`, `Workflow`, `Red Flags`, `Common Rationalizations`, `Cross-skill references`, `Examples`, and `Verification checklist`; restructured existing reference sections into ordered workflow steps; added `REFERENCE.md` for extended examples.
563
+
564
+ ## 1.7.0
565
+
566
+ ### Changed
567
+
568
+ - Rewrote `skills/style-comms/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Philosophy / rationale`, `Workflow`, `Cross-skill references`, `Examples`, and `Verification checklist` sections; restructured existing reference content into ordered workflow steps; added good/bad example pairs; updated description to the canonical two-sentence format with quoted trigger phrases.
569
+
570
+ ## 1.6.0
571
+
572
+ ### Changed
573
+
574
+ - Rewrote `skills/write-a-skill/SKILL.md` to the anatomy template: added `When to use`, `When NOT to use`, `Red Flags`, `Cross-skill references`, and `Examples` sections; renamed `Process` → `Workflow` and `Review checklist` → `Verification checklist`; converted body to imperative second-person voice; added quoted trigger phrases to description.
575
+
576
+ ## 1.5.1
577
+
578
+ ### Removed
579
+
580
+ - Removed `write-a-skill guidance deltas` test block from `skills/run-beads/scripts/generate-progress.test.ts` — it tested markdown file content, not code.
581
+
582
+ ## 1.5.0
583
+
584
+ ### Added
585
+
586
+ - New `refactor-skill` interactive skill that upgrades existing SKILL.md files to the canonical anatomy template through gap analysis, user interview on optional sections, and one-pass rewrite.
587
+
588
+ ## 1.4.1
589
+
590
+ ### Removed
591
+
592
+ - Removed `skills/run-beads/scripts/ralph-plan-planning-gate.test.ts` — the test was invalid/bunkum and did not belong in the PR.
593
+
594
+ ## 1.4.0
595
+
596
+ ### Added
597
+
598
+ - Added a GitHub MCP server entry to `plugin.json` so the plugin can talk to GitHub through a stdio MCP process launched with `pnpm dlx`.
599
+ - Documented the integration through the version bump so downstream installs pick up the new server registration.
600
+
601
+ ## 1.3.0
602
+
603
+ ### Changed
604
+
605
+ - Tightened `agent-cortex:ralph-plan` Step 6 so every feature/task planning gate must stay open until the user explicitly confirms that specific item, and gate descriptions must be cold-start-ready (scope, decisions, open questions/risks, references).
606
+ - Tightened `agent-cortex:ralph-plan` Step 7 so plan handoff output includes per-gate status (`✅`/`⏳`) and an explicit warning whenever any planning gates remain open and still block ralph handoff.
607
+
608
+ ### Added
609
+
610
+ - Added `skills/run-beads/scripts/ralph-plan-planning-gate.test.ts` assertions that lock in the Step 6/7 confirmation, cold-start context, and open-gate warning requirements.
611
+
612
+ ## 1.2.1
613
+
614
+ ### Changed
615
+
616
+ - Removed tracked `.agent-cortex/working-docs/.gitkeep` so planning scratch space stays out of source control.
617
+ - Updated `run-beads` promotion regression tests to verify promoted docs are absent from any local `.agent-cortex/working-docs` paths without requiring that directory to exist in a checkout.
618
+
619
+ ## 1.2.0
620
+
621
+ ### Added
622
+
623
+ - Promoted `skill-design-research.md` and `skill-improvements-analysis.md` into `docs/research/` and added Inspirations backlinks from every research doc.
624
+
625
+ ### Changed
626
+
627
+ - Reworked `docs/skills/skill-anatomy.md` to document optional-section facets, enforce `When NOT to use` adjacency, and end with a full annotated template.
628
+ - Updated `skills/write-a-skill/SKILL.md` with new line-limit guidance, voice/tone rules, front-matter field coverage, and checklist alignment to anatomy requirements.
629
+ - Updated `docs/inspirations.md` to link all promoted research docs.
630
+
631
+ ## 1.1.0
632
+
633
+ ### Added
634
+
635
+ - Added `docs/skills/skill-anatomy.md` as the canonical anatomy specification, including an annotated template and acceptance checklist.
636
+ - Added `docs/research/skill-patterns-research.md` to centralize research-backed rationale for skill structure patterns.
637
+
638
+ ### Changed
639
+
640
+ - Updated `skills/write-a-skill/SKILL.md` to align with canonical anatomy guidance, explicit description rules, and line-limit/voice expectations.
641
+ - Updated `docs/inspirations.md` to include required links to internal research docs under `docs/research/`.
642
+
643
+ ## 1.0.0
644
+
645
+ ### Changed
646
+
647
+ - Removed the `prd-to-epics` skill to eliminate overlap with the `prd-to-plan` → `plan-to-epics` flow and keep one canonical decomposition path.
648
+
649
+ ## 0.40.1
650
+
651
+ ### Changed
652
+
653
+ - `run-beads` tests no longer assert markdown output string matches in `generate-progress.test.ts`.
654
+
655
+ ## 0.40.0
656
+
657
+ ### Fixed
658
+
659
+ - `generate-progress.ts` script path: all `pnpm --prefix … exec tsx generate-progress.ts` references now use the absolute installed-plugin path (`~/.copilot/installed-plugins/_direct/agent-cortex/…`) plus `--workspace "$(pwd)"`. This fixes script execution when ralph runs in a user's project workspace where the relative `skills/run-beads/scripts` path does not exist.
660
+ - `generate-progress.ts` workspace path: replaced `--workspace "$(pwd)"` with an explicit variable pattern (`workspace="/absolute/path"`) in all instruction files (`ralph.agent.md`, `skills/ralph/SKILL.md`, `skills/run-beads/SKILL.md`, `skills/ralph/REFERENCE.md`). Also fixed the `> .agent-cortex/ralph/progress.md` output redirect to use the same variable (`> "$workspace/.agent-cortex/ralph/progress.md"`). Prevents agents from simplifying `$(pwd)` to `.`, which caused the wrong `.beads` database to be found when running under `pnpm --prefix`.
661
+
662
+ ### Changed
663
+
664
+ - `record-idea` skill: idea files are now written to `docs/ideas/` instead of `.agent-cortex/ralph/ideas/` so they are tracked by git.
665
+
666
+ ### Fixed
667
+
668
+ - `ralph` agent and skill: enforce foreground-only execution — ralph now warns and requests re-run if accidentally invoked as a background task.
669
+ - `ralph` agent: HITL Pause now kills any running poll-timer shell before stopping, so the timer can no longer fire and wake ralph up after it has paused. The action required per bead now explicitly instructs `bd close <id>` so it is clear what the human must do to unblock ralph.
670
+
671
+ ### Added
672
+
673
+ - Agent rule: maintain `CHANGELOG.md` and update it in the same commit as any repository change.
674
+ - New `technical-direction` skill for collaborative technical design: challenges assumptions, derives constraints from codebase context, evaluates alternatives (including autonomous web research when needed), and writes decision memos to `docs/technical-direction/`.
675
+ - New `agent-cortex:strategy` agent that creates top-level design documents across vision brief (`docs/strategy/`), PRD (`docs/prd/`), and technical direction, with evidence-backed tradeoffs before `ralph-plan`.
676
+ - New `hitl-collab` skill to produce HITL handoff docs under `.agent-cortex/working-docs/` and optionally update bead notes when details are missing.
677
+
678
+ ### Added
679
+
680
+ - New `style-tests` skill
681
+
682
+ ### Changed
683
+
684
+ - `ralph` agent and skill: when fully blocked on HITL gate beads (feature PR gates or epic PR gates) with no AFK work remaining, ralph now outputs a **Pending Human Action** summary table (bead ID, title, action needed, PR link) and stops — instead of idling the poll timer in a loop.
685
+ - `record-idea` skill: replaced validity-check interview questions with why/how/when/priority framing; updated template to match.
686
+ - Skills updated to use `.agent-cortex/ralph/`
687
+ - Ralph now opens and reports feature PRs immediately at the HITL gate (agent-branch → feature branch) instead of waiting to push.
688
+ - Ralph now creates feature worktrees under `.agent-cortex/worktrees/` instead of `.worktrees/`.
689
+ - Ralph planning scratchpad notes now live under `.agent-cortex/working-docs/` (no more `.working-docs/`).
690
+ - Ralph now bases epic branches (and thus worktrees) on the latest `origin/main` rather than local `main`.
691
+ - CI now runs run-beads tests/typechecks and create-task typechecks on pull requests and main.
692
+
693
+ ### Fixed
694
+
695
+ - CI workflow no longer assumes `pnpm` is preinstalled when setting up Node.
696
+
697
+ - `ralph` agent (agents/ralph.agent.md) now uses a chore-bead-per-stage model consistent with `skills/ralph/`. Each pipeline stage creates its own chore bead on-demand; `stage:*` tags live on chore beads, not on the parent feature bead. `state.json` inflight entries now track `choreId`+`parentId` instead of a single `beadId`. Loop counts (TDD loops, fix rounds) are derived from `bd children` queries rather than counters in state.
698
+
699
+ Both the `run-beads` pipeline (ralph agent) and the `ralph` skill pipeline now create feedback beads on failure; the orchestrator sees them as ordinary ready beads and only needs to enforce loop caps before dispatching. The `fix` prompt templates (`run-beads/prompts/fixing.md` and `create-task/templates/fix.md`) now read required changes from `bd show <id>` rather than from injected REPORT content.
700
+
701
+ - Ralph now stores incidental orchestrator artifacts under `.agent-cortex/ralph/` (logs, progress snapshots, and state) instead of the repository root.
702
+ - Ralph, run-beads, and stage prompt templates now consistently point progress logging to `.agent-cortex/ralph/ralph-<bead-id>.log`.
703
+ - Git ignore guidance now standardizes on ignoring `.agent-cortex/` so incidental runtime files stay out of source control.
704
+ - Skills that generate non-repo working artifacts now target `.agent-cortex/ralph/` (plans, idea records, and ubiquitous-language glossary) instead of `.working-docs/` or `docs/`.
705
+ - `technical-direction` now requires a `References` section when external evidence informs decisions, including web URLs and code line-level references.