feat(agents-canon): AGENTS.md canon everywhere — bootstrap v2.0.0 writes AGENTS.md + CLAUDE.md pointer; 15 skills retarget triggers/rule refs from CLAUDE.md to AGENTS.md (semver bumps); dist rebuilt

This commit is contained in:
2026-08-12 20:36:25 +03:00
parent 6a33542d81
commit e431e9e142
41 changed files with 134 additions and 111 deletions

View File

@@ -1,7 +1,7 @@
---
name: session-inbox-monitor
author: ours
version: 0.4.0
version: 0.4.1
description: >
Raises a persistent Monitor (Monitor tool, NOT background Bash) on the
project's `.agents/inbox/` at the start of an interactive session, so
@@ -9,7 +9,7 @@ description: >
session end on its own. A paired SessionStart hook injects the
raise-instruction and first sweeps orphaned monitors of this inbox (a
`/clear` leaves them running → re-raise would stack duplicates). Triggers:
CLAUDE.md line `inbox monitor: raise on start`, or «подними монитор почты»,
AGENTS.md line `inbox monitor: raise on start`, or «подними монитор почты»,
«настрой авто-монитор инбокса», «raise inbox monitor», «auto-arm inbox
watcher». Headless (`claude -p`): does NOT raise — Monitor doesn't work
there; rely on the Stop-hook inbox pickup + Notify/ntfy. Pi (pi-coding-agent)
@@ -33,7 +33,7 @@ for free on session end. Headless sessions skip it and rely on the pull-model
instruction at the start of every interactive session of an opted-in project.
You act on that injection — raise the monitor as your first action — without a
user phrase.
- **On request.** CLAUDE.md line `inbox monitor: raise on start`, or «подними
- **On request.** AGENTS.md line `inbox monitor: raise on start`, or «подними
монитор почты», «настрой авто-монитор инбокса», «raise inbox monitor»,
«auto-arm inbox watcher».
- **NOT for** handling the content of a received message (→
@@ -84,7 +84,7 @@ for free on session end. Headless sessions skip it and rely on the pull-model
```
- Twin pattern: `poller-interactive-lock-writer` (`interactive-lock.ps1`).
- Opt-in per project: the hook fires only when the project has a `.agents/inbox/`
directory **or** a CLAUDE.md line `inbox monitor: raise on start`.
directory **or** an AGENTS.md line `inbox monitor: raise on start`.
## Failure modes
@@ -144,7 +144,7 @@ capability, but each session only ever touches its own project's inbox.
directory), hot-reload with `/reload`. Test:
`node --experimental-strip-types .common/lib/pi-extensions/inbox-monitor.test.mjs`
(incl. decoy check — another project's inbox is never touched).
- **Opt-in per project** — same as CC: `.agents/inbox/` dir exists OR CLAUDE.md
- **Opt-in per project** — same as CC: `.agents/inbox/` dir exists OR AGENTS.md
line `inbox monitor: raise on start`.
- **PUSH:** 15s poll of the session's own inbox (interactive only). **PULL:**
`agent_settled` sweep — the pi equivalent of the CC Stop-hook pickup. Both