projectstore-claude 0.28.0 โ†’ 0.28.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.
@@ -12,7 +12,7 @@
12
12
  "name": "projectstore",
13
13
  "displayName": "projectstore",
14
14
  "description": "๐Ÿ“š Your agent runs the project through a verified loop: task โ†’ artifact (ADR ยท spec ยท epic ยท story) โ†’ adversarial critic โ†’ backlog โ†’ planner โ†’ reviewer โ†’ done. Plain markdown in an Obsidian-friendly vault, every write approved by you โ€” and any model can pick the project up tomorrow.",
15
- "version": "0.28.0",
15
+ "version": "0.28.1",
16
16
  "author": {
17
17
  "name": "Evgenii Konev",
18
18
  "email": "ekonev@smartandpoint.com",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "projectstore",
3
3
  "displayName": "projectstore",
4
- "version": "0.28.0",
4
+ "version": "0.28.1",
5
5
  "description": "Your agent runs the project through a verified loop: task โ†’ artifact (ADR / spec / epic / story) โ†’ adversarial critic โ†’ backlog โ†’ planner โ†’ reviewer โ†’ done. Plain markdown in git โ€” any model can pick the project up tomorrow.",
6
6
  "author": {
7
7
  "name": "Evgenii Konev @ SmartAndPoint",
@@ -4,7 +4,7 @@
4
4
 
5
5
  [![release](https://img.shields.io/github/v/release/SmartAndPoint/ProjectStore?label=release)](https://github.com/SmartAndPoint/ProjectStore/releases) [![license](https://img.shields.io/github/license/SmartAndPoint/ProjectStore?label=license)](./LICENSE) [![Star on GitHub](https://img.shields.io/badge/%E2%AD%90-star_us-yellow?logo=github)](https://github.com/SmartAndPoint/ProjectStore/stargazers)
6
6
 
7
- A project workflow plugin for [Claude Code](https://claude.com/claude-code) and [OpenAI Codex](https://developers.openai.com/codex/) (experimental).
7
+ A project workflow plugin for [Claude Code](https://claude.com/claude-code) and [OpenAI Codex](https://developers.openai.com/codex/) (experimental). Both are released together at one version, and each installs with one command.
8
8
 
9
9
  ---
10
10
 
@@ -66,6 +66,14 @@ Open Claude Code in your project and say:
66
66
 
67
67
  That's the whole setup. Claude adds the marketplace, installs the plugin, and walks you through binding a vault, scaffolding it and wiring the status line โ€” every step previewed, nothing written without your Yes.
68
68
 
69
+ **On Codex**, run one command from a terminal in your project:
70
+
71
+ ```
72
+ npx projectstore-codex install --project "$PWD"
73
+ ```
74
+
75
+ Then restart Codex, approve the ProjectStore hooks when it asks, and run `$projectstore-bind ~/Documents/my-project-vault`. Codex support is newer and still labelled experimental: [`docs/harnesses.md`](./docs/harnesses.md#codex) says what has been verified and what has not. A project can be worked from both agents: they share the binding in `.projectstore/`, and each keeps its own overlay and session state beside it ([running both over one project](./docs/harnesses.md#running-both-over-one-project)).
76
+
69
77
  <details>
70
78
  <summary>Prefer to type it yourself?</summary>
71
79
 
@@ -88,28 +96,26 @@ npx projectstore-claude install --project "$PWD"
88
96
 
89
97
  The same tree is published to npm as [`projectstore`](https://www.npmjs.com/package/projectstore) โ€” one source package carrying every harness's manifest โ€” and `projectstore-claude` is its Claude Code shell: the core pinned at the same version and bundled inside, the harness fixed, so the one command has the same shape on every harness. It registers the plugin with Claude Code: it writes a small local marketplace of its own under your Claude home, then drives `claude plugin marketplace add` / `plugin install` **at local scope**, so the registration lands in this checkout's `.claude/settings.local.json` and nowhere else. Every host command is printed before it runs; naming the harness is the confirmation. Restart Claude Code afterwards. A git-marketplace copy already enabled for the checkout is silenced there (not globally) so the plugin does not load twice; `uninstall` turns it back on. Pin or upgrade with `npx projectstore-claude@<version> upgrade --project "$PWD"` โ€” the version you name is the version you run. The core's low-level form, `npx projectstore <verb> --harness claude-code โ€ฆ`, is exactly what the shell runs. bun works the same on the packed bin.
90
98
 
91
- **Codex uses its own rendered plugin root and the same one-command shape.**
92
- Codex support is **experimental** (see [`docs/harnesses.md`](./docs/harnesses.md)
93
- for what has been measured and what has not), and its shell is not published
94
- yet. From this checkout, exercise the exact npx path against the built tarball:
99
+ **Codex has its own shell with the same one-command shape:**
100
+ `npx projectstore-codex install --project "$PWD"`. It carries a canonical
101
+ portable manifest, namespaced workflow and role skills, lifecycle hooks, and
102
+ the exact bundled core. It stages a stable marketplace under `CODEX_HOME`,
103
+ drives `codex plugin marketplace add` and `codex plugin add`, then reads the
104
+ installation back and verifies its version and payload digest. Restart Codex,
105
+ approve the hooks, and run `$projectstore-bind <vault-path>`. For later
106
+ releases, `npx projectstore-codex@<version> upgrade --project "$PWD"`. Because
107
+ Codex's plugin registry is user-global, ordinary uninstall removes only the
108
+ project's agents block; `uninstall --global` is the explicit machine-wide
109
+ removal. Codex is **experimental** until a live session has exercised every
110
+ surface it installs; [`docs/harnesses.md`](./docs/harnesses.md) says what has
111
+ been measured and what has not. From a checkout, the same npx path runs against
112
+ a built tarball:
95
113
 
96
114
  ```sh
97
115
  npm run shells:build -- --only projectstore-codex --dev --out dist
98
116
  npx --package "./dist/projectstore-codex-$(node -p 'require("./package.json").version').tgz" projectstore-codex install --project "$PWD"
99
117
  ```
100
118
 
101
- The Codex shell carries a canonical portable manifest, namespaced workflow and
102
- role skills, lifecycle hooks, and the exact bundled core. It stages a stable
103
- marketplace under `CODEX_HOME`, drives `codex plugin marketplace add` and
104
- `codex plugin add`, then reads the installation back and verifies its version
105
- and payload digest. Restart Codex, approve the hooks, and run
106
- `$projectstore-bind <vault-path>`. After the first explicit npm publication,
107
- the shorter command is
108
- `npx projectstore-codex@<version> install --project "$PWD"`; use its `upgrade`
109
- verb for later releases. Because Codex's
110
- plugin registry is user-global, ordinary uninstall removes only the project's
111
- agents block; `uninstall --global` is the explicit machine-wide removal.
112
-
113
119
  The package also carries a `bin`. Without a session โ€” in CI, or in a shell โ€” the same core answers token-free, with a `--json` envelope on every verb:
114
120
 
115
121
  ```
@@ -141,7 +147,7 @@ npx projectstore bind ~/vaults/my-project
141
147
  npx projectstore init ~/vaults/new-project --language ru
142
148
  ```
143
149
 
144
- `projectstore-claude`, `projectstore-codex` and `projectstore-opencode` are this package's per-harness shells โ€” the core pinned and bundled, the harness fixed. Codex's shell is experimental and stays private until a live run has exercised every surface it installs, from an installed release ([`docs/harnesses.md`](./docs/harnesses.md)). The opencode shell publishes after its plugin root is rendered. The other `projectstore-*` names are reserved placeholders pointing back here. One source package, one version, N tarballs.
150
+ `projectstore-claude`, `projectstore-codex` and `projectstore-opencode` are this package's per-harness shells โ€” the core pinned and bundled, the harness fixed. The Claude Code and Codex shells are published at the core's version; Codex stays labelled experimental until a live run has exercised every surface it installs ([`docs/harnesses.md`](./docs/harnesses.md)). The opencode shell publishes after its plugin root is rendered. The other `projectstore-*` names are reserved placeholders pointing back here. One source package, one version, N tarballs.
145
151
  </details>
146
152
 
147
153
  ## Upgrading
@@ -23,8 +23,10 @@ and the measurements in the manifest came from that run.
23
23
  **experimental** means `verified` is `null`. Every field that was not measured
24
24
  is absent or `null` rather than guessed. It is enough to run on; it is not enough
25
25
  to promise. An experimental harness is never the source layout. A generated
26
- adapter may exist while it is experimental, but its distribution shell stays
27
- private until the complete built artifact passes the live gate.
26
+ adapter may exist while it is experimental. Its distribution shell may
27
+ publish before the live run that sets `verified`, but only by the maintainer's
28
+ decision (Codex's does, from 0.28.1); the label stays experimental until that
29
+ run.
28
30
 
29
31
  The label is not prose. It is derived from the manifest, and
30
32
  `tests/portability.test.mjs` fails if this table and `verified` disagree.
@@ -47,10 +49,10 @@ Experimental, measured on `codex-cli 0.153.4`. The initial spike captured 759
47
49
  hook firings. The 2026-09-30 gate then built the npm shell from a packed core,
48
50
  passed Codex's plugin validator, installed and upgraded it through an isolated
49
51
  `CODEX_HOME`, verified the materialised cache by version and digest, and loaded
50
- `$projectstore-status` in a fresh Codex session. The validator (the
52
+ the `projectstore-status` skill in a fresh Codex session. The validator (the
51
53
  plugin-creator skill's `validate_plugin.py`) reads only
52
- `.codex-plugin/plugin.json`, so the canonical root `plugin.json` has not been
53
- validated.
54
+ `.codex-plugin/plugin.json`. The canonical root `plugin.json` was validated
55
+ separately on 2026-10-04, against the schema it declares (Agent Plugins 1.0.0).
54
56
 
55
57
  That run exercised one skill, not every installed surface, so `verified` stays
56
58
  `null`. The hooks are the reason it matters. On 2026-10-03 the first real
@@ -70,23 +72,25 @@ zsh reads `.zshenv` for a `-c` command, not `.zprofile` or `.zshrc`, so a Codex
70
72
  not started from a terminal can miss a `node` that only `.zprofile` puts on
71
73
  `PATH`.
72
74
 
73
- The shell is not published. Build it and install the tarball through npx from
74
- this checkout:
75
+ The shell is published as `projectstore-codex` from 0.28.1, ahead of that live
76
+ run, by the maintainer's decision:
77
+
78
+ ```sh
79
+ npx projectstore-codex install --project "$PWD"
80
+ ```
81
+
82
+ For later releases, `npx projectstore-codex@<version> upgrade --project "$PWD"`.
83
+ Installation is user-global because Codex stores marketplace registrations and
84
+ plugin caches in `CODEX_HOME`; the agents block in `AGENTS.md` remains
85
+ project-local. Ordinary uninstall leaves the global plugin in place; add
86
+ `--global` only when you mean to remove it for every project. From this
87
+ checkout, the same flow runs against a built tarball:
75
88
 
76
89
  ```sh
77
90
  npm run shells:build -- --only projectstore-codex --dev --out dist
78
91
  npx --package "./dist/projectstore-codex-$(node -p 'require("./package.json").version').tgz" projectstore-codex install --project "$PWD"
79
92
  ```
80
93
 
81
- The shell package is release-gated until its first npm publication. From this
82
- repository, the same flow is exercised against the packed tarball. Installation
83
- is user-global because Codex stores marketplace registrations and plugin caches
84
- in `CODEX_HOME`; the agents block in `AGENTS.md` remains project-local. After
85
- the first explicit npm publication, the shorter registry form is
86
- `npx projectstore-codex@<version> install --project "$PWD"` (or `upgrade`). Ordinary
87
- uninstall leaves the global plugin in place; add `--global` only when you mean
88
- to remove it for every project.
89
-
90
94
  What is known, and how:
91
95
 
92
96
  - **Hooks are rendered; their live firing from an installed release is not
@@ -1,5 +1,5 @@
1
1
  {
2
- "_comment": "Harness capability manifest โ€” Codex. The committed adapters/codex tree renders the source commands, roles, passive skills and hooks into Codex vocabulary. Measurements began with 759 captured hook firings on 2026-09-07/08; the complete built shell, isolated marketplace install, upgrade, validator and fresh-session skill load passed on codex-cli 0.153.4 on 2026-09-30. The validator reads only .codex-plugin/plugin.json; the canonical root plugin.json has not been validated.",
2
+ "_comment": "Harness capability manifest โ€” Codex. The committed adapters/codex tree renders the source commands, roles, passive skills and hooks into Codex vocabulary. Measurements began with 759 captured hook firings on 2026-09-07/08; the complete built shell, isolated marketplace install, upgrade, validator and fresh-session skill load passed on codex-cli 0.153.4 on 2026-09-30. The validator reads only .codex-plugin/plugin.json; the canonical root plugin.json was validated separately on 2026-10-04 against the schema it declares (Agent Plugins 1.0.0).",
3
3
  "id": "codex",
4
4
  "display_name": "Codex",
5
5
  "emit": true,
@@ -7,7 +7,7 @@
7
7
  "output_dir": "adapters/codex",
8
8
  "docs": "https://developers.openai.com/codex/",
9
9
  "verified": null,
10
- "verified_reason": "Null, restored 2026-10-03. docs/harnesses.md calls a harness supported only when every installed surface has been exercised end to end, and contract 16 of the generation spec (Generated harness surfaces: manifests, the generator and the three invariants) derives that label from this field. The 2026-09-30 run (session 01a0f079-7ecd-7331-95a9-2471def3cb22) exercised one surface: a fresh `codex exec` session loaded projectstore-status from the materialised cache. The hooks were not exercised, and the first real install showed why that matters. Its cached hooks, run by hand through `zsh -lc` (a form the failure did not depend on: read from source, 0.153.4 runs a hook as `<session shell> -c` with the Codex process's environment, and `$SHELL -lc` only as a fallback), could not load the vault in any session; in the first, the failure sat beneath the welcome. The core had taken the shell's root for its own. That is fixed and pinned by a test that runs every rendered hook from the built shell. This block is set by a live run that exercises every installed surface: the hooks once registration has settled, including PreCompact, and the skill flows.",
10
+ "verified_reason": "Null, restored 2026-10-03. docs/harnesses.md calls a harness supported only when every installed surface has been exercised end to end, and contract 16 of the generation spec (Generated harness surfaces: manifests, the generator and the three invariants) derives that label from this field. The 2026-09-30 run (session 01a0f079-7ecd-7331-95a9-2471def3cb22) exercised one surface: a fresh `codex exec` session loaded projectstore-status from the materialised cache. The hooks were not exercised, and the first real install showed why that matters. Its cached hooks, run by hand through `zsh -lc` (a form the failure did not depend on: read from source, 0.153.4 runs a hook as `<session shell> -c` with the Codex process's environment, and `$SHELL -lc` only as a fallback), could not load the vault in any session; in the first, the failure sat beneath the welcome. The core had taken the shell's root for its own. That is fixed and pinned by a test that runs every rendered hook from the built shell. This block is set by a live run that exercises every installed surface: the hooks once registration has settled, including PreCompact, and the skill flows. The shell is published from 0.28.1, ahead of that run, by the maintainer's decision of 2026-10-04; publication does not set this block.",
11
11
  "runtime": {
12
12
  "detect_env": [
13
13
  "PLUGIN_ROOT",
@@ -290,7 +290,8 @@
290
290
  "rewrites": [],
291
291
  "install": {
292
292
  "mechanism": "the package's portable plugin root, registered through its distribution shell and Codex's own marketplace CLI",
293
- "shell_reason": "The built `projectstore-codex` shell carries the rendered Codex skills and hooks plus an exact bundled core, fixes --harness codex, stages a stable marketplace under CODEX_HOME, and asks Codex itself to install it. The `shell` key is deliberately absent until its first npm publication, so generated guidance cannot send users to the reserved placeholder package.",
293
+ "shell": "projectstore-codex",
294
+ "shell_reason": "The built `projectstore-codex` shell carries the rendered Codex skills and hooks plus an exact bundled core, fixes --harness codex, stages a stable marketplace under CODEX_HOME, and asks Codex itself to install it. It is published from 0.28.1, by the maintainer's decision of 2026-10-04. Until then this key was absent, so generated guidance could not send users to the reserved 0.0.1 placeholder; the core alone is not Codex's plugin root and cannot register it.",
294
295
  "why_not_scripted": "The shell does not edit Codex's registry or cache. It atomically stages the plugin source, previews the host commands, then runs `codex plugin marketplace add` and `codex plugin add`; a read-back verifies the installed version and payload digest. The global plugin survives ordinary project uninstall; `uninstall --global` is the explicit destructive form.",
295
296
  "steps": [
296
297
  "npx projectstore-codex install --project \"$PWD\"",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectstore",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
4
4
  "description": "Your agent runs the project through a verified loop: task โ†’ artifact (ADR / spec / epic / story) โ†’ adversarial critic โ†’ backlog โ†’ planner โ†’ reviewer โ†’ done. Plain markdown in git โ€” any model can pick the project up tomorrow.",
5
5
  "keywords": [
6
6
  "project-management",
@@ -271,14 +271,17 @@ function planAgentsBlock(ctx, key, s) {
271
271
  // One host command as a plan step: the verbatim argv (the manifest's
272
272
  // subcommand with its placeholders filled), why it runs, and the host-owned
273
273
  // files it is known to touch (measured 2026-09-05 โ€” the manifest's cli.verified).
274
+ // A portable registration keeps its marketplace and enablement stanzas in one
275
+ // global config (registry.global_config; Codex's config.toml, measured
276
+ // 2026-09-07), so the preview names that file wherever a step rewrites it.
274
277
  function hostStep(a, s, name, fill, why) {
275
278
  const template = s.cli.commands[name];
276
279
  if (!Array.isArray(template) || !template.length) throw new Error(`${s.format}: host operation ${name} is not declared`);
277
280
  const argv = template.map((t) => t.replace(/\{(\w+)\}/g, (_, k) => fill[k] ?? `{${k}}`));
278
281
  const p = a.paths;
279
282
  const touches = {
280
- validate: [], marketplace_add: [p.marketplaces, p.projectSettings], marketplace_update: [p.marketplaces], marketplace_remove: [p.marketplaces, p.projectSettings],
281
- install: [p.installed, p.projectSettings, p.cacheDir], update: [p.installed, p.cacheDir], uninstall: [p.installed, p.projectSettings], disable: [p.projectSettings], enable: [p.projectSettings],
283
+ validate: [], marketplace_add: [p.marketplaces, p.globalConfig, p.projectSettings], marketplace_update: [p.marketplaces], marketplace_remove: [p.marketplaces, p.globalConfig, p.projectSettings],
284
+ install: [p.installed, p.globalConfig, p.projectSettings, p.cacheDir], update: [p.installed, p.cacheDir], uninstall: [p.installed, p.globalConfig, p.projectSettings], disable: [p.projectSettings], enable: [p.projectSettings],
282
285
  }[name] || [];
283
286
  return { kind: "host", name, bin: s.cli.bin, argv, why, touches: touches.filter(Boolean) };
284
287
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "projectstore-claude",
3
- "version": "0.28.0",
3
+ "version": "0.28.1",
4
4
  "description": "Installs projectstore for Claude Code from npm: the core pinned and bundled, the harness fixed โ€” npx projectstore-claude install --project \"$PWD\".",
5
5
  "keywords": [
6
6
  "projectstore",
@@ -37,7 +37,7 @@
37
37
  "README.md"
38
38
  ],
39
39
  "dependencies": {
40
- "projectstore": "=0.28.0"
40
+ "projectstore": "=0.28.1"
41
41
  },
42
42
  "bundleDependencies": [
43
43
  "projectstore"