@inventarch/compliance 3.3.0 → 3.4.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"host-plugin.d.ts","sourceRoot":"","sources":["../src/host-plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,OAAO,CAAC;AAClC,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAC/C,eAAO,MAAM,aAAa,uDAAuD,CAAC;AAClF,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;IACjD,4GAA4G;IAC5G,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,uGAAuG;IACvG,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAkMD,8GAA8G;AAC9G,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,iBAAiB,EACxB,QAAQ,GAAE,MAAM,CAAC,QAA2B,GAC3C,SAAS,UAAU,EAAE,CAkDvB"}
1
+ {"version":3,"file":"host-plugin.d.ts","sourceRoot":"","sources":["../src/host-plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,OAAO,CAAC;AAClC,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAC/C,eAAO,MAAM,aAAa,uDAAuD,CAAC;AAClF,MAAM,WAAW,iBAAiB;IAChC,iFAAiF;IACjF,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,UAAU,GAAG,KAAK,GAAG,SAAS,CAAC;IACjD,4GAA4G;IAC5G,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,uGAAuG;IACvG,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AA0OD,8GAA8G;AAC9G,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,iBAAiB,EACxB,QAAQ,GAAE,MAAM,CAAC,QAA2B,GAC3C,SAAS,UAAU,EAAE,CAkDvB"}
@@ -8,17 +8,57 @@ export const CLAUDE_MARKETPLACE = 'inventarch';
8
8
  export const PLUGIN_MARKER = '<!-- Generated by ia host --user; do not edit. -->';
9
9
  const json = (value) => JSON.stringify(value, null, 2) + '\n';
10
10
  const skill = (name, description, body) => `---\nname: ${name}\ndescription: ${JSON.stringify(description)}\n---\n\n${PLUGIN_MARKER}\n\n${body}`;
11
- const INIT = skill('init', "Offer to initialize an InventArch workspace in this repository, or record the user's answer. Use only when the user's request involves InventArch, .ia records or their governance.", [
12
- "1. Run `ia doctor --json --host claude` and read its `session` field. If this directory is already a workspace, say so and stop. If the session context reports that the user declined initialization here, today or forever, do not offer to initialize: continue with the user's request, and initialize only if the user explicitly asks to in this conversation.",
13
- '2. Ask the user one question with three choices: initialize now; not today; never for this repository.',
14
- '3. Initialize now: run `ia init "<repository root>" --host claude` and show the plan, where `<repository root>` is the absolute path of this project, not the shell\'s current directory. Only after the user confirms it, run `ia init "<repository root>" --apply --yes --host claude`.',
15
- '4. Not today: run `ia init "<repository root>" --decline today --host claude`, then continue with the user\'s request without offering again.',
16
- '5. Never: run `ia init "<repository root>" --decline forever --host claude`. Do not offer again.',
17
- '6. Never search the drive, parent directories or other repositories for `.ia` trees or IA tooling. If `ia` is not found, say so and repeat the install instruction from the session context.',
11
+ // The hook-up procedure: ground, ask, apply, reconcile the repository's own files, then check. Every write is shown
12
+ // first and made only after the user confirms it, so every --apply it names carries --yes.
13
+ const INIT = skill('init', "Hook this repository up to InventArch: initialize it, or register an existing workspace with Claude Code and Codex, then reconcile .gitignore and the agent instructions and check the result with ia doctor; or record the user's answer. Use only when the user's request involves InventArch, .ia records or their governance, or asks to install or set up InventArch here.", [
14
+ 'Follow the steps in order. A step that writes shows its plan or diff first and writes only after the user confirms it. Never commit or push.',
15
+ '',
16
+ '## 1. Ground',
17
+ '',
18
+ "1. `<repository root>` is the absolute path of this project, not the shell's current directory; every command names it.",
19
+ "2. Choose one CLI and use it for every command. When the root `package.json` pins `@inventarch/cli` and `node_modules/@inventarch/cli` is installed, run `npx --no-install ia` from the root and say which version it is; when it is pinned but not installed, ask to run the repository's package install first. Otherwise run `ia`. Never mix them: a registration made by one version reads as stale to another.",
20
+ '3. Run `ia doctor --json --host claude --root "<repository root>"` and read `session`, `checks` and `nextActions`. If the session context reports that the user declined initialization here, today or forever, do not offer to initialize: continue with the user\'s request, and go on only if the user explicitly asks to in this conversation.',
21
+ "4. Read, changing nothing: whether `.ia/src` exists, the root `.gitignore`, `AGENTS.md` and `CLAUDE.md`, `.mcp.json` and `.codex/config.toml`. A file with a line that starts `<!-- Generated by ia` is IA's; any other is the user's.",
22
+ '',
23
+ '## 2. Plan',
24
+ '',
25
+ 'Ask the questions that apply in one round:',
26
+ '',
27
+ '- Without `.ia/src`: initialize now; not today; never for this repository.',
28
+ "- Hosts: Claude Code only; Claude Code and Codex. Codex's projection is a generated, machine-local `AGENTS.md`, and IA never overwrites the user's own. When the user's `AGENTS.md` is at the root, ask which: keep it, so Codex gets the MCP server and no packet; hand it to IA, moving its guidance into `CLAUDE.md`, which Codex does not read; or leave Codex out.",
29
+ "- When doctor's source-protection row warns: protect `.ia/src/**` from Write, Edit and MultiEdit with an authored `@hook`, so a subagent cannot edit beyond what its mandate grants; or leave it and keep the warning. Codex registers no hooks, so the guard covers Claude Code only.",
30
+ '',
31
+ 'Then list every command and file change you will make, and ask once to go ahead.',
32
+ '',
33
+ 'Not today: run `ia init "<repository root>" --decline today --host claude`, then continue with the user\'s request without offering again. Never: run `ia init "<repository root>" --decline forever --host claude` and do not offer again. Either ends these steps.',
34
+ '',
35
+ '## 3. Apply',
36
+ '',
37
+ '1. Without `.ia/src`, run `ia init "<repository root>" --host claude` and show the plan. Only after the user confirms it, run `ia init "<repository root>" --apply --yes --host claude`. With `.ia/src`, do the same with `ia host claude --root "<repository root>"` and `ia host claude --root "<repository root>" --apply --yes`.',
38
+ '2. Codex, when chosen: the same with `ia host codex --root "<repository root>"`. When its plan refuses a file IA did not write, stop and ask; move the user\'s file only as they chose in step 2, keeping its content, and untrack it with `git rm --cached` only then.',
39
+ '3. Source protection, when chosen: run `ia position --shape governance --root "<repository root>"`, read the schema with `ia vocabulary hook --schema`, and show the record with `ia preview hook <name> meaning.says=... meaning.answers=... hook.event=PreToolUse "hook.tools=[Write, Edit, MultiEdit]" \'hook.paths=[".ia/src/**"]\' hook.message=... --at .ia/src/hooks.ia --root "<repository root>"`; a list field takes a bracketed list. `ia author` refuses `@hook`, an administrative word an owner writes in source: after the user confirms, write exactly the previewed record and run `ia validate --root "<repository root>"`. The preview omits the file\'s first line, so a new file starts with the same `#! ia <major>.<minor>` line as the other `.ia/src` files. Never edit any other `.ia/src` file this way. Then apply `ia host claude` again as in 1.',
40
+ "4. Read the `command` the apply recorded in `.mcp.json` and `.codex/config.toml`. When it is under a directory that lasts only one shell, such as fnm's `fnm_multishells`, say so and apply again from a shell whose `node` is a lasting path.",
41
+ '',
42
+ '## 4. Reconcile',
43
+ '',
44
+ '1. `.gitignore`: the host plan names the files it writes as machine-local. Take those and the `files` of `.ia/distributions/hosts/<host>-receipt.json`, drop what `git check-ignore` already ignores, and propose one block in the root `.gitignore` headed `# InventArch: machine-local host files`. A listed file git already tracks stays tracked: name it and leave `git rm --cached` to the user. Say that `.ia/src`, `.ia/release.json`, `.ia/.gitignore`, `.ia/distributions.lock.json` and any archive the lock names outside `.ia/distributions` belong in git.',
45
+ "2. Agent instructions: never edit IA's files. In the user's own `AGENTS.md` and `CLAUDE.md`:",
46
+ " - for each `AGENTS.md` of the user's, at the root or in a folder, with no `CLAUDE.md` beside it, offer a `CLAUDE.md` holding `@AGENTS.md`, so Claude Code reads the same guidance;",
47
+ ' - when neither says so, offer one short paragraph: this is an InventArch workspace, its position packet is generated at `.claude/rules/ia-workspace.md` (for Codex, `AGENTS.md`), the CLI chosen in step 1 is the one to run, and `.ia/src` changes go through `ia preview` and `ia author`;',
48
+ ' - quote each sentence that contradicts what was just set up, such as one that forbids the generated agents or skills, the MCP server or the CLI that ran, and ask the user what is now allowed; change it only to what they say.',
49
+ '3. The block lists files, so an apply that generates new agents or skills needs it again: running these steps again changes only what is missing.',
50
+ '',
51
+ '## 5. Check',
52
+ '',
53
+ '1. Run `ia doctor --root "<repository root>"` and `ia validate --root "<repository root>"`. Explain each row that is not ok. A row\'s remedy is a command: offer it, and run one that changes files only after the user confirms it.',
54
+ "2. Tell the user to reload the window and approve the project's `ia-workspace` MCP server when Claude Code asks. Until a session starts it, doctor reports the registration as written but not observed answering, because doctor never starts a server.",
55
+ '3. Report what was written, what is now ignored, what to commit, and each warning left with its reason.',
56
+ '',
57
+ 'Never search the drive, parent directories or other repositories for `.ia` trees or IA tooling. If `ia` is not found, say so and repeat the install instruction from the session context.',
18
58
  '',
19
59
  ].join('\n'));
20
60
  const DOCTOR = skill('doctor', 'Report and explain the InventArch state of this environment and workspace.', [
21
- "Run `ia doctor` and explain each row that is not ok. A row's remedy is a command: offer to run it, never run a remedy that changes files without the user's confirmation. `ia doctor` never repairs anything itself.",
61
+ "Run `ia doctor` and explain each row that is not ok. A row's remedy is a command: offer to run it, never run a remedy that changes files without the user's confirmation. `ia doctor` never repairs anything itself. When the repository pins `@inventarch/cli` and it is installed, run that one (`npx --no-install ia`), because another version reads its registration as stale. A host registered but not observed answering is expected until the user reloads the window and approves the project's `ia-workspace` MCP server.",
22
62
  '',
23
63
  ].join('\n'));
24
64
  const AUTHORING = skill('authoring', 'How to author or check .ia records in an initialized workspace: find vocabulary, validate records and inspect an admitted record.', [
@@ -1 +1 @@
1
- {"version":3,"file":"host-plugin.js","sourceRoot":"","sources":["../src/host-plugin.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,MAAM,CAAC,MAAM,aAAa,GAAG,IAAI,CAAC;AAClC,MAAM,CAAC,MAAM,kBAAkB,GAAG,YAAY,CAAC;AAC/C,MAAM,CAAC,MAAM,aAAa,GAAG,oDAAoD,CAAC;AAqBlF,MAAM,IAAI,GAAG,CAAC,KAAc,EAAU,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC;AAC/E,MAAM,KAAK,GAAG,CAAC,IAAY,EAAE,WAAmB,EAAE,IAAY,EAAU,EAAE,CACxE,cAAc,IAAI,kBAAkB,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,YAAY,aAAa,OAAO,IAAI,EAAE,CAAC;AAExG,MAAM,IAAI,GAAG,KAAK,CAChB,MAAM,EACN,qLAAqL,EACrL;IACE,sWAAsW;IACtW,wGAAwG;IACxG,2RAA2R;IAC3R,+IAA+I;IAC/I,kGAAkG;IAClG,8LAA8L;IAC9L,EAAE;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAC;AACF,MAAM,MAAM,GAAG,KAAK,CAClB,QAAQ,EACR,4EAA4E,EAC5E;IACE,sNAAsN;IACtN,EAAE;CACH,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAC;AACF,MAAM,SAAS,GAAG,KAAK,CACrB,WAAW,EACX,mIAAmI,EACnI;IACE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GAAG,EAAE,KAAK,CAAC,UAAU;gBACrB,OAAO,EAAE,KAAK,CAAC,OAAO;gBACtB,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,OAAO,EAAE,KAAK,CAAC,OAAO;aACvB,CAAC;SACH;QACD,EAAE,IAAI,EAAE,sCAAsC,EAAE,IAAI,EAAE,SAAS,EAAE;QACjE,EAAE,IAAI,EAAE,mCAAmC,EAAE,IAAI,EAAE,MAAM,EAAE;QAC3D,EAAE,IAAI,EAAE,iCAAiC,EAAE,IAAI,EAAE,IAAI,EAAE;KACxD,CAAC;IACF,OAAO,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACjE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inventarch/compliance",
3
- "version": "3.3.0",
3
+ "version": "3.4.1",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -96,13 +96,13 @@
96
96
  "LANGUAGE.md"
97
97
  ],
98
98
  "dependencies": {
99
- "@inventarch/language": "3.3.0",
100
- "@inventarch/graph": "3.3.0"
99
+ "@inventarch/language": "3.4.1",
100
+ "@inventarch/graph": "3.4.1"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@types/node": "^22.19.0",
104
104
  "typescript": "^5.9.3",
105
- "vitest": "^4.1.4"
105
+ "vitest": "^4.1.12"
106
106
  },
107
107
  "license": "Apache-2.0",
108
108
  "engines": {