# Delivered: an integrated, greenfield document authority

The default `npm run serve` now boots `server/core/main.ts` through `server/bootstrap.ts`. It serves the existing built Milkdown editor and existing document/agent API URLs using the new core. There is no default-runtime fallback to `server/index.ts`, `server/collab.ts`, `server/db.ts`, the legacy document engine, or their repair/admission services. Those files remain as historical regression fixtures and operator-source context.

The plan was written **before implementation** in [docs/plans/2026-10-05-document-core-rewrite.md](docs/plans/2026-10-05-document-core-rewrite.md). The new implementation lives in [server/core/](server/core/), with the running integration suite in [src/tests/document-core-integration.test.ts](src/tests/document-core-integration.test.ts). Client integration changes are in `src/bridge/collab-client.ts` and `src/bridge/share-client.ts`; shared schema/format helpers received type corrections and the image parser fix. [preview.json](preview.json) describes the server preview on this session's port, **57669**. Dependencies were already installed; no installation, fetch, web research, deployment, or other repository copy was used. The baseline comparison came from this folder's first commit via local `git archive`.

Run from this folder:

```sh
APPSIGNAL_LOG_PATH=$TMPDIR npm run serve
```

The server uses `$PORT`, or 4000 if it is absent. New persistent data defaults to `data/document-core.sqlite`; set `PROOF_CORE_DB_PATH` to another local path to isolate a run. This is a new database/schema, with **no production migration**. Existing frozen legacy databases are not imported. `data/` and `.tmp/` are ignored local runtime artifacts.

## What changed and why

The frozen incident report identifies multi-document stale-store/admission thrash as its strongest hypothesis, not a proven root cause. The fixture cannot establish the precise production initiating event. The implementation removes that mechanism structurally:

- **One authority:** the Yjs ProseMirror fragment and marks map. Markdown is derived. Passive viewers and client Markdown-only updates cannot overwrite content.
- **One durable writer:** a worker owns SQLite and serial command execution. HTTP adapters and Hocuspocus rooms are consumers/protocol mirrors. A process ownership lock refuses a second owner of the same database.
- **One commit boundary:** role, access generation and explicit freshness are checked before mutation. A disposable candidate is validated; binary state, projection, revision, event, tombstone and idempotency receipt commit together. SQLite uses WAL and `synchronous=FULL`.
- **Durability precedes acknowledgement and publication:** no delayed `onStoreDocument` writer, dirty-room snapshot, route-time reseeding, repair loop, distributed lease selection, or global quarantine breaker remains in the default app.
- **Generation fences:** access changes and owner restores invalidate tickets and evict old connections. Restores and clones use fresh CRDT identities. Client durable storage is partitioned by document identity and generation; old buffers remain available locally but cannot replay into a new generation.
- **Bounded work:** 128 pending commands, 16 per document, 128 rooms, 1 MiB update frames, 2 MiB documents, 6 MiB CRDT state, 20,000 nodes, 500-character titles, a 200-entry metadata-only library, and a 15-second deadline. Parsing/persistence run off the HTTP event loop. Homepage, favicon and health do not await document commands.
- **Explicit recovery:** corrupt binary yields the last atomically stored projection, read-only, without changing the record. An owner restores a recorded valid binary revision. Nothing guesses missing document text from a stale projection or mark quote.

The auth adapter exchanges OAuth identity separately, then uses locally persisted opaque account sessions; document refresh does not call the identity provider. Library entries are a bounded metadata read view over owned/visited documents, with no full document/mark payloads returned to the HTTP serializer. Notes & Pins is one normal live document per account, rather than an automatic competing library synchronization writer. Disconnect now destroys the client's private provider transport as well as the document provider, eliminating leaked reconnect timers.

Shutdown keeps signal handlers installed during the drain: repeated SIGTERM/Ctrl-C is idempotent rather than terminating mid-drain. The test sends repeated signals and asserts clean exit.

The shared image parser now normalizes omitted mdast title/alt values to strings. Without that correction, the installed Milkdown schema silently dropped title-less images. The new integrated rich-content test caught this.

## Verification commands and results

Repeated development runs are included below by their distinct command. Failures are retained here rather than presented as successful verification. Final required gates include the new default-runtime integration suite; no workflow file changed. Final outputs and exit codes are saved in [docs/verification/commands.json](docs/verification/commands.json) and the accompanying `*-output.txt` files. The test-author skill used was [.agents/skills/proof-collab-test-author/SKILL.md](.agents/skills/proof-collab-test-author/SKILL.md), using its local harness/authority assertions; no external docs gate was run.

| Command | Result |
| --- | --- |
| `npm run build` | **PASS**, including Vite editor output and `build:mcp` (`tsc -p tsconfig.mcp.json` plus local bundling). Repeated after client/parser changes; final exit 0. Vite reports its existing large-chunk warning. |
| `npm run test:ci` | **PASS**, final exit 0; original nine CI targets plus the new running-app suite. |
| `npm run test:pr:collab` | **PASS**, final exit 0; simulations/contracts/history anchors, both retained shutdown regressions, and the new running-app suite. |
| `npm run typecheck:core` | **PASS**, strict core typecheck, exit 0. |
| `npx tsc -p tsconfig.core.json` | Final **PASS**. Development runs initially found type errors, later a missing block-edit helper; all corrected. |
| `npx tsc` | **FAIL**, exit 2, in both untouched frozen archive and current checkout. Frozen: 1,127 diagnostics; current: 1,109. No file/error-code category increased. Existing rootDir, unused, library and old application typing problems remain. The root tsconfig was not narrowed to hide them. See [typecheck-comparison.json](docs/verification/typecheck-comparison.json). |
| `npm run test:core` | **PASS**, exit 0, repeatedly against real default-server child processes and local clients. The final version includes rich content, commenter PUT and pending-mark restore. |
| `npx tsx src/tests/document-core-integration.test.ts` | Final **PASS**. Development failures exposed missing legacy edit-operation adaptation, shutdown exit reporting, domain strings passed as numeric WebSocket close codes, anonymous identity authorization, transport teardown and title-less image loss. Those defects were corrected and the complete suite rerun. One successful early run printed PASS but retained a leaked client transport interval; it was interrupted (exit 130), then the cleanup defect was fixed and subsequent runs exited normally. |
| `npm test` | Initial development runs **FAIL** at the untouched legacy escaped-underscore rehydration assertion. Final offline aggregate invocation below disables legacy remote telemetry. |
| `PROOF_ENABLE_TELEMETRY=0 npm test` | **PASS**, final exit 0, including retained default/server-route tests and the running new core. Earlier runs failed at the frozen legacy rehydration assertion; a subsequent full run reached the new rich-image assertion, exposing the image loss fixed above. Another aggregate passed its retained targets but exposed intermittent signal termination during the final integration shutdown; persistent signal handlers and a repeated-signal regression corrected it. |
| `npm run test:collab:stability-followups` | **PASS**, final exit 0, including the running core suite. |
| `PROOF_ENABLE_TELEMETRY=0 npm run test:collab:stability-followups` | **PASS**, exit 0, after explicit architecture replacements; retains scoped quarantine, global admission, large-doc, repair-loop and compaction historical tests and adds the running new core suite. |
| `npm run test:collab:contracts` | **PASS** as executed inside both collaboration PR runs and the full/server-route aggregate: Yjs simulation, real Hocuspocus contracts and history-anchor contracts. |
| `npm run test:server-routes-share` | **PASS**, executed as part of the final `npm test` aggregate (exit 0), including its new core suite. |
| `npx tsx src/tests/marks.test.ts` | **PASS**, after the shared image normalization. |
| `npx tsx src/tests/milkdown-headless-serializer-roundtrip.test.ts` | **PASS**, before and after shared parser changes. |
| `PROOF_ENABLE_TELEMETRY=0 npx tsx src/tests/milkdown-collab-runtime.test.ts` | **PASS**, maintained source assertion now requires same-generation replay. Initial old assertion failed. |
| `PROOF_ENABLE_TELEMETRY=0 npx tsx src/tests/collab-regression-guards-round2.test.ts` | **PASS**, stale assertion corrected to the frozen editor's actual retry default of 240. Initial assertion expected 12. |
| `PROOF_ENABLE_TELEMETRY=0 npx tsx src/tests/mutation-contract-stage-and-ws.test.ts` | Before the named retirement: **FAIL**, 22 passed and the obsolete hosted-force/live-lease-disconnect case failed. Final aggregate executes the remaining 22 cases and reports the retirement. |
| `npx tsx src/tests/proof-mark-rehydration.test.ts` | **FAIL**, repeatedly at escaped-underscore legacy repair, also in the untouched local frozen archive. Retired from aggregates with named replacement coverage; no legacy repair code fix was retained. |
| `node .tmp/run-retained-tests.mjs` | Initial exhaustive audit: **FAIL**, 133/145 distinct existing local targets passed, 12 failed. It executes each target with `node --import tsx <test>` and records every result in [retained-tests.json](docs/verification/retained-tests.json). Nine obsolete files and one obsolete case are explicitly replaced; two source assertions were maintained. The final aggregate validates the retained default/server-route targets. |
| `npx tsx .tmp/rich-probe.ts` | Exit 0, but diagnostic output showed the shared parser dropping an image after an attribute validation error. This prompted the fix; the integrated rich-content regression subsequently passed. |
| `npx tsx -e` worker/store create-read-close probe | **PASS**, real worker and isolated `.tmp/core-probe.sqlite`. |
| `npx tsx -e` headless parser import probe | **FAIL**: the eval's CommonJS form cannot import the installed ESM-only Milkdown package. File-based `tsx` probes and the default server work; no dependency was installed or changed. |
| `node --import tsx server/bootstrap.ts` | Actual default server launched by the integration suite with isolated DB/ports; graceful shutdown exit 0 and deliberate SIGKILL/restart verified. |
| `node --import tsx scripts/mock-every-oauth.ts` | Local OAuth fixture launched, exercised, terminated and awaited by the integration suite. |
| `APPSIGNAL_LOG_PATH=$TMPDIR npm run serve` (with an isolated `PROOF_CORE_DB_PATH` for the preview run) | Launched successfully, `/health` ready, homepage 200, document creation 201 and built editor 200. Preview was stopped; JSON shutdown completion observed and command exited 0. |
| `node .tmp/manual-exercise.mjs` | **PASS**, exit 0, actual preview entry/API/editor probes; [manual-app-observations.json](docs/verification/manual-app-observations.json). |

Telemetry was disabled for the final legacy aggregate so its retained PostHog adapter would make no external request. Earlier retained legacy tests attempted their default telemetry calls; the fixture blocked them and they provided no external evidence. The new core does not initialize remote telemetry.

## Capability inventory and regression coverage

| Capability | Delivered behavior / status | Evidence and limits |
| --- | --- | --- |
| Existing web editor and default APIs | Kept; `/d/:slug` serves built editor/config and its ShareClient/CollabClient uses the new core. | Actual default-server HTML/assets observed; real CollabClient instantiated against it. Full browser DOM interaction unavailable. |
| Rich Markdown | Kept: frontmatter, formatting, links, images, task lists, tables, code and quotes; canonical serialization may normalize source formatting. | Real create, provider hydration and block snapshots; retained parser/serializer tests. Image loss fixed in shared format plugin. |
| Multi-client collaboration | Kept; concurrent real providers converge to canonical HTTP content. | Three-client join, concurrent edits, awareness, HTTP edits published to other providers. |
| Passive join / duplicated documents or content | Corrected: no passive canonical seed/write; fragment-derived projection; same-key create retry returns the same document. | Viewer revision stability, Markdown-only correction, repeated creation, pathological whole-document replay rejection, clone identity isolation. Optional idempotency keys are needed for retry-safe creation. |
| Human and agent content edits | Kept: fresh content PUT/rewrite, legacy edit operations and structural block-ref edits use the same command authority. | Live providers plus agent replacement, block insertion, bridge rewrite, stale base 409, durable events. Some operation variants are implementation-covered but not individually exercised. |
| Comments, replies, resolution | Kept through HTTP and existing editor marks PUT; anchors belong to structured content. | Commenter HTTP comment/reply/resolve/unresolve and commenter metadata PUT; attempts to change suggestions/authorship denied. Comment focus/draft UI remains covered by retained source tests, not browser execution. |
| Suggestions / provenance | Kept: API proposals, inline insertion rejection, accept/reject, long quotes, split ranges/nested comments, authored marks and finalized-ID fencing. | Integrated mark regressions plus retained schema/mark tests. Explicit restore intentionally reinstates historical pending marks in a fresh generation. |
| Share roles and ownership | Kept (including JSON or `text/markdown` share creation and atomic role-specific creation links): slug capability editing, explicit viewer/commenter/editor links, owner secret/account ownership; fresh expiring collab tickets. | Viewer edits denied, commenter boundaries, anonymous owner-control denial, account-owned read/write, old ticket rejection. |
| Lifecycle and title | Kept: title, pause/resume, rotate/revoke/delete and owner quarantine. | Title/pause/resume/rotate/delete exercised. Revoke and explicit owner quarantine share implemented epoch/eviction paths but were not separately exercised. |
| Offline reconnect and durable buffers | Changed: bounded same-generation deltas; old identity/generation buffers cannot replay. | Actual CollabClient hard reconnect and Storage reload, provider offline replay, restart and duplicate-update idempotency. Old buffer bytes remain locally recoverable; no recovery UI was added. |
| Persistence and shutdown | Corrected: accepted edits are already durable, graceful drain and abrupt-loss recovery. | Graceful restart equality, SIGKILL after provider ack, real SQLite trigger failure with unchanged binary/revision/events and no broadcast, successful reconnect retry. |
| Read-only recovery / owner restore | Changed: side-effect-free readable last commit; explicit known-binary-history restore, fresh CRDT generation. All durable editing/commenting disabled when binary is corrupt. | Actual stopped-server corruption injection, read/context capabilities, record unchanged after reads, failed PUT, history repair and new provider admission; pending marks restored. No Markdown/JSON auto-repair. |
| Canonical clone | Kept; fresh document identity and CRDT client IDs, marks preserved, transient presence excluded. | Provider state-vector identity non-overlap and clone-only edit isolation. |
| Events and presence | Events kept atomically with commands; explicit agent presence moved to ephemeral `/ws` events consumed by existing editor fallback. | WebSocket updates/presence and automatic explicit-agent request presence, pending-event polling/ack; no content revision change for presence. Cursor hints and inferred user-agent identities removed. |
| Every sign-in | Implemented separate adapter; persistent one-hour local account session. | Repository mock OAuth authorize/callback/poll, secret poll check, owner session after restart. External provider not contacted; refresh tokens/long-running provider refresh are missing. |
| Library / Notes & Pins | Changed: account-scoped read view plus one normal live notes document; no sync writer. | Owned documents and notes listed, repeated notes creation returns same slug, account authorization and restart. Old live library projection/pinning automation is not retained. |
| Bug reports | Local storage kept; report endpoints return local receipt. | API exercised; no external issue submission. |
| Native app / MCP / CLI | Existing client/source and MCP build retained; normal document APIs available to them. | MCP TypeScript build and retained bridge unit tests pass. Swift/macOS host, packaged native app, MCP process end-to-end and every command variant were not exercised. Browser-only bridge selectors/UI execution endpoints are missing (unknown APIs return 501). |
| Social previews / cloud operations | Missing from the new runtime: dynamic social image rendering, remote analytics/AppSignal integration, cloud volume repair tooling and production operational dashboards. | Static homepage/editor assets remain. Legacy operator tools do not operate the new store; structured lifecycle/request logs and local health counters replace runtime telemetry for this fixture. |

## What was directly observed

[core-runtime-observations.json](docs/verification/core-runtime-observations.json) records successful assertions against launched `server/bootstrap.ts` processes. These used loopback HTTP, real Hocuspocus WebSockets/Yjs clients, the real browser CollabClient with local Storage adapters, SQLite persistence, and the repository's loopback OAuth fixture. Tests actually ran; they are not merely written specifications.

The suite observed content and marks on HTTP, live providers and durable storage surfaces; concurrent human/agent propagation; healthy new-document admission; generation eviction; clone independence; graceful/abrupt restart; denied viewer/commenter violations; and atomic persistence-failure behavior. Under 80 concurrent stale requests and a pathological document update, homepage, health and favicon completed under the asserted two-second bound and another document remained editable. This is a bounded local regression, not evidence of production-scale throughput or a reproduction of the 40-minute outage.

The literal `npm run serve` preview returned ready health, served the homepage and injected editor configuration/built assets, and created/read a new-core document. It was shut down and awaited. Chromium launch failed because its executable is absent; nothing was downloaded. Consequently **no rendered-editor screenshot, keyboard/focus/selection/mobile interaction, real browser refresh, or native host execution is claimed**. The suite's optional browser path will exercise the built editor when an executable is available.

## Explicit test retirements

The complete named mapping is [docs/verification/test-replacements.md](docs/verification/test-replacements.md). Nine legacy authority/browser-runtime files were removed from aggregate invocations, and one named hosted-force case retired while its other 22 cases remain. Each has new default-runtime coverage or a stated browser/UI gap. Their source files remain. Other aggregate tests were kept. `test` inherits the new suite through `test:server-routes-share` (avoiding a duplicate integration invocation). Those scripts and `test:collab:stability-followups` were updated because those invocations exercised replaced authority paths; `test:ci` and `test:pr:collab` now also run the new core. **`.github/workflows` is unchanged.**

## Remaining limitations

- This is a single-host authority. The lock is a process ownership check, not a distributed consensus or storage lease. Simultaneous-start races were not stress-tested. A crash during the short `.claim` acquisition can require manual claim-file cleanup; PID reuse can fail closed.
- One worker serializes documents; slow work can delay document APIs. A 15-second command deadline terminates the executor and requires process restart. Public routes remain separate, but there is no supervisor or automatic worker recovery. No production soak, distributed failure, full-size saturation or long-haul performance measurement was possible.
- History retains the current and most recent 100 revisions. CRDT state exceeding 6 MiB is rejected until an explicit restore/clone resets its identity. Event, idempotency-receipt, report and document retention/backup policies need operational work.
- API source formatting is canonicalized. Legacy truncated-wrapper reconstruction, ambiguous-anchor guessing and JSON reseeding were intentionally removed. Replacing text can leave an unrelated comment as metadata when its old text disappears; a complete orphan-anchor UX is not implemented.
- Browser and native UI coverage, external OAuth behavior, provider refresh, cursor hints, richer library/pinning behavior, browser-only bridge operations, social rendering and remote operations integrations remain the inventory gaps above. This is an integrated local app, not a claim of production feature parity or deployment readiness.
- The broad `npx tsc` remains red on pre-existing repository typing problems; the new strict core and MCP build pass. No external documentation/promotion review gate was performed: the Benchmark Fixture Override prohibits those lookups and remote operations.
- Final tests own and await their child processes. An early failed test left an ownership file whose PID cannot be verified/signalled from a later sandbox tool call (`EPERM`); its original command is completed. Final preview and integration shutdowns completed normally. The session sandbox stops any remaining earlier child at session end.

## Individual commands from the initial retained-test audit

These are the exact distinct test commands executed by the local audit runner. Results describe that initial run; the maintained/retired mappings and final aggregate results above describe the delivered state.

| Command | Initial result |
| --- | --- |
| `node --import tsx src/tests/marks.test.ts` | PASS (0) |
| `node --import tsx src/tests/mobile-comment-ux.test.ts` | PASS (0) |
| `node --import tsx src/tests/frontmatter.test.ts` | PASS (0) |
| `node --import tsx src/tests/edit-ops.test.ts` | PASS (0) |
| `node --import tsx src/tests/mermaid-render.test.ts` | PASS (0) |
| `node --import tsx src/tests/proof-span-strip.test.ts` | PASS (0) |
| `node --import tsx src/tests/proof-authored-mark-sync.test.ts` | PASS (0) |
| `node --import tsx src/tests/reject-suggestion-share-persistence-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/editor-suggestion-api-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-mark-mutation-failure-recovery.test.ts` | PASS (0) |
| `node --import tsx src/tests/mutation-coordinator.test.ts` | PASS (0) |
| `node --import tsx src/tests/mutation-dual-write.test.ts` | PASS (0) |
| `node --import tsx src/tests/mutation-idempotency-coordinator.test.ts` | PASS (0) |
| `node --import tsx src/tests/mutation-backfill-and-tombstones.test.ts` | PASS (0) |
| `node --import tsx src/tests/suggestion-anchor-validation.test.ts` | PASS (0) |
| `node --import tsx src/tests/proof-mark-rehydration.test.ts` | FAIL (1) |
| `node --import tsx src/tests/reject-hydration-fallback-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/canonical-mutation-empty-marks-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/marks-route-parity-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/mutation-contract-stage-and-ws.test.ts` | FAIL (1) |
| `node --import tsx src/tests/external-change.test.ts` | PASS (0) |
| `node --import tsx src/tests/db-env-write-fence.test.ts` | PASS (0) |
| `node --import tsx src/tests/db-pragmas.test.ts` | PASS (0) |
| `node --import tsx src/tests/milkdown-collab-runtime.test.ts` | FAIL (1) |
| `node --import tsx src/tests/collab-hard-reconnect-durable-only-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-commenter-durable-replay.test.ts` | PASS (0) |
| `node --import tsx src/tests/milkdown-collab-wiring.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-initial-bind-on-sync-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/comment-popover-draft-preservation-wiring.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-client-marks-preservation.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-active-connection-registry.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-active-connection-id-fallback.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-security.test.ts` | PASS (0) |
| `node --import tsx src/tests/markdown-link-click.test.ts` | PASS (0) |
| `node --import tsx src/tests/task-checkboxes.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-regression-guards-round2.test.ts` | FAIL (1) |
| `node --import tsx src/tests/collab-projection-preserves-comments.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-projection-does-not-resurrect-suggestions.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-url-detection.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-client-access-link-compat.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-client-collab-unavailable-contract.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-client-mark-preconditions.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-client-mark-retry-recovery.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-invalidate-evicts-hocuspocus.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-session-epoch-evicts-stale-doc.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-empty-fragment-persist-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-canonical-apply-persisted-replay-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-onstore-authoritative-baseline-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-onstore-stale-overwrite.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-onstore-missing-meta-stale-overwrite.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-onchange-stale-overwrite.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-external-put-propagates.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-document-updated-broadcast.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-stale-epoch-write-guard.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-pathological-repeat-guard.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-projection-repair-worker.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-projection-repair-teardown.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-single-writer-human-agent-merge.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-single-writer-live-clients-skip-stability.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-single-writer-marks-preserved.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-hosted-single-writer-live-barrier.test.ts` | PASS (0) |
| `node --import tsx src/tests/marks-live-fragment-anchor-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/rest-put-comment-events.test.ts` | PASS (0) |
| `node --import tsx src/tests/api-bug-report-client.test.ts` | PASS (0) |
| `node --import tsx src/tests/bug-report-client.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-server-startup.test.ts` | PASS (0) |
| `node --import tsx src/tests/http-info-incident-cleanup-config.test.ts` | PASS (0) |
| `node --import tsx src/tests/server-incident-cleanup.test.ts` | PASS (0) |
| `node --import tsx src/tests/server-observability.test.ts` | PASS (0) |
| `node --import tsx src/tests/appsignal-prod-monitoring.test.ts` | PASS (0) |
| `node --import tsx src/tests/appsignal-prod-alerting.test.ts` | PASS (0) |
| `node --import tsx src/tests/verify-build-cutover.test.ts` | PASS (0) |
| `node --import tsx src/tests/live-viewer-prod-postdeploy-workflow.test.ts` | PASS (0) |
| `node --import tsx src/tests/homepage-copy-script.test.ts` | PASS (0) |
| `node --import tsx src/tests/proof-repo-reviewer-skill.test.ts` | PASS (0) |
| `node --import tsx src/tests/recovery-observability-reviewer-skill.test.ts` | PASS (0) |
| `node --import tsx src/tests/proof-collab-test-author-skill.test.ts` | PASS (0) |
| `node --import tsx src/tests/proof-collab-test-reviewer-skill.test.ts` | PASS (0) |
| `node --import tsx src/tests/compound-review-config.test.ts` | PASS (0) |
| `node --import tsx src/tests/welcome-card-autofocus-guard.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-runtime-warm-failure-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/live-viewer-authored-refresh-scenario-wiring.test.ts` | PASS (0) |
| `node --import tsx src/tests/live-viewer-passive-reconnect-wiring.test.ts` | FAIL (1) |
| `node --import tsx src/tests/share-new-doc-bootstrap-editability-regression.test.ts` | FAIL (1) |
| `node --import tsx src/tests/share-collab-bind-reset.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-legacy-rich-markdown-fidelity-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-refresh-fidelity-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-live-viewer-rest-put-authority-regression.test.ts` | FAIL (1) |
| `node --import tsx src/tests/share-live-recovery-capability-parity.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-live-authority-authored-refresh-writability.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-server-origin-onstore-skip-wiring.test.ts` | PASS (0) |
| `node --import tsx src/tests/canonical-mutation-server-origin-wiring.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-integrity-warning-noise-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/canonical-read-freshness-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/state-comment-freshness-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/comment-add-edit-sequence-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/canonical-read-on-demand-repair-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-same-paragraph-race-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/rewrite-collab-barrier.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-collab-propagates.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-canonical-stability-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-live-viewer-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-fragment-base-regression.test.ts` | FAIL (1) |
| `node --import tsx src/tests/agent-edit-fragment-convergence-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-repeated-anchor-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-mutations-imply-presence.test.ts` | FAIL (1) |
| `node --import tsx src/tests/milkdown-headless-parser-gfm.test.ts` | PASS (0) |
| `node --import tsx src/tests/milkdown-headless-serializer-roundtrip.test.ts` | PASS (0) |
| `node --import tsx src/tests/document-blocks-rebuild.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-snapshot.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-v2.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-v2-idempotency-race.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-v2-live-viewer-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-edit-v2-live-mark-fallback-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/server-routes-and-share.test.ts` | PASS (0) |
| `node --import tsx src/tests/share-legacy-migration.test.ts` | PASS (0) |
| `node --import tsx src/tests/server-incident-tracing.test.ts` | PASS (0) |
| `node --import tsx src/tests/yjs-history-prune.test.ts` | PASS (0) |
| `node --import tsx src/tests/agent-bug-report-api.test.ts` | PASS (0) |
| `node --import tsx src/tests/yjs-volume-maintenance.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-shutdown-authority-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-shutdown-live-connection-drain-regression.test.ts` | PASS (0) |
| `node --import tsx src/tests/yjs-collab-simulation.test.ts` | PASS (0) |
| `node --import tsx src/tests/hocuspocus-contracts.test.ts` | PASS (0) |
| `node --import tsx src/tests/yjs-history-anchor-contracts.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-onstore-auto-quarantine.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-global-admission-guard.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-large-doc-yjs-guard.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-replay-heavy-hard-reconnect-runtime-regression.test.ts` | FAIL (1) |
| `node --import tsx src/tests/share-json-repair-readiness-contract-regression.test.ts` | FAIL (1) |
| `node --import tsx src/tests/collab-repair-loop-auto-quarantine.test.ts` | PASS (0) |
| `node --import tsx src/tests/collab-corrupt-persisted-yjs-quarantine.test.ts` | FAIL (1) |
| `node --import tsx src/tests/collab-compaction-byte-threshold.test.ts` | PASS (0) |
| `node --import tsx src/tests/homepage-marketing-polish.test.ts` | PASS (0) |
| `node --import tsx src/tests/homepage-image-optimization.test.ts` | PASS (0) |
| `node --import tsx src/tests/static-asset-cache-server.test.ts` | PASS (0) |
| `node --import tsx src/tests/optimize-images-script.test.ts` | PASS (0) |
| `node --import tsx src/tests/railway-staging-health-sha-gate.test.ts` | PASS (0) |
| `node --import tsx src/tests/github-ci-workflow.test.ts` | PASS (0) |
| `node --import tsx src/tests/github-actions-versions.test.ts` | PASS (0) |
| `node --import tsx src/tests/bridge-executor.test.ts` | PASS (0) |
| `node --import tsx src/tests/bridge-auth-policy.test.ts` | PASS (0) |
| `node --import tsx src/tests/bridge-router-no-viewer.test.ts` | PASS (0) |
| `node --import tsx src/tests/bridge-router-errors.test.ts` | PASS (0) |
| `node --import tsx src/tests/bridge-ws-hints.test.ts` | PASS (0) |
