You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 284f782
Browse filesBrowse the repository at this point in the historyBrowse files
fix: fold first-run self-init into copilot-instructions.md (v4.20.1)
A fresh-clone re-test showed v4.20.0's self-init worked for Claude Code (acts on AGENTS.md) but not GitHub Copilot CLI (its 'start' front-loads copilot-instructions.md + summarizes, skipping the AGENTS.md self-init → hook inactive + adapters absent). Folds the first-run init into the top of copilot-instructions.md (the file Copilot reliably front-loads) so it runs 'bash .githooks/init.sh' before summarizing. Still prompt-adherence; the init.sh fallback + CI floor are unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -213,6 +213,7 @@ it in place** — additively, never destructively.
213
213
| 4.18.0 |**`sync skill adapters` is now a runnable script:** a new built-in **`sync-adapters`** skill ships a deterministic adapter-regeneration script (Node + Python at parity) that (re)writes the five vendor adapters for every skill and prunes the orphans it generated. Replaces the prose-recipe-only sync that agents (e.g. Copilot CLI / Gemini) struggled to *run* — they hunted for a non-existent npm/MCP command and flailed. Enable + every Mode B re-enable invoke the script; an agent also triggers it by description. Consistent with `no-build-step-agent-run` (same category as the `memory-lint` script). Surfaced dogfooding `~/sandbox/simple-proxy`|
214
214
| 4.19.0 |**Vendor-neutral ritual triggers:** the after-session ritual no longer depends on the agent self-triggering (which failed in practice — skipped even with Claude; Copilot-only teams had no triggers). Enable installs a committed **`.githooks/post-commit`** (auto-stubs a session log when a commit does real work without one; re-syncs adapters) — **agent-activated** via `core.hooksPath`, zero manual user step — plus a **CI floor** (`.github/workflows/agent-memory.yml`: `memory-lint` + advisory session-log check on push/PR, zero per-user setup). Advisory by default (opt-in `AGENT_MEMORY_STRICT` gate); `no-build-step-agent-run` holds (git/CI invoke them; the tool runs nothing). Honest limit: git can't auto-run hooks on a bare clone → CI is the backstop. Design: `docs/DESIGN-ritual-triggers.md`|
215
215
| 4.20.0 |**First-run init for fresh clones:** a Copilot dogfood showed a fresh clone self-initializes the *memory* bootstrap but not the gitignored adapters or the (unactivated) hook. Adds **`.githooks/init.sh`** (one idempotent command: regenerate adapters + activate the hook) + an **`AGENTS.md` self-init note** so the agent does it on its first session — one step (or one human command) instead of two. CI stays the zero-config floor |
216
+
| 4.20.1 |**Self-init in `copilot-instructions.md`:** v4.20.0's self-init reached Claude but not Copilot CLI (its `start` front-loads `copilot-instructions.md` + summarizes). Folds the first-run init into the top of `copilot-instructions.md` so Copilot runs `bash .githooks/init.sh` before summarizing; the `init.sh` fallback + CI floor are unchanged |
216
217
217
218
218
219
When you "AI enable" a repo that's already on an older version, Mode B detects the
Copy file name to clipboardExpand all lines: UPGRADE.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,7 @@ The current tool version lives in the root **`VERSION`** file (semver):
64
64
| 4.18.0 |**`sync skill adapters` is now a runnable script (MINOR):** a new built-in **`sync-adapters`** skill ships a deterministic adapter-regeneration script (Node + Python at parity, built-ins only) that (re)writes the five vendor adapters for every skill and prunes the orphans it generated. Replaces the prose-recipe-only sync that agents (e.g. Copilot CLI / Gemini) struggled to *run* — they hunted for a non-existent npm/MCP command and flailed. Enable + every Mode B re-enable now invoke the script; an agent also triggers it by description. Consistent with `no-build-step-agent-run` (same category as the `memory-lint` script). Surfaced dogfooding `~/sandbox/simple-proxy`|
65
65
| 4.19.0 |**Vendor-neutral ritual triggers (MINOR):** the after-session ritual no longer relies on the agent self-triggering. Enable installs a committed **`.githooks/post-commit`** (auto-stubs a session log when a commit does real work without one; re-syncs adapters), **agent-activated** via `git config core.hooksPath .githooks` (no manual user step), plus a **CI floor** (`.github/workflows/agent-memory.yml`: `memory-lint` + advisory session-log check on push/PR, zero per-user setup). Advisory by default (opt-in `AGENT_MEMORY_STRICT=1` gate); `no-build-step-agent-run` holds (git/CI invoke them; the tool runs nothing). Honest limit: git can't auto-run hooks on a bare clone → CI is the backstop. From real client-team pain (ritual not followed even with Claude; Copilot-only teams had no triggers) + the zero-manual/untrained-user constraint; design `docs/DESIGN-ritual-triggers.md`|
66
66
| 4.20.0 |**First-run init (MINOR):** closes the fresh-clone activation gap (Copilot dogfood: the memory bootstrap self-initializes, but a clone has the gitignored adapters **absent** + the hook **unactivated**). Adds **`.githooks/init.sh`** (one idempotent command: regenerate adapters + `git config core.hooksPath .githooks`) + an **`AGENTS.md` self-init note** so the agent does it on its first session. One agent-run step (or one human command) instead of two; CI stays the zero-config floor |
67
+
| 4.20.1 |**Self-init in `copilot-instructions.md` (PATCH):** v4.20.0's self-init reached Claude (acts on `AGENTS.md`) but **not Copilot CLI** (its `start` front-loads `copilot-instructions.md` + summarizes — so on a fresh clone the hook stayed inactive + adapters absent). Folds the first-run init into the **top of `copilot-instructions.md`** so Copilot runs `bash .githooks/init.sh` before summarizing. Re-sync that one file; the `init.sh` fallback + CI floor are unchanged |
67
68
68
69
69
70
Each enabled repo records what it is on in **`.agent/version.md`**:
@@ -1116,3 +1117,19 @@ git hook **unactivated** (git can't auto-run committed hooks on clone). No memor
1116
1117
and `mode`.
1117
1118
5.**Report**: first-run init added (`.githooks/init.sh` + the AGENTS.md self-init note); fresh clones now
1118
1119
self-initialize in one agent step (or one human command).
1120
+
1121
+
## Rung: 4.20.0 → 4.20.1 — self-init in `copilot-instructions.md` (PATCH)
1122
+
1123
+
Wording/placement fix to an installed file — no shape change. v4.20.0's self-init note (in `AGENTS.md`)
1124
+
reached Claude Code but **not GitHub Copilot CLI**: a fresh-clone dogfood showed Copilot's `start` is
1125
+
driven by `copilot-instructions.md`'s front-loaded read list, so it loaded memory + summarized without
1126
+
acting on the AGENTS.md self-init (hook stayed inactive, adapters absent).
1127
+
1128
+
1.**Re-sync `.github/copilot-instructions.md`** (from `templates/.github/copilot-instructions.md`) — it
1129
+
now **leads** with a first-run-init block (*run `bash .githooks/init.sh` if `core.hooksPath` is unset /
1130
+
adapters absent, before summarizing*). **If a target's copy is locally customized, merge the block in**
0 commit comments