plan-auditor 2.4.2__tar.gz → 2.4.3__tar.gz
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.
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/CHANGELOG.md +164 -25
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/CITATION.cff +1 -1
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/CONTRIBUTING.md +1 -1
- plan_auditor-2.4.3/PKG-INFO +399 -0
- plan_auditor-2.4.3/README.md +356 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/SECURITY.md +21 -2
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/SKILL.md +1 -1
- plan_auditor-2.4.3/bin/prepublish_gate.js +429 -0
- plan_auditor-2.4.3/bin/prepublish_gate_contract.test.js +285 -0
- plan_auditor-2.4.3/bin/prepublish_lifecycle.test.js +220 -0
- plan_auditor-2.4.3/bin/publish_mode_contract.test.js +204 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/index.md +7 -6
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/integrations.md +1 -1
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/quickstart.md +11 -10
- plan_auditor-2.4.3/docs/release-status.md +76 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/mkdocs.yml +1 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/package.json +7 -5
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/pyproject.toml +1 -1
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/__init__.py +1 -1
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_doc_transcripts.py +20 -7
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_docs_metadata.py +84 -8
- plan_auditor-2.4.3/tests/test_npm_registry_visibility.py +359 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_readme_quickstart.py +115 -0
- plan_auditor-2.4.2/PKG-INFO +0 -520
- plan_auditor-2.4.2/README.md +0 -477
- plan_auditor-2.4.2/bin/check_tarball_contents.js +0 -124
- plan_auditor-2.4.2/bin/verify_installed_launcher.js +0 -196
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/.gitignore +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/CODE_OF_CONDUCT.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/LICENSE +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/bin/launcher_contract.test.js +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/bin/plan-auditor.js +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/architecture.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/benchmark.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/cli.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/dependency-graph.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/deployment-isolation.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/formal-planning.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/docs/threat-model.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/examples/fib/.plan-auditor/plan.json +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/examples/fib/fib.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/examples/fib/request-source.json +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/examples/fib/test_fib.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/hooks/README.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/hooks/gate_hook.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/index.js +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/references/plan-format.md +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/scripts/__init__.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/scripts/audit_check.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/scripts/contract.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/scripts/exec_trust.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/scripts/integrity.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/scripts/plan_graph.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/scripts/stop_gate.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/adversarial.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/agents.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/agents_hardening.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/audit_session.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/cli.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/config.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/contracts.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/control_plane.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/coverage.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/daemon.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/events.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/evidence.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/formal_compiler.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/formal_planning.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/formal_semantics.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/gate.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/goals.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/integrity.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/lifecycle.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/lock_hardening.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/orchestrator.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/plan_verifier.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/plans.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/policies.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/priority.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/request_contract.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/requirements.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/seal_migration.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/sealing.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/watchdog.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/supervisor/workspace.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/request_fixture.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_adversarial.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_agent_registry_chain.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_agents_gate.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_audit_check.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_authenticated_integrity.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_cli.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_console_scripts.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_core_layers.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_daemon.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_dependency_graph.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_events.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_exec_trust_gate.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_extra_layers.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_failure_injection.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_formal_compiler.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_formal_planning.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_formal_semantics.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_full_contract_hardening.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_hooks.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_integration_hardening.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_npm_launcher.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_registry_lock_partial.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_request_contract_hardening.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_root_cause_fixes_v220.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/test_runtime_root_hardening.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/trusted_workspace.py +0 -0
- {plan_auditor-2.4.2 → plan_auditor-2.4.3}/tests/wheel_cli_smoke.py +0 -0
|
@@ -2,6 +2,142 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to plan-auditor. Versions are published to PyPI and npm.
|
|
4
4
|
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
## v2.4.3 - 2026-10-04
|
|
8
|
+
|
|
9
|
+
A documentation release. The README restructure and the three corrections below
|
|
10
|
+
land on PyPI's project page for the first time: `2.4.2`'s `long_description` is
|
|
11
|
+
the old 499-line README and still carries the "so it cannot drift from reality"
|
|
12
|
+
claim that this release removes. PyPI serves `description` per release, so only
|
|
13
|
+
a new release can change it.
|
|
14
|
+
|
|
15
|
+
**No behaviour change in `supervisor/`, in the deterministic core, or in the npm
|
|
16
|
+
launcher.** Verified against the published artifacts, not the working tree:
|
|
17
|
+
`supervisor/` has no commit since `311f4dc`, and the `index.js` and
|
|
18
|
+
`bin/plan-auditor.js` inside the PyPI `2.4.2` wheel are byte-identical to those
|
|
19
|
+
on `main`.
|
|
20
|
+
|
|
21
|
+
Two packaging changes do reach users. Both are already live on npm at `2.4.2`,
|
|
22
|
+
which was published at 16:16:46Z -- after #29 landed at 16:14:02Z -- so this is
|
|
23
|
+
the first release in which they reach PyPI:
|
|
24
|
+
|
|
25
|
+
- **The wheel's embedded `package.json` now declares `engines.node >=22.14.0`.**
|
|
26
|
+
The `2.4.2` wheel says `>=18`, because it was uploaded 2026-10-02T23:06:40Z and
|
|
27
|
+
therefore predates #27. Anyone copying the bundled launcher out of this wheel
|
|
28
|
+
onto Node 18 or 20 now gets npm's engine warning.
|
|
29
|
+
- **The sdist and npm tarball carry `bin/prepublish_gate.js`** in place of the
|
|
30
|
+
`bin/check_tarball_contents.js` and `bin/verify_installed_launcher.js` it
|
|
31
|
+
replaces. Both old scripts only ran under `prepublishOnly`; so does the new
|
|
32
|
+
one. Installed behaviour is unchanged -- what a publisher executes differs.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **Three false claims in the README and quickstart are corrected.**
|
|
36
|
+
- The quick-start transcript documented `request_sha256`
|
|
37
|
+
`7b347f48...0db55f`. The CLI has never printed that value: `request_contract.py`
|
|
38
|
+
stamps `plan_contract_sha256s` into the request before hashing, so the printed
|
|
39
|
+
digest is not a hash of the source file. Running the documented walkthrough in
|
|
40
|
+
a clean virtualenv yields `d7d47e409fc1c53b9830346740bac2a20e716aefc71e7396ad3db0ebbdd837f2`.
|
|
41
|
+
Fixed in `README.md` and `docs/quickstart.md`. The value was unaffected by
|
|
42
|
+
reformatting the JSON, because the digest is taken over the parsed contract
|
|
43
|
+
rather than the file bytes.
|
|
44
|
+
- The README claimed the transcript "cannot drift from reality" because
|
|
45
|
+
`tests/test_readme_quickstart.py` executes it. It could. `_mask()` rewrites
|
|
46
|
+
every 64-hex string to `<sha256>` and the transcript check is a subset test, so
|
|
47
|
+
substituting `dead0000...` for the real digest left the suite green: measured
|
|
48
|
+
at 389 passed, 0 failed. The claim is corrected and two new tests close the gap
|
|
49
|
+
(see below).
|
|
50
|
+
- The README and `CONTRIBUTING.md` both described `examples/fib` as shipping a
|
|
51
|
+
"deliberately broken variant". It does not; the directory holds four files, none
|
|
52
|
+
of them broken. `docs/benchmark.md` is where you break it yourself, and says so.
|
|
53
|
+
|
|
54
|
+
- **`tests/test_readme_quickstart.py` can now fail on the two ways it used to
|
|
55
|
+
pass.** Proven by mutation against this commit.
|
|
56
|
+
- `test_readme_quickstart_hashes_are_not_normalised_away` compares the documented
|
|
57
|
+
digests against the *unmasked* real output, so a fabricated hash is rejected.
|
|
58
|
+
Replacing `request_sha256` with `dead0000...`: **389 passed / 0 failed before,
|
|
59
|
+
1 failed after**.
|
|
60
|
+
- `test_readme_quickstart_json_keys_match_the_real_output` compares the JSON key
|
|
61
|
+
sequence at each indentation level and only tolerates a shorter sequence where
|
|
62
|
+
the document actually used a `...` marker. Dropping `deterministic_core` from
|
|
63
|
+
the `audit` block, which had no elision, is now a failure. This check caught a
|
|
64
|
+
real omission introduced while compressing this very README.
|
|
65
|
+
- A third mutation, inserting a fabricated `plan_hash`, fails both the original
|
|
66
|
+
subset test and the new hash test.
|
|
67
|
+
|
|
68
|
+
- **The README now explains the repository instead of only the happy path.**
|
|
69
|
+
Measured against a 60-surface checklist drawn from the code, coverage goes from
|
|
70
|
+
14/60 to 60/60. Added: the L0-L14 layer table with the two layers that can decide
|
|
71
|
+
a verdict; all 11 command groups and their 17 nested actions; the other three
|
|
72
|
+
console scripts including `plan-auditor-formal`'s `verify`/`export-pddl`/
|
|
73
|
+
`make-check`; the core's `status`/`snapshot`/`rollback` modes; the `regex` check
|
|
74
|
+
type and the rule that `regex` and `file_exists` are non-behavioural; profiles,
|
|
75
|
+
run modes and the four LLM tiers; every file written under `.plan-auditor/`;
|
|
76
|
+
`hooks/gate_hook.py` as the single authoritative gate with no per-host adapter
|
|
77
|
+
files; exit codes including `3` for `UNKNOWN`; and
|
|
78
|
+
`references/plan-format.md`.
|
|
79
|
+
- Two checklist items from the audit were wrong and are documented as the code
|
|
80
|
+
actually is: the tiers are `NO_LLM`/`SMALL_LOCAL`/`STRONG_LOCAL`/`REMOTE`
|
|
81
|
+
(four, not "T1/T2/T3"), and there are no six hook adapters — `hooks/` contains
|
|
82
|
+
`gate_hook.py` and its README, and the per-host wiring patterns are documented
|
|
83
|
+
in `docs/integrations.md`.
|
|
84
|
+
|
|
85
|
+
- **The 53-line release-status block moved to `docs/release-status.md`** and is in
|
|
86
|
+
the mkdocs navigation. Almost all of it describes one version number and would be
|
|
87
|
+
wrong at the next release. The README keeps two lines, and keeps them honest
|
|
88
|
+
rather than dropping the substance: `2.4.2` is current on both registries, npm
|
|
89
|
+
has no provenance attestation and returns `404` for one, and PyPI publishes with a
|
|
90
|
+
PEP 740 attestation. `test_readme_states_the_npm_attestation_gap` still passes
|
|
91
|
+
against the shortened text, so the move did not cost the supply-chain disclosure.
|
|
92
|
+
|
|
93
|
+
- **Sections that GitHub or the docs already render are gone from the README:**
|
|
94
|
+
the inline `Troubleshooting` block (a 158-line per-error guide lives in
|
|
95
|
+
`docs/quickstart.md`), the standalone `npm` section, `Project links`, and
|
|
96
|
+
`License`. README length falls from 499 to 356 lines.
|
|
97
|
+
|
|
98
|
+
- **Two doc tests were updated because they pinned text that moved, not because
|
|
99
|
+
they were inconvenient.** `test_readme_adoption_region_covers_the_essentials`
|
|
100
|
+
used `## Troubleshooting` as its region sentinel; the sentinel is now
|
|
101
|
+
`## Documentation`, and the ordering assertions it exists to protect are
|
|
102
|
+
unchanged. `test_doc_transcripts.py` no longer requires the README to carry a
|
|
103
|
+
failing run, but now also requires the README to link the page that does, and
|
|
104
|
+
that page to still document the most common failure.
|
|
105
|
+
|
|
106
|
+
- **A new test keeps the deleted troubleshooting reachable.**
|
|
107
|
+
`test_readme_points_at_the_full_troubleshooting_page` fails if the README stops
|
|
108
|
+
linking `docs/quickstart.md`, or if that page stops documenting
|
|
109
|
+
`"request contract is not activated"`.
|
|
110
|
+
|
|
111
|
+
- **A successful npm publish is no longer reported as a failed one.** Run
|
|
112
|
+
37136117550 published `plan-auditor@2.4.2` and then failed its own
|
|
113
|
+
verification step one second later with `ERROR: npm reports 'nothing',
|
|
114
|
+
expected 2.4.2`. `npm publish` returns when the registry's *write* path accepts
|
|
115
|
+
the upload, while clients read from a CDN that converges asynchronously; the
|
|
116
|
+
run's own timestamps show the window, with the probe at 16:15:10Z against a
|
|
117
|
+
registry `time["2.4.2"]` of 16:16:46Z. The verification step now polls with a
|
|
118
|
+
growing backoff over a bounded budget — 12 attempts, ~200s of waiting, first
|
|
119
|
+
match wins — and a version that never appears still fails closed with a
|
|
120
|
+
`::warning::` explaining what to check. Both directions are covered by
|
|
121
|
+
`tests/test_npm_registry_visibility.py`.
|
|
122
|
+
- **The poll queries the registry over HTTP instead of `npm view`.** `npm view`'s
|
|
123
|
+
stdout is not a stable contract, its on-disk HTTP cache can answer from state
|
|
124
|
+
staler than the registry, and it inherits `npm_config_*` and `NODE_AUTH_TOKEN`
|
|
125
|
+
from the environment. `GET /<package>/<version>` is exactly what an
|
|
126
|
+
independent reader requests, with no cache in between.
|
|
127
|
+
- **Documentation now matches the registries.** `README.md`, `SECURITY.md` and
|
|
128
|
+
`docs/index.md`, `docs/quickstart.md`, `docs/integrations.md` no longer say npm
|
|
129
|
+
is unpublished or that the published builds are behind `main`. `2.4.2` is on
|
|
130
|
+
both registries; `2.4.0` and `2.4.1` carried the defects and `2.4.2` is the
|
|
131
|
+
fixed release.
|
|
132
|
+
- **The attestation story is stated per registry, from the registries themselves.**
|
|
133
|
+
PyPI `2.4.2` carries a PEP 740 provenance attestation. npm `2.4.2` does **not**:
|
|
134
|
+
the attestations endpoint returns `404` and the packument has no `provenance`
|
|
135
|
+
field, because it was published in token mode, which cannot mint one. The npm
|
|
136
|
+
`dist.signatures` block is npm's own signature over the packument and is not
|
|
137
|
+
described as provenance.
|
|
138
|
+
- **The npm badge is retained** only after confirming the registry's `latest`
|
|
139
|
+
(`2.4.2`) matches PyPI's version (`2.4.2`).
|
|
140
|
+
|
|
5
141
|
## v2.4.2 - 2026-10-03
|
|
6
142
|
|
|
7
143
|
- **npm publishing is restored, and `2.4.2` exists because the published `2.4.1`
|
|
@@ -11,7 +147,7 @@ All notable changes to plan-auditor. Versions are published to PyPI and npm.
|
|
|
11
147
|
workspace directory resolves `.` against the *installed package directory* and
|
|
12
148
|
reports `plan yok: .../node_modules/plan-auditor/.plan-auditor/plan.json`. The
|
|
13
149
|
launcher starts and an absolute workspace path works, so the failure is silent
|
|
14
|
-
and looks authoritative
|
|
150
|
+
and looks authoritative — it audits the wrong tree. `2.4.1` cannot be
|
|
15
151
|
republished because npm versions are immutable, hence the patch bump.
|
|
16
152
|
- **The launcher now runs the CLI in the caller's working directory.** `index.js`
|
|
17
153
|
keeps `process.cwd()` and prepends the package directory to `PYTHONPATH`
|
|
@@ -20,9 +156,13 @@ All notable changes to plan-auditor. Versions are published to PyPI and npm.
|
|
|
20
156
|
- **`npm publish` runs again.** The previous commit replaced the publish step
|
|
21
157
|
with `echo "npm publishing is disabled" && exit 0`, so the workflow reported
|
|
22
158
|
success while publishing nothing. Publishing is back, gated on the version not
|
|
23
|
-
already existing on the registry,
|
|
24
|
-
|
|
25
|
-
|
|
159
|
+
already existing on the registry, and selectable between OIDC trusted
|
|
160
|
+
publishing and an `NPM_TOKEN` fallback that must be requested explicitly.
|
|
161
|
+
Correction: `2.4.2` itself was published in **token mode** — the run log
|
|
162
|
+
records `selected publish mode: token` — so it carries **no** provenance
|
|
163
|
+
attestation. The attestation endpoint for `plan-auditor@2.4.2` returns `404`
|
|
164
|
+
and the packument has no `provenance` field. Only PyPI publishes with
|
|
165
|
+
attestation, via trusted publishing.
|
|
26
166
|
- **The publish path proves the artifact works before uploading it.** The gate
|
|
27
167
|
packs the tarball, installs it into a throwaway directory, and runs the
|
|
28
168
|
*installed* `bin/plan-auditor.js` from an unrelated working directory against a
|
|
@@ -32,12 +172,11 @@ All notable changes to plan-auditor. Versions are published to PyPI and npm.
|
|
|
32
172
|
`.github/pypi-release-trigger` on `main` publishes the same version to both
|
|
33
173
|
registries, so the two cannot drift apart.
|
|
34
174
|
|
|
35
|
-
|
|
175
|
+
### OSS visibility and onboarding (shipped in `2.4.2`)
|
|
36
176
|
|
|
37
177
|
Documentation and project-metadata work only. No behaviour in the supervisor, the
|
|
38
|
-
deterministic core or the npm launcher changed
|
|
39
|
-
`
|
|
40
|
-
`2.4.1` — a release owner must bump them for any of this to reach a registry.
|
|
178
|
+
deterministic core or the npm launcher changed. This work was merged before the
|
|
179
|
+
`2.4.2` release commit, so it is part of `2.4.2` rather than still pending.
|
|
41
180
|
|
|
42
181
|
- **The README now states the real release status instead of implying parity.** The
|
|
43
182
|
published PyPI `2.4.1` was built 2026-09-29 and npm `2.4.1` 2026-10-01, from
|
|
@@ -92,7 +231,7 @@ deterministic core or the npm launcher changed, and the version numbers in
|
|
|
92
231
|
there is no PGP key. `CODE_OF_CONDUCT.md` moved enforcement off the public
|
|
93
232
|
issue tracker, which would have exposed reporters, onto a private address, and
|
|
94
233
|
its Contact section now matches what Contributor Covenant 2.1 requires.
|
|
95
|
-
- **`CONTRIBUTING.md` documents the workflow the code actually implements**
|
|
234
|
+
- **`CONTRIBUTING.md` documents the workflow the code actually implements** — the
|
|
96
235
|
real test and coverage commands, the seal and trust chain, exit codes, the
|
|
97
236
|
`CHECK_TYPES` extension path, and the release procedure including the reason the
|
|
98
237
|
two registries diverged.
|
|
@@ -103,15 +242,15 @@ deterministic core or the npm launcher changed, and the version numbers in
|
|
|
103
242
|
GitHub" link, and social links for the repository, PyPI, npm and the citation
|
|
104
243
|
file. Navigation is unchanged and still covers every page.
|
|
105
244
|
|
|
106
|
-
|
|
245
|
+
#### Re-verified against `main` after #24
|
|
107
246
|
|
|
108
247
|
- **The README's release-status text was corrected against the merged code rather
|
|
109
248
|
than the previous `main`.** The wheel now force-includes the Agent Skill assets
|
|
110
249
|
under `plan_auditor_skill/`, so the earlier claim that a `pip` install cannot
|
|
111
250
|
supply `SKILL.md`, `references/` or `hooks/` was true of the published `2.4.1`
|
|
112
251
|
wheel and false of anything built from `main`. The README and
|
|
113
|
-
`docs/integrations.md` now document both routes
|
|
114
|
-
`plan_auditor_skill/` directory
|
|
252
|
+
`docs/integrations.md` now document both routes — a checkout, or the installed
|
|
253
|
+
`plan_auditor_skill/` directory — with a command that prints its location, and
|
|
115
254
|
the claim is scoped to the already-published build. `docs/` and `examples/` are
|
|
116
255
|
still not in the wheel, which is stated as such.
|
|
117
256
|
- **The npm surface was re-checked against the merged launcher, not the old one.**
|
|
@@ -158,7 +297,7 @@ that already exists on PyPI, so the metadata on `main` cannot be published witho
|
|
|
158
297
|
a version bump. That part is unchanged by this entry.
|
|
159
298
|
|
|
160
299
|
The other half has been fixed since, by #24: the npm workflow now runs a `verify`
|
|
161
|
-
job
|
|
300
|
+
job — the launcher tests and the packed-tarball check — before publishing, and
|
|
162
301
|
refuses a version already on the registry, so the absence of any gate that let
|
|
163
302
|
`2.4.0` ship a syntax error is no longer the state of the tree. `main` is also
|
|
164
303
|
now protected by a ruleset with no bypass actors, so none of the required checks
|
|
@@ -167,7 +306,7 @@ can be skipped by pushing to `main`.
|
|
|
167
306
|
**Still outstanding:** the version bump itself. Until `2.4.2` is published to both
|
|
168
307
|
registries, a `pip` user keeps seeing the pre-rewrite README on the project page.
|
|
169
308
|
|
|
170
|
-
## v2.4.1
|
|
309
|
+
## v2.4.1 — PyPI 2026-09-29, npm 2026-10-01
|
|
171
310
|
|
|
172
311
|
### Published to both registries
|
|
173
312
|
|
|
@@ -199,7 +338,7 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
199
338
|
|
|
200
339
|
- **Both npm entry points now propagate the verifier's exit code.** The fix was
|
|
201
340
|
initially placed only in `index.js`, but `package.json` maps the `plan-auditor`
|
|
202
|
-
bin to `bin/plan-auditor.js`
|
|
341
|
+
bin to `bin/plan-auditor.js` — the file `npx plan-auditor` actually executes —
|
|
203
342
|
and that file discarded the child's result entirely. Verified: `node
|
|
204
343
|
bin/plan-auditor.js run <failing plan>` returned `0` while `index.js` returned
|
|
205
344
|
`1`. `index.js` now exposes `runPythonAndPropagate()`, which attaches the
|
|
@@ -215,9 +354,9 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
215
354
|
- `test_docs_metadata.py` and `test_doc_transcripts.py` now check that the `bin`
|
|
216
355
|
field resolves to a launcher that propagates rather than a bare spawn, and that
|
|
217
356
|
documented launcher commands reference a file that exists.
|
|
218
|
-
- **Verbatim transcripts.** The README and `docs/quickstart.md`/`docs/cli.md` failure transcripts previously showed a single collapsed
|
|
357
|
+
- **Verbatim transcripts.** The README and `docs/quickstart.md`/`docs/cli.md` failure transcripts previously showed a single collapsed `çıktı:` line while the tool actually prints a `|`-joined multi-line traceback. Both blocks now reproduce the real output line for line and state that nothing is elided.
|
|
219
358
|
- **Removed a fabricated transcript line from `docs/benchmark.md`:** it showed
|
|
220
|
-
|
|
359
|
+
`çıktı: AssertionError` where the tool emits a full traceback. Replaced with
|
|
221
360
|
verbatim output, plus the equivalent launcher invocation and its exit code.
|
|
222
361
|
- **Transcripts are now stable across the CI matrix.** Two platform differences
|
|
223
362
|
had made the documented failure output wrong somewhere: the core joins a
|
|
@@ -233,7 +372,7 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
233
372
|
traceback that pins a version-specific frame.
|
|
234
373
|
- **`.npmignore` added and `package.json` tightened:** `__pycache__` directories were still being packed despite the `files` allowlist, because the allowlist re-includes whole directories. Added `!**/__pycache__` and `!**/*.py[cod]` negation patterns and a minimal `.npmignore`. `npm pack --dry-run` now reports 59 entries / ~134 KB with zero `__pycache__`, `.venv`, or `site-packages` paths, down from 18502 entries / 29.1 MB.
|
|
235
374
|
|
|
236
|
-
## v2.4.0
|
|
375
|
+
## v2.4.0 — 2026-09-06
|
|
237
376
|
|
|
238
377
|
- **Deterministic automatic formalization:** `plan-auditor-formalize compile` converts structured Plan Auditor requirements, coverage, dependencies, named outputs, `requires_outputs`, and deterministic checks into a conservative grounded STRIPS contract without asking an LLM to invent authoritative symbolic semantics.
|
|
239
378
|
- **Independent formalization proof:** generated contracts carry a `formalization-source:<SHA256>` marker and are independently recompiled from the current plan; stale, weakened, omitted, or manually edited generated contracts are rejected even if their embedded contract SHA is recomputed.
|
|
@@ -242,7 +381,7 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
242
381
|
- **New installed CLI:** adds `plan-auditor-formalize compile|verify`; package and skill identity advance to stable `2.4.0`.
|
|
243
382
|
- **Regression coverage:** tests exercise exact recompilation, source-staleness detection, goal weakening, dropped output preconditions, fake initial requirement goals, idempotence, sealed-plan mutation refusal, and manual-contract preservation.
|
|
244
383
|
|
|
245
|
-
## v2.3.0
|
|
384
|
+
## v2.3.0 — 2026-09-06
|
|
246
385
|
|
|
247
386
|
- **Sealed classical planning:** non-trivial multi-step plans can embed one sealed `formal_planning` contract with explicit initial facts, final goals, one grounded STRIPS-style action per Plan Auditor step, symbolic preconditions, add effects and delete effects.
|
|
248
387
|
- **Native LLM-free reachability:** monotonic contracts use deterministic forward reasoning while delete-effect contracts use bounded state-space search. Exhausting the configured state budget returns UNKNOWN instead of manufacturing PASS.
|
|
@@ -253,12 +392,12 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
253
392
|
- **Regression coverage:** dedicated formal-planning and semantic-binding tests cover reachable/unreachable contracts, delete-effect dead ends, alternate valid orderings, bounded search, PDDL sanitization, duplicate anchors, requirement omissions and formal-contract mutation.
|
|
254
393
|
- **Version identity:** source/package/skill version advances to `2.3.0`, so the post-v2.2.0 formal-planning and semantic-binding code is no longer distributed under the already-published `2.2.0` identity.
|
|
255
394
|
|
|
256
|
-
## v2.2.0
|
|
395
|
+
## v2.2.0 — 2026-09-05
|
|
257
396
|
|
|
258
397
|
- **Physical control-plane confinement:** existing `.plan-auditor`, plan, seal, request/activation and policy path components are inspected with `lstat`; symlinked parents/leaves cannot redefine the workspace trust root.
|
|
259
398
|
- **Policy read confinement:** `load_config` authorizes only symlink-free workspace policy directories before policy loading; a resolved external symlink target is rejected before its files are read.
|
|
260
399
|
- **Sealed scope freeze:** automatic monotonic strengthening remains available for extra deterministic checks/prerequisites, but new steps, requirements, tools, coverage assignments or declared outputs now require a new host-approved request generation.
|
|
261
|
-
- **Safe v3
|
|
400
|
+
- **Safe v3→v4 migration:** `plan-auditor-migrate-seal` provides a representation-only migration path for exact full-contract v3 seals. It requires authoritative request alignment and refuses any plan-scope change.
|
|
262
401
|
- **Seal self-consistency:** v3/v4 seals validate their contract hash and criteria count on load/save before being trusted or authenticated.
|
|
263
402
|
- **Streaming evidence verification:** JSONL verification, hashing and HMAC migration retain one record/chunk at a time instead of reading complete evidence/archive files into RAM.
|
|
264
403
|
- **PID-aware registry locking:** registry transaction locks carry PID + random token; live owners are never evicted because of age alone, and stale cleanup requires a provably dead PID plus unchanged lock identity.
|
|
@@ -268,7 +407,7 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
268
407
|
- **Trust-boundary documentation:** deliberate same-OS-user interference is explicitly treated as an OS isolation problem; separate account/container/VM deployment is required when that attacker is in scope.
|
|
269
408
|
- **Regression coverage:** new tests cover plan/policy symlink escapes, scope expansion, config-only activation, PID-aware registry locks, streaming evidence verification and exact legacy-seal migration.
|
|
270
409
|
|
|
271
|
-
## v2.1.0
|
|
410
|
+
## v2.1.0 — 2026-09-05
|
|
272
411
|
|
|
273
412
|
- **Aggregate multi-plan completion:** the integrated supervisor now enumerates the default plan and every safe `.plan-auditor/plans/<name>.json` plan. Global PASS requires every active plan to PASS; a passing default plan cannot hide an unfinished named plan, and a named-only workspace is no longer misclassified as `NO_PLAN`.
|
|
274
413
|
- **Explicit requirement coverage:** Supervisor Mode requires explicit requirements and deterministic `covers` links from steps. Every `must`/`should` requirement must be covered; omitted user requirements, unknown coverage IDs and duplicate requirement contracts block plan approval/PASS.
|
|
@@ -290,7 +429,7 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
290
429
|
- **Regression hardening:** dedicated failure-injection tests cover named-plan bypasses, seal-contract weakening, environment downgrade, HMAC seal tampering, invalid config/policies, path traversal, evidence races/rotation/retry history, active-log tampering, rollback cleanup, executable-bit fingerprint changes, canonical agent conflicts, missing tools and bounded verifier output.
|
|
291
430
|
- **Observational final audit:** a full audit fails if a verifier mutates product workspace content, type, or mode. Verification must prove pre-existing implementation state rather than creating the claimed result during the audit itself.
|
|
292
431
|
|
|
293
|
-
## v2.0.2
|
|
432
|
+
## v2.0.2 — 2026-09-05
|
|
294
433
|
|
|
295
434
|
- **Integrated supervisor pipeline:** new `supervisor/orchestrator.py` wires plan validation, requirements, workspace state, policies, sealing, deterministic evidence, adversarial review, completion gating, lifecycle state, and multi-agent state into one fail-closed assessment.
|
|
296
435
|
- **Real hook enforcement:** `hooks/gate_hook.py` no longer trusts `status=verified` or fabricated integrity flags; PASS requires a valid seal and matching fresh full-audit evidence.
|
|
@@ -302,7 +441,7 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
302
441
|
- **Workspace safety:** file checks and rollback are path-confined; workspace observation is read-only and uses `shutil.which()` instead of shell redirections that could create files.
|
|
303
442
|
- **Daemon integration:** the background supervisor persists an integrated assessment and final gate outcome on every observation cycle.
|
|
304
443
|
|
|
305
|
-
## v1.1.0
|
|
444
|
+
## v1.1.0 — 2026-09-03
|
|
306
445
|
|
|
307
446
|
- **Portable skill paths:** `SKILL.md` resolves auditor scripts relative to the skill directory.
|
|
308
447
|
- **Hard attempt cap:** `run` refuses a step after the configured failed-attempt cap unless explicitly forced.
|
|
@@ -310,7 +449,7 @@ registries, a `pip` user keeps seeing the pre-rewrite README on the project page
|
|
|
310
449
|
- **Snapshot / rollback:** snapshot and rollback support were introduced and recorded in evidence.
|
|
311
450
|
- **Evidence rotation:** large evidence logs rotate into `.plan-auditor/archive/`.
|
|
312
451
|
|
|
313
|
-
## v1.0.0
|
|
452
|
+
## v1.0.0 — 2026-09-03
|
|
314
453
|
|
|
315
454
|
- Initial strict plan + independent auditor Agent Skill.
|
|
316
455
|
- Machine-checkable `verify` checks (`run`, `exec`, `file_exists`, `regex`, `pytest`).
|
|
@@ -299,7 +299,7 @@ the point: nothing in the release path depends on a maintainer remembering a ste
|
|
|
299
299
|
| `plan-auditor doctor .` | Machine-readable capability and health report. Run this first when anything misbehaves. |
|
|
300
300
|
| `SKILL.md` | The Agent Skill definition loaded by skill hosts. |
|
|
301
301
|
| `hooks/gate_hook.py` | The authoritative hook gate for hosts that support blocking hooks. |
|
|
302
|
-
| `examples/fib/` | A complete, runnable two-step plan
|
|
302
|
+
| `examples/fib/` | A complete, runnable two-step plan whose second step is a pytest run. |
|
|
303
303
|
| `docs/` | The documentation set. Navigation is defined in `mkdocs.yml`. |
|
|
304
304
|
|
|
305
305
|
## Conduct and security
|