claudify-agent 1.0.13 → 1.0.15

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: <HEAD short sha> (<date>)` so `/backbone-sync` can diff from here.
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:` commit in `BACKBONE.md`; run `git log --stat <commit>..HEAD` (and `git status` for uncommitted work);
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: <HEAD short sha> (<date>)`, plus `CLAUDE.md` if slimming) and wait for my approval before writing.
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.
@@ -94,7 +94,9 @@ const TEST_FILE = /(\.(test|spec)\.[cm]?[jt]sx?$)|__tests__|_test\.go$|\.t\.sol$
94
94
 
95
95
  // Only validate turns in which Claude edited files
96
96
  const turn = loadCurrentTurn(input.transcript_path);
97
- const changedFiles = turn ? editedFiles(turn.toolUses) : [];
97
+ // Docs, specs and claudify's own files are not project code: editing them never breaks lint/tests
98
+ const NON_CODE = /(^|\/)(\.claude|spec|openspec|docs)\/|\.(md|mdx|txt|ya?ml)$/;
99
+ const changedFiles = (turn ? editedFiles(turn.toolUses) : []).filter(f => !NON_CODE.test(f));
98
100
 
99
101
  if (changedFiles.length === 0) {
100
102
  console.error("[Auto-Validate] No code changes detected, skipping validation");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claudify-agent",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "Enterprise-grade workflow & context optimization framework for Claude Code, Claude Desktop, and AI coding agents.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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: <commit> (<date>)
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>