Skip to content

Phase 10 / Task F2: Prepare and Verify clean-pr Locally #199

Closed

Description

@Sam-Bolling

Phase 10 Task

Task ID: F2
Title: Prepare and Verify clean-pr Locally
Source: Approved Phase 10 Roadmap
Roadmap: P10-ROADMAP.md


  • Objective: Construct the reviewer-facing delivery locally and prove it matches the verified workbench before any remote change.
  • Acceptance criteria advanced: P10-A4, P10-E2, P10-E3.
  • Complexity/risk: High; local delivery-repository mutation, still reversible before push.
  • Locked decisions: Use the same upstream SHA; normal merge; apply only the F1 patch; one curated Phase 10 contribution commit; no force-push.
  • Expected work:
    • inspect and record clean delivery-repository status, branch, remotes, and current PR head;
    • fetch origin/upstream and verify expected ancestry;
    • merge the same A1-recorded upstream SHA into local clean-pr;
    • stop if conflicts differ from the reviewed forecast;
    • apply the F1 patch and compare staged paths with the manifest;
    • commit the contribution as one curated Phase 10 commit distinct from upstream history;
    • compare every manifest path against the verified workbench tip;
    • confirm no workbench-only path entered delivery;
    • run full QA, docs, build, and package checks on the local delivery tree;
    • do not push.
  • Affected areas: Local OS4CSAPI/ogc-client:clean-pr only, limited to upstream integration and the F1 manifest.
  • Explicit exclusions: Push, PR metadata change, force-push, new source work, workbench artifacts.
  • Automated acceptance gate:
    • delivery log shows the recorded upstream integration plus one Phase 10 contribution commit;
    • manifest path comparison with workbench reports zero differences;
    • prohibited-path audit reports zero workbench-only files;
    • full QA, docs build, production build, and package proof succeed;
    • git status is clean and local branch is intentionally ahead of remote.
  • Deliverable: A fully verified local clean-pr ready for one normal push.
  • Closing evidence: Local commit SHAs, manifest comparison, prohibited-path audit, all gates, files, deviations or none; keep issue open for dependent F3 traceability if issue policy requires.

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: #198 — Phase 10 Task F1
Blocks: #200 — Phase 10 Task F3

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 28, 2026

    @Sam-Bolling
    Author

    I have reviewed the AI Operational Constraints.
    Issue goal: Prepare and fully verify the curated Phase 10 delivery on local clean-pr without pushing or changing PR metadata.
    Assumptions requiring confirmation: none.

  2. Sam-Bolling commented on Aug 28, 2026

    @Sam-Bolling
    Author

    Completed Phase 10 Task F2. The delivery remains local-only and ready for Task F3's single normal push.

    Delivery history and remote boundary:

    • Original local/remote clean-pr and PR D-1: Resolve SystemTypeUris name collision between model.ts and constants.ts #136 head: effaa783ed689187f8d3e3795b4946fa38175448.
    • Recorded/current canonical upstream: 305e3da2cf86cfda5c3254a0be419db70cce54b0.
    • Local normal upstream merge: eb4b38380e4b522e1a0e5f79943b3ea695abffcd, with parents effaa783ed689187f8d3e3795b4946fa38175448 and 305e3da2cf86cfda5c3254a0be419db70cce54b0; conflicts: zero.
    • Local curated Phase 10 contribution: 5f7cbd166143be76b60ea54593d6f313c75c3624, one parent (eb4b383...) and exactly 57 changed files.
    • No push, force-push, or PR metadata operation occurred. origin/clean-pr and PR D-1: Resolve SystemTypeUris name collision between model.ts and constants.ts #136 remain at effaa783....
    • Final local state: clean; 0 behind / 87 commits ahead of origin/clean-pr.

    Fidelity and scope gates:

    • Reviewed patch SHA-256 reverified: 75a85b4360dffe6e91a92b0f0409b09bfaa7bb1579df20bf58c8def0bfa08b0b.
    • Pre-patch delivery merge versus workbench sync over the manifest: 0 differences.
    • Staged/committed paths versus the 57-path manifest: 0 differences.
    • Delivery contribution versus accepted workbench tip 3c07baf615519cfcfa454d522209cf944c0f690b: 57/57 blob identities match; 0 differences.
    • Prohibited contribution paths: 0.
    • Complete delivery/workbench comparison: 526 differences, all classified as excluded workbench documentation/governance/issue/configuration records; unexpected differences: 0.
    • Recorded upstream is an ancestor of the delivery head; git diff --check passes.

    Verification:

    • Fresh Node.js v24.20.0 / npm 11.19.0 install: passed (836 packages installed; inherited audit findings recorded and not remediated).
    • Windows-compatible formatter diagnostic (--end-of-line auto): passed.
    • TypeScript typecheck: passed.
    • ESLint: passed.
    • Focused CSAPI browser suite: 30/30 suites and 1,383/1,383 tests passed.
    • Authoritative clean Linux QA for the accepted, byte-identical non-workbench tree: run 33124802529 passed unmodified formatting, typecheck, lint, full browser tests, full Node tests, docs build, and diff check.
    • Local full Node run: 67/68 suites and 1,910 tests passed; its sole mismatch was the documented Windows CRLF checkout of fixtures/ogc-api/notjson.json. The Git blob is LF and the authoritative Linux run passed that test.
    • Documentation generation/VitePress build: passed with 0 errors and the 12 reviewed upstream warnings.
    • Production worker, Node, browser, source-map, and declaration build: passed using Node 24 with Git Bash as the lifecycle shell.
    • Package dry run: 521 files; all four required root/CSAPI JavaScript and declaration targets present; both . and ./csapi exports point to those targets.
    • Packed artifact: 808,990 bytes; SHA-256 00729d28226284423d5228e1085b106d81feab7a8e92a12b899d8a671b2b5ca1.
    • Disposable consumer runtime imports passed for OgcApiEndpoint, CSAPIQueryBuilder, createCSAPIBuilder, and parseDatastream.
    • Strict NodeNext declaration-import compilation passed using the project-approved skipLibCheck boundary.
    • Generated docs/build outputs, tarball, and disposable consumer were removed after verification; live API calls: zero.

    The authoritative Linux result is applied through the zero-unexpected-difference tree proof because the approved guide identifies this Windows checkout as non-authoritative for CRLF and worker-path behavior, while F2 explicitly prohibits the remote push that will trigger delivery CI in F3.

    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