claudify-agent 1.0.12 → 1.0.14
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.
|
@@ -17,7 +17,9 @@ Draft or refresh `BACKBONE.md` at the project root. Notes from me: $ARGUMENTS
|
|
|
17
17
|
- Invariants: only rules found in docs or that I confirm. Never invent business rules.
|
|
18
18
|
3. Keep it under ~80 lines. Link, never copy.
|
|
19
19
|
4. List what you could not determine as questions, batched in one message.
|
|
20
|
-
5. Set `Last synced
|
|
20
|
+
5. Set the `Last synced:` line so `/backbone-sync` can diff from here:
|
|
21
|
+
- single repo: `Last synced: <date> | <HEAD short sha>`;
|
|
22
|
+
- multi-repo workspace (root is not a git repo): `Last synced: <date> | <repo-dir>@<sha> <repo-dir>@<sha> ...`, one entry per sub-repo.
|
|
21
23
|
6. Slim `CLAUDE.md`: it is loaded every session too, so project facts in it are paid twice. Only touch content OUTSIDE the `<!-- claudify:start -->`…`<!-- claudify:end -->` block. If that content is more than ~30 lines, propose:
|
|
22
24
|
- project facts (overview, repos, structure, commands) → the matching `BACKBONE.md` section;
|
|
23
25
|
- must-follow rules and known traps → `BACKBONE.md` Invariants;
|
|
@@ -6,7 +6,7 @@ argument-hint: [area to focus on]
|
|
|
6
6
|
Sync `BACKBONE.md` with the code as it is now. Focus: $ARGUMENTS
|
|
7
7
|
|
|
8
8
|
1. Find what changed since the last sync:
|
|
9
|
-
- read the `Last synced:`
|
|
9
|
+
- read the `Last synced:` line in `BACKBONE.md`. Single repo `<date> | <sha>`: run `git log --stat <sha>..HEAD` and `git status`. Multi-repo `<date> | <repo>@<sha> ...`: run the same inside each `<repo>` (`git -C <repo> log --stat <sha>..HEAD`); a sub-repo not listed is new, a listed one that is gone was removed;
|
|
10
10
|
- no commit recorded → fall back to the shallow scan of `/backbone-init`.
|
|
11
11
|
Read only the changed files that matter (manifests, new dirs, new docs, CI, public APIs); not every diff line.
|
|
12
12
|
2. Compare against `BACKBONE.md` section by section and list gaps:
|
|
@@ -18,4 +18,4 @@ Sync `BACKBONE.md` with the code as it is now. Focus: $ARGUMENTS
|
|
|
18
18
|
3. Also compare with `spec/specs/*.md` for the touched areas. Report code that contradicts an archived requirement, but do not edit specs: that is my call (fix the code or open a change).
|
|
19
19
|
4. Ask me about anything you cannot decide from evidence, batched in one message. Never invent invariants.
|
|
20
20
|
5. If `CLAUDE.md` outside the claudify block grew past ~30 lines or repeats backbone facts, propose slimming it exactly as in step 6 of `.claude/commands/backbone-init.md`.
|
|
21
|
-
6. Show the diff (`BACKBONE.md` including `Last synced
|
|
21
|
+
6. Show the diff (`BACKBONE.md` including the refreshed `Last synced:` line in the same format, every sub-repo at its current HEAD, plus `CLAUDE.md` if slimming) and wait for my approval before writing.
|
package/package.json
CHANGED
package/templates/BACKBONE.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Loaded every session. A map, not documentation: link to details, never copy them. Keep under ~80 lines.
|
|
4
4
|
> Fill with `/backbone-init`; kept in sync by `/spec-new`, `/spec-archive` and `/learn`; after work done without specs, run `/backbone-sync`.
|
|
5
5
|
|
|
6
|
-
Last synced: <
|
|
6
|
+
Last synced: <date> | <sha> (multi-repo: <date> | <repo>@<sha> <repo>@<sha> ...)
|
|
7
7
|
|
|
8
8
|
## Overview
|
|
9
9
|
- What: <one or two lines: what the system does and for whom>
|