Skip to content

Phase 10 / Task A2: Integrate the Locked Upstream Commit in the Workbench #190

Closed

Description

@Sam-Bolling

Phase 10 Task

Task ID: A2
Title: Integrate the Locked Upstream Commit in the Workbench
Source: Approved Phase 10 Roadmap
Roadmap: P10-ROADMAP.md


  • Objective: Merge the A1-recorded upstream commit into phase-10 while preserving current upstream architecture and the existing CSAPI contribution.
  • Acceptance criteria advanced: P10-A1, P10-A2, P10-A4, P10-A5.
  • Complexity/risk: High; foundational integration mutation.
  • Locked decisions: Normal --no-ff merge; no rebase or force-push; accept upstream deletion of app/package-lock.json; preserve the dynamic-import facade and ./csapi export.
  • Expected work:
    • verify that upstream/main still resolves to the A1-recorded SHA;
    • merge that exact SHA into phase-10;
    • resolve the forecast lockfile conflict with git rm app/package-lock.json;
    • inspect every conflict and the semantically overlapping automatic merges listed in the Implementation Guide;
    • confirm current upstream root tooling, dependencies, exports, docs structure, and CI runtime remain present;
    • confirm Phase 8 CSAPI files, facade, subpath export, and sideEffects metadata remain present;
    • commit and push the integration merge without beginning maintenance work.
  • Affected areas: Merge result across the repository, especially app/package-lock.json, .github/workflows/qa.yml, .prettierignore, README.md, package*.json, src/index.ts, and endpoint/CSAPI overlap files.
  • Explicit exclusions: Prettier writes, stale-doc correction, TypeDoc integration, new tests, server testing, unrelated merge cleanup.
  • Automated acceptance gate:
    • git merge-base --is-ancestor <recorded-upstream-sha> phase-10 exits 0;
    • app/package-lock.json is absent;
    • package metadata parses and exposes both . and ./csapi;
    • recorded conflict paths match the reviewed resolution;
    • the pushed branch contains the merge commit and has no uncommitted changes.
  • Deliverable: One pushed workbench upstream-integration merge commit.
  • Closing evidence: Merge SHA, upstream SHA, resolved paths, package-export result, inspected automatic merges, 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: #189 — Phase 10 Task A1
Blocks: #191 — Phase 10 Task A3

Definition of Done / Closing Workflow

This issue is not complete until all three steps occur in order:

  1. Edit this issue so every acceptance checkbox is [x].
  2. Commit and push/sync all required changes or immutable evidence.
  3. 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:

  1. Adopted standards and specifications.
  2. Project governance.
  3. P10 Contribution Goal and Definition.
  4. P10 Implementation Guide.
  5. P10 Roadmap.
  6. This issue.
  7. Existing repository code and documentation.
  8. 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

  1. Sam-Bolling commented on Aug 27, 2026

    @Sam-Bolling
    Author

    Completed Phase 10 Task A2.

    Merge commit: 992f2d42dd2657c656cdcb6d1e45e88a968db430

    Merge parents:

    1. Workbench: c18aa4a3084d0ddad60145aa6e4e698d320af7bd
    2. Locked upstream: 305e3da2cf86cfda5c3254a0be419db70cce54b0

    Changed-file reality:

    • Exactly 172 incoming paths, matching the Task A1 machine-generated inventory.
    • The one conflict was app/package-lock.json; it was resolved with the approved git rm, accepting upstream’s deletion.
    • The eight automatic semantic overlaps were inspected: .github/workflows/qa.yml, .prettierignore, README.md, package.json, src/index.ts, src/ogc-api/endpoint.spec.ts, src/ogc-api/endpoint.ts, and src/ogc-api/info.ts.
    • No maintenance change, formatter write, documentation correction, TypeDoc integration, new test, package installation, server test, rebase, or force-push was performed.

    Acceptance-gate results:

    • Dependency Phase 10 / Task A1: Revalidate and Lock the Upstream Baseline #189: closed/completed.
    • upstream/main still resolved to the locked SHA before merge: PASS.
    • Pre-merge forecast: exactly 8 automatic overlaps and 1 expected conflict: PASS.
    • Normal --no-ff merge: PASS; resulting commit has the two parents listed above.
    • git merge-base --is-ancestor 305e3da2... phase-10: PASS, exit 0.
    • Remaining unmerged paths: 0.
    • app/package-lock.json absent and untracked: PASS.
    • package.json and root package-lock.json parse: PASS.
    • Package exports . and ./csapi: PASS.
    • Root import target ./dist/index.js: PASS.
    • CSAPI JS/declaration targets: PASS.
    • sideEffects: false: preserved.
    • Current upstream Prettier 3, TypeDoc, VitePress, Node.js 24 QA, and documentation structure: preserved.
    • Phase 8 CSAPI tree: 61 tracked files preserved.
    • Dynamic imports of ./csapi/factory.js and ./csapi/helpers.js: preserved.
    • Root bulk CSAPI export: absent as required.
    • git diff --cached --check before commit: PASS.
    • Remote verification: origin/phase-10 equals 992f2d42...; worktree clean.

    Deviation from locked decision: none.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions