Repository navigation
Closed
Description
Phase 10 Task
Task ID: A3
Title: Audit Upstream and CSAPI Preservation
Source: Approved Phase 10 Roadmap
Roadmap: P10-ROADMAP.md
- Objective: Prove that Task A2 preserved both current upstream changes and the Phase 8 CSAPI public surface before maintenance edits begin.
- Acceptance criteria advanced: P10-A2, P10-A3, P10-A4, P10-A5.
- Complexity/risk: Medium; evidence generation and targeted correction only if already authorized by the merge resolution.
- Locked decisions: No new public exports; no non-CSAPI upstream reversions; findings outside merge preservation are deferred.
- Expected work:
- compare upstream-changed paths against the merged workbench tree;
- generate before/after CSAPI public-export inventories;
- verify root and CSAPI package export targets coexist;
- run targeted TypeScript and existing CSAPI tests that are compatible with the approved runtime;
- inspect the final contribution diff against the merge parent for unexplained authored changes;
- record findings and a clear pass/fail preservation conclusion.
- Affected areas: Evidence under
docs/research/phase-10/; merge-preservation corrections only if strictly required and documented. - Explicit exclusions: Formatter migration, public-doc rewrites, TypeDoc integration, new functionality, broad source fixes.
- Automated acceptance gate:
- automated public-export comparison reports no unexplained removal;
- package target checks succeed;
- targeted existing CSAPI tests and typecheck exit 0;
- upstream-change comparison reports no unexplained reversion;
- changed-file audit contains no unrelated authored source change.
- Deliverable: Committed and pushed preservation-audit report and any strictly necessary documented merge-preservation correction.
- Closing evidence: Commit SHA, commands/results, export inventory, reversion report, files, deviations or
none.
Acceptance Criteria
- The task objective and expected work are complete under the locked decisions.
- Every condition in the automated acceptance gate above passes and its command output is recorded.
- The actual changed-file or evidence set stays within the listed affected areas.
- Every explicit exclusion is respected.
- Required workbench changes and evidence are committed and pushed to phase-10, or the task's stated evidence-only result is linked to an immutable commit.
- The closing comment records the commit SHA or verified immutable SHA, changed files, exact gate results, and Deviation from locked decision: none. or the approved deviation.
Dependencies
Blocked by: #190 — Phase 10 Task A2
Blocks: #192 — Phase 10 Task B1
Definition of Done / Closing Workflow
This issue is not complete until all three steps occur in order:
- Edit this issue so every acceptance checkbox is [x].
- Commit and push/sync all required changes or immutable evidence.
- Post the required summary comment and close the issue as completed.
Do not close without the summary comment. New findings are recorded separately and are not absorbed into this task.
Operational Constraints
Before starting, review AI_OPERATIONAL_CONSTRAINTS.md and use its required task-entry acknowledgment.
Authority order for this issue:
- Adopted standards and specifications.
- Project governance.
- P10 Contribution Goal and Definition.
- P10 Implementation Guide.
- P10 Roadmap.
- This issue.
- Existing repository code and documentation.
- Conversational context.
Preserve minimal diffs, do not refactor adjacent code, do not introduce new features or dependencies, and stop on unresolved scope or architectural conflict.
Activity
docs(phase-10): record preservation audit (#191)
Sam-Bolling commentedon Aug 27, 2026
Completed Phase 10 Task A3.
Commit:
5264889b51b22d18f45d863a79ac8eb8442d956dFiles added:
docs/research/phase-10/03-task-a3-preservation-audit.mddocs/research/phase-10/03-task-a3-csapi-exports-before.txtdocs/research/phase-10/03-task-a3-csapi-exports-after.txtAcceptance-gate results:
992f2d42dd2657c656cdcb6d1e45e88a968db430.3e4f432b...).cb0d0099...)../csapiJavaScript/declaration metadata targets: PASS../csapipackage export object preserved exactly;sideEffects: falsepreserved.tsc --noEmit: PASS, exit 0.git diff --check: PASS.origin/phase-10equals the commit above and the worktree is clean.The dependency installation reported inherited audit findings and an esbuild install-script notice. No audit fix, install-script approval, build, dependency remediation, or other out-of-scope action was performed.
Deviation from locked decision: none.