Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: ${{ matrix.python }}
- name: Verify public release sanitization
run: python scripts/check-public-sanitization.py
- uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 # v6.5.0
with:
node-version: '24.18.0'
Expand Down
129 changes: 129 additions & 0 deletions docs/audits/2026-12-01/corrected-core-boundaries.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
{
"coreDirectory": "accepted-core-source",
"expected": "fixed",
"loaded": {
"dependency_live_roadmap_generator": "accepted-core-source/dependency_live_roadmap_generator.py",
"migration_research": "accepted-core-source/migration_research.py",
"peer_solver_model": "accepted-core-source/peer_solver_model.py",
"peer_solver_transition": "accepted-core-source/peer_solver_transition.py"
},
"fileSha256": {
"dependency_live_roadmap_generator.py": "876cd0f6ecebbd9e2987384ec27fdfd1be0207dd4adbe1bfad245b6216b5035d",
"migration_research.py": "6c98f68a1fa77a3ce9186de638f5f7041981ca14ebab13b7cfd601d1730a4cce",
"peer_solver_model.py": "7653535756327a2c2e30f7971374e11b9a64e237546af79ea6cbb44a24408b7b",
"peer_solver_transition.py": "4e6d7c7cc0ff15ecaa906ee7f71d9445681679d1b8548531da4fa2181ab41df3"
},
"C01": [
{
"scope": "collect",
"environment": {
"DEPLOOM_DRAFT_PRIVATE_SCOPES": "@company"
},
"package": "@company/private",
"publicCallbackCalls": 0,
"unknown": [
"PRIVATE_SCOPE_EXCLUDED"
],
"outboundPackage": null
},
{
"scope": "collect",
"environment": {
"DEPLOOM_MCP_PRIVATE_SCOPES": "@company"
},
"package": "@company/private",
"publicCallbackCalls": 0,
"unknown": [
"PRIVATE_SCOPE_EXCLUDED"
],
"outboundPackage": null
},
{
"scope": "collect",
"environment": {
"DEPLOOM_DRAFT_DISABLE_EXTERNAL_EVIDENCE": "1"
},
"package": "public-name",
"publicCallbackCalls": 0,
"unknown": [
"EXTERNAL_EVIDENCE_DISABLED_BY_HOST_POLICY"
],
"outboundPackage": null
},
{
"scope": "collect",
"environment": {
"DEPLOOM_MCP_LOCAL_CACHE_ONLY": "1"
},
"package": "public-name",
"publicCallbackCalls": 0,
"unknown": [
"EXTERNAL_EVIDENCE_DISABLED_BY_HOST_POLICY"
],
"outboundPackage": null
},
{
"scope": "release-builder",
"status": "unavailable",
"jsonCalls": 0,
"textCalls": 0,
"summary": "External release lookups unavailable: EXTERNAL_EVIDENCE_DISABLED_BY_HOST_POLICY"
}
],
"C02": [
{
"scope": "github-origin",
"method": "fetch_text",
"url": "https://evil.invalid/github/changelog",
"syntheticBearerPresent": false
},
{
"scope": "github-origin",
"method": "fetch_json_url",
"url": "https://api.github.com.evil.invalid/releases",
"syntheticBearerPresent": false
},
{
"scope": "github-origin",
"method": "fetch_json_url",
"url": "http://api.github.com/repos/example/project/releases",
"syntheticBearerPresent": false
},
{
"scope": "registry-session",
"basicAuth": false,
"customHeader": false,
"cookie": false,
"queryParameter": false,
"clientCertificate": false
}
],
"C03": [
{
"reason": "USER_BASELINE_REQUIRED_UPDATE: router must change",
"modelRejectsTarget": "USER_BASELINE_REQUIRED_UPDATE: router must change",
"safe": false,
"groups": [],
"unresolved": [
"INVALID_TARGET_ENDPOINT: USER_BASELINE_REQUIRED_UPDATE: router must change"
]
},
{
"reason": "USER_EXACT_TARGET: router must be 2.0.0",
"modelRejectsTarget": "USER_EXACT_TARGET: router must be 2.0.0",
"safe": false,
"groups": [],
"unresolved": [
"INVALID_TARGET_ENDPOINT: USER_EXACT_TARGET: router must be 2.0.0"
]
}
],
"network": "All transports intercepted; socket.connect/connect_ex forbidden",
"scenarioCount": 11,
"result": "PASS_EXPECTED_FIXED",
"harnessSha256": "cb3737b1f3e1480a0281c769899aafe3ae490bd10caafa6d2fe3d527629391b3",
"retainedReceipt": {
"locationRedaction": "Only local absolute source paths were replaced by role-relative paths. Scenario results, module hashes, release identity and harness hash are unchanged.",
"originalReceiptSha256": "07a6920560c45f31e835d3884a8bac71b86bc34c6a168740a2689fd59e911de3"
}
}
201 changes: 201 additions & 0 deletions docs/audits/2026-12-01/full-followup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
# DepLoom integrated follow-up audit — 1 December 2026

## Scope and delivery checkpoint

This follow-up reviewed Core, MCP, the npm distribution and knowledge corpus,
and Playground. The four accepted component PRs received regression checks,
independent agent review and their applicable PR gates. A supplemental
release-tooling correction, C05, accompanies this report and still requires
its own PR qualification. This report supplements the
[historical 51-row checkpoint](../2026-11-29/README.md); it does not mark that
entire matrix closed or rewrite earlier acceptance states.

| Component | Accepted source | Fix PR |
| --- | --- | --- |
| Core | `00726b66c3bab12c8e3836abf450b5a7c4e61e36` | [#48](https://github.com/levencode-labs/deploom-core/pull/48) |
| MCP | `cd05e91e6494c0fe9fccd8a9d87264ff140a66b4` | [#81](https://github.com/levencode-labs/deploom-mcp/pull/81) |
| npm | `b3b65d20ae8fce2d181486699ae38125d2e18a3f` | [#182](https://github.com/levencode-labs/deploom-npm/pull/182) |
| Playground | `daa9bfa351a3add393e2d26d835fe458f5c6cbb5` | [#18](https://github.com/levencode-labs/deploom-playground/pull/18) |

MCP now pins the accepted Core revision and its regenerated integrity
manifest. Source publication does not establish delivery to existing users:
the observed public packages remain **Core 0.1.22, MCP 0.2.34 and npm 0.2.31**.
MCP's post-merge workflows passed. npm's post-merge POSIX, public-data and
source-scan jobs passed; its Windows job was still executing at this checkpoint.
The npm Pages deployment and installed readback completed successfully at
**revision 88**, following the pre-merge live revision 87. Playground's
corrected browser code and refreshed OSV data were separately read back after
deployment.

## Confirmed findings and corrections

This pass confirmed **12 findings: two P1, eight P2 and two P3**. Eleven are
covered by the accepted component PRs; C05 is the supplemental correction
described below.

Detailed reproducers and verification limits are retained in the accepted
[Core report](https://github.com/levencode-labs/deploom-core/blob/00726b66c3bab12c8e3836abf450b5a7c4e61e36/docs/audits/2026-12-01/core-second-pass.md),
[MCP report](https://github.com/levencode-labs/deploom-mcp/blob/cd05e91e6494c0fe9fccd8a9d87264ff140a66b4/docs/audits/2026-12-01/cache-second-pass.md)
and [npm report](https://github.com/levencode-labs/deploom-npm/blob/b3b65d20ae8fce2d181486699ae38125d2e18a3f/docs/audits/2026-12-01/npm-second-pass.md).

| ID | Priority | Impact and correction |
| --- | --- | --- |
| C01 | P1 | Optional public research could dispatch a host-private package identity, and release lookups ignored external-evidence restrictions. Admission now checks the union of Core/MCP host policies before transport or evidence reuse; restricted or malformed policy returns explicit unavailable/unknown reasons. |
| C02 | P1 | Generic helpers chose GitHub bearer authentication by URL substring and public requests could inherit registry credentials, cookies, headers, query parameters and client certificates. Exact approved HTTPS origins now govern bearer attachment; a separate public session preserves approved proxy/CA routing without registry identity or implicit netrc authentication. |
| C03 | P2 | The public transition refiner could declare an unchanged target safe despite a required-update or exact-target constraint. It now validates the complete final assignment before baseline exceptions, preserving existing domain and cardinality diagnostics. |
| C04 | P3 | The test guide documented only three of six general CI profiles. It now lists all profiles and separate ownership jobs. |
| C05 | P2 | The release sanitizer rejected an existing quoted synthetic proxy-credential fixture in `tests/test_plan_registry_facts.py`. `release_ci.py` invoked this gate, but ordinary CI did not. The supplemental correction narrowly allows the exact quoted literal at that fixture path, adds negative controls and invokes the full scanner in all six existing general CI profiles without reducing the matrix. Its PR qualification remains pending. |
| MCP01 | P2 | A busy or replaced v3 database could fall back to timeless v2, bypassing signed freshness. Reads now fail closed with `KNOWLEDGE_SNAPSHOT_BUSY`; final continuity checks cover early returns, SQLite errors, replacement and sidecars at symlink targets. |
| MCP02 | P2 | An expired GitHub release-asset redirect failed without bounded recovery. The transport closes error responses and permits one new request to the original approved OSV publisher URL for the specific 618 `jwt:expired` condition, within the original 45-second budget. Trust, size, hash and 304 checks remain intact. |
| NPM01 | P2 | Direct POSIX SIGINT/SIGTERM could leave the owned runtime alive. The launcher forwards shutdown, waits, removes its lease and applies a five-second forced-stop fallback. |
| NPM02 | P2 | A lease rename failure after spawn left the runtime and starting lease behind. Failed registration now stops and awaits the owned runtime, cleans staging state and returns the original startup error. |
| NPM03 | P2 | POSIX installed diagnostics omitted the wheel digest from the hash lock and treated malformed entries as absent metadata. Exact digest checks now apply; a present malformed, missing-entry or duplicate-entry lock fails closed. Truly absent metadata remains unavailable. |
| NPM04 | P3 | The knowledge-priority document understated coverage and proposed a TypeScript boundary already supported by typecheck evidence. It now records 24/30 with explicit evidence limits and six remaining major gaps. |
| PLAY01 | P2 | The hosted OSV exporter discarded standard global/package severity vectors, losing scores or producing Unknown severity. It now retains those vectors and the browser consumes them while preserving legacy labels. Builder, browser and Worker/fallback regressions cover the correction. |

C05 was discovered by running the existing release gate before publishing this
report; report additions did not cause the rejection. It affects release
tooling and CI, not bundled Core runtime files. Five scanner regressions and
the original fixture test pass locally. The accepted runtime source and MCP
Core pin remain `00726b66c3bab12c8e3836abf450b5a7c4e61e36`; no supplemental
commit SHA or completed PR result is asserted here.

The [accepted Playground implementation](https://github.com/levencode-labs/deploom-playground/blob/daa9bfa351a3add393e2d26d835fe458f5c6cbb5/docs/hosted-audit.js)
matched the live JavaScript readback. The refreshed
[OSV export](https://github.com/levencode-labs/deploom-playground/tree/e1c1f933546f37b3a5c9b4f31b6b5a3243101314)
retained scores on **10,039 affected-package rows spanning 7,100 distinct
advisory IDs**. These are preserved severity fields, not newly discovered
vulnerabilities. CVSS v4 vectors remain available but are not scored by the
current v3 scorer; unsupported severity remains Unknown without hiding findings.

### Released-runtime risk boundaries

The [offline harness](released-core-boundaries.py) exercised **11 synthetic
cases** against the official MCP 0.2.34 wheel's bundled Core 0.1.22, with
manifest file hashes checked and all transports intercepted. The
[released receipt](released-core-boundaries.json) reproduces C01–C03; the
[corrected receipt](corrected-core-boundaries.json) passes all corresponding
fixed-source cases. Retained JSON normalizes only local source paths, preserves
all outcomes, hashes and provenance, and records the raw receipt SHA-256. No
private identity or real credential was transmitted.

C02 establishes a generic helper and credential-isolation defect. Current
release-building code constructs canonical GitHub URLs; the reproducer does
not demonstrate a remote exploit through current registry metadata. C03
establishes a public transition API boundary defect: ordinary planner callers
use solver-validated targets, so this does not demonstrate an unsafe complete
planner result. These limits do not remove the need to deliver the corrections
to installed release users.

## Verification and retained uncertainty

All applicable gates for the four accepted fix PRs passed, including native
platform jobs:
[Core CI](https://github.com/levencode-labs/deploom-core/actions/runs/46579108086),
[MCP CI](https://github.com/levencode-labs/deploom-mcp/actions/runs/46580547353)
and its five auxiliary workflows,
[npm package CI](https://github.com/levencode-labs/deploom-npm/actions/runs/46579411587),
and [Playground CI](https://github.com/levencode-labs/deploom-playground/actions/runs/46578432972).
These are PR qualification results, separate from C05's pending PR gate and
installed-release acceptance. The
[MCP main CI](https://github.com/levencode-labs/deploom-mcp/actions/runs/46581636331)
and three main auxiliary workflows also passed. The supplemental C05 correction
still requires the exact CI result of the commit carrying this report.

The successful [npm Pages run](https://github.com/levencode-labs/deploom-npm/actions/runs/46581955083)
retains [both installed-reader receipts](published-data-readback.json).
The exact released MCP 0.2.34 wheel verified signatures, full v2/v3 parity for
all 1,532 records at revision 88, OSV manifest/database integrity and expiry
refusal. A separately qualified historical MCP 0.2.35 data reader verified
signed freshness as FRESH. Its scope is explicitly `KNOWLEDGE_DATA_GATE_ONLY`;
it is not the newly corrected MCP head or an accepted replacement runtime.
Independent live index reads confirmed revision 88 and the unchanged corpus
source digests. The receipts are extracted JSON from the successful native job
log, with reader identities preserved.

Local full-suite limitations remain explicit. Core baseline/corrected runs
executed 849/858 tests, each with six failures, 11 errors and 95 skips. MCP
executed 1392/1403, each with 76 failures, 95 errors and 108 skips; this comparison
preceded the final Core repin. Failure identities were unchanged. This host
lacks the required `/proc/self/task/<pid>/children` capability, so ownership
guards correctly refused native work; MCP also encountered proxy dependency
limitations. Neither local full suite was green. No ownership guard or test
matrix was weakened. Focused Core tests, MCP repin/integrity checks, 38 npm
Node tests, four probe tests, and 96 Playground Node plus three builder tests
passed; component reports retain their precise scopes.

The npm Windows PR run passed on **attempt 2**. Attempt 1 is retained in PR182:
the v1 index body was unchanged, SHA-256
`bd175e44ab1e1dd4bbccc7e4035024505ccaf89a79657d588aebc3495720954f`,
while ETag digests differed. The root cause is not established. Improved
diagnostics preserve bounded body/ETag comparisons; the strict empty-304
requirement is unchanged. The rerun does not explain the earlier incident.

## Knowledge checkpoint and next work

The accepted [coverage map](https://github.com/levencode-labs/deploom-npm/blob/b3b65d20ae8fce2d181486699ae38125d2e18a3f/docs/COVERAGE.md)
records **1,532 cards, 697 packages and 1,521 exact transitions**: 228
fixture-behavior, 27 typecheck, 124 module-load, 70 source-inspection and 1,083
source-pinned-metadata. Of the packages, 472 currently have metadata-only
evidence. This audit did not manufacture execution evidence or rerun a corpus
registry campaign.

The [major-priority milestone](https://github.com/levencode-labs/deploom-npm/blob/b3b65d20ae8fce2d181486699ae38125d2e18a3f/knowledge/review/MAJOR_MIGRATION_PRIORITIES.md)
is **24/30**: 22 packages have fixture-behavior/typecheck; Babel and jest-dom
have module-load only. Counting requires an exact adjacent-major replay with
both majors present in the pinned consumer index. These are evidence counts,
not a compatibility percentage.

### 1. Close the six major gaps

Prioritize React Testing Library **15→16** and Vite React plug-in **5→6**, then
Vue **2→3**, Angular Core **21→22**, react-i18next **16→17** and webpack
**4→5**. Existing Vue/webpack minor or patch fixtures and Angular 18→19 do not
satisfy these boundaries. Select pinned consumers and real render, build,
translation or application contracts. Acceptance is six retained exact-version
cases: baseline passes, an asserted migration break reproduces on the unchanged
target, and the repair passes the same behavioral contract. Promote the metric
to 30/30 only after evidence admission; an unobserved break cannot become an
execution-verified card.

### 2. Strengthen existing evidence

Extend Babel **7.0.0→8.0.0** from loading to real plug-in transformation and
output execution; extend jest-dom **5.17.0→6.1.5** to actual DOM matcher
assertions. TypeScript **6.0.2→7.0.2 already has retained typecheck evidence**.
Its next step is two pinned consumers, Node and frontend, proving clean emitted
output and runtime/bundler alias resolution. Acceptance is two stronger
behavioral records plus two consumer reports with negative controls against
stale output and unresolved imports. Together with package 1, the stronger
major-coverage target becomes 30/30; arbitrary-project compatibility remains
unproven.

### 3. Expand environment qualification

Current evidence identifies Linux/Windows for five cards, Chromium for two,
and pnpm/yarn for three each. macOS, Firefox, WebKit and physical mobile devices
are not claimed. Preserve the existing
[ten qualification legs](https://github.com/levencode-labs/deploom-npm/blob/b3b65d20ae8fce2d181486699ae38125d2e18a3f/knowledge/review/stage-b/qualification/manifest.json).
Add macOS npm/pnpm/yarn for Prettier/Zod (three legs), Linux/Windows pnpm/yarn
for the composite workspace (four), macOS npm workspace (one), and desktop
React UI on Linux Firefox/macOS WebKit (two). Acceptance is **20 mandatory
legs**, with exact toolchain/browser pins, retained receipts and unchanged
negative controls. Freeze scenario lists before execution; failed required
cells remain open. Desktop WebKit and viewport emulation do not establish
native Safari or physical-device acceptance.

## Remaining delivery and historical gates

Deliver the accepted Core/MCP source chain through reviewed runtime archives,
signed manifests and new package releases, then verify ordinary clean install,
update, interrupted recovery and rollback on each required native profile.
Recheck public signed knowledge bytes and installed readers for the resulting
edition. Source pins and passing PR jobs alone do not satisfy these gates.

The historical corrective-release **NO_GO** is not retroactively cleared.
[MCP issue #53](https://github.com/levencode-labs/deploom-mcp/issues/53) retains
an unavailable original Windows failure receipt and an unestablished cause;
later success does not close it. Complete ordinary Codex, OpenCode and Claude
Code project acceptance with retained client receipts. Preserve every earlier
implementation, source, publication and installed-acceptance state until its
own evidence changes.
Loading
Loading