Repository navigation
Closed
Description
Phase 10 Task
Task ID: B2
Title: Apply the Mechanical Prettier 3 Migration
Source: Approved Phase 10 Roadmap
Roadmap: P10-ROADMAP.md
- Objective: Reformat the exact contribution-relevant file population required by current upstream Prettier 3 without semantic edits.
- Acceptance criteria advanced: P10-B1, P10-B2, P10-B3.
- Complexity/risk: Medium; large but mechanical diff.
- Locked decisions: Inventory before writing; format only contribution-relevant paths; keep formatter-only work separate; do not restore Prettier 2 behavior.
- Expected work:
- install lockfile-resolved dependencies under Node.js 24;
- derive and record the exact
--list-differentpopulation using local line-ending-safe diagnosis when necessary; - review that inventory for historical/workbench-only or generated paths;
- run Prettier write only on the accepted explicit paths;
- inspect the diff for mechanical-only changes;
- run targeted formatting, typecheck, lint, and CSAPI test gates;
- commit and push the formatter-only result.
- Affected areas: The machine-derived CSAPI/source/test/fixture/public-doc file set; no historical
docs/content. - Explicit exclusions: Authored documentation correction, refactoring, renaming, logic changes, generated files, audit remediation.
- Automated acceptance gate:
npm run format:checkexits 0 in a clean Linux checkout;npm run typecheck,npm run lint, existing CSAPI browser tests, and existing CSAPI node tests exit 0;- a semantic-diff review reports formatting only;
git diff --checkexits 0.
- Deliverable: One pushed mechanical Prettier 3 migration commit plus its exact file inventory.
- Closing evidence: Commit SHA, formatter version, inventory, gate results, 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: #192 — Phase 10 Task B1
Blocks: #194 — Phase 10 Task C1
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
style(phase-10): apply Prettier 3 migration (#193)
Sam-Bolling commentedon Aug 27, 2026
Completed Phase 10 Task B2.
Commit:
82db2103e55244723788b1042c68a591d51b0888Changed-file reality:
docs/research/phase-10/04-task-b2-prettier3-file-inventory.txt.src/ogc-api/endpoint.ts,endpoint.spec.ts,info.ts, andinfo.spec.ts.docs/,.tmp/, dependencies, generated output, fixtures, README, and package metadata were excluded.Acceptance-gate results:
--list-different --end-of-line auto .: exactly 52 accepted paths; prohibited-path count 0.npm run typecheckunder Node 24: PASS.npm run lintunder Node 24: PASS.git diff --check: PASS.npm ci: success.npm run format:check: success.npm run typecheck: success.npm run lint: success.npm run test:browser: success.npm run test:node: success.origin/phase-10equals the commit above and the worktree is clean.The existing QA workflow was changed from
disabled_manuallytoactivethrough the GitHub Actions API solely to execute the issue’s required clean-Linux gate. No workflow file or other repository setting was changed beyond that activation.No source semantics, public API, documentation wording, package metadata, dependency, generated file, or historical record was authored or refactored.
Deviation from locked decision: none.