Repository navigation
Closed
Description
Phase 10 Task
Task ID: E2
Title: Prove the Production Package and Clean-Consumer Imports
Source: Approved Phase 10 Roadmap
Roadmap: P10-ROADMAP.md
- Objective: Demonstrate that the production artifact contains and resolves both the root and CSAPI JavaScript/declaration entry points.
- Acceptance criteria advanced: P10-A4, P10-D5, P10-D6, P10-D7.
- Complexity/risk: Medium; build and disposable-consumer verification.
- Locked decisions: Use Node.js 24 with a POSIX shell; no live requests; use an ignored
.tmp/consumer; do not commit generated packages or dependency trees. - Expected work:
- run the production build from a clean dependency installation;
- run
npm pack --dry-run --jsonand record the file inventory; - create a disposable minimal consumer under
.tmp/; - pack/install the library tarball;
- verify JavaScript imports and TypeScript declarations from both package paths using representative public symbols;
- compare export targets with actual packed files;
- remove the disposable consumer and tarball after evidence capture.
- Affected areas: Ignored
.tmp/artifacts and verification evidence only; no intended source change. - Explicit exclusions: Network API calls, publishing, package metadata redesign, audit remediation, committed generated artifacts.
- Automated acceptance gate:
npm run buildexits 0;- package inventory contains root and CSAPI JavaScript/declaration targets;
- fresh-consumer runtime and TypeScript checks exit 0 for both
@camptocamp/ogc-clientand@camptocamp/ogc-client/csapi; - final repository status contains no generated or temporary artifact.
- Deliverable: Committed and pushed package-proof evidence or an evidence-only issue result linked to the verified immutable commit.
- Closing evidence: Verified commit SHA, build/pack/consumer commands and results, package inventory, cleanup result, 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: #196 — Phase 10 Task E1
Blocks: #198 — Phase 10 Task F1
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
Sam-Bolling commentedon Aug 27, 2026
I have reviewed the AI Operational Constraints.
Issue goal: Complete Phase 10 Task E2 by proving a clean Node.js 24 production build and packed artifact resolve representative root and CSAPI runtime/declaration imports in a disposable consumer.
Assumptions requiring confirmation: none.
Sam-Bolling commentedon Aug 28, 2026
Completed Phase 10 Task E2 as an evidence-only result.
3c07baf615519cfcfa454d522209cf944c0f690bphase-10,origin/phase-10, and the verified SHA remain identical.5.3.15(MINGW64POSIX shell), Node.jsv24.20.0, npm11.19.0.Build and package results:
npm ci: exit 0 (60s); clean installation added 836 packages and audited 837. The inherited audit report was recorded and not remediated.npm run buildwith npm lifecycle shell pinned to Git Bash: exit 0 (162s). Worker, Node, browser JavaScript, source maps, and declarations were generated.npm pack --dry-run --json --ignore-scripts: exit 0.npm pack --json --ignore-scripts --pack-destination .tmp/task-e2-pack: exit 0.@camptocamp/ogc-client@1.3.1-dev, 521 files, 4,363,490 unpacked bytes; disposable tarball SHA-256d7390c4216b7c79694cf988ff7b55d4037b9b2d0ae411f88e4819d2726a47cd1.dist/index.js;dist/index.d.ts;dist/ogc-api/csapi/index.js;dist/ogc-api/csapi/index.d.ts.Disposable clean-consumer results:
@rgrove/parse-xml@4.2.3dependency was packed locally; both dependency and library were installed through localfile:tarballs withnpm install --offline --ignore-scripts --no-audit --no-fund.OgcApiEndpointresolved from@camptocamp/ogc-client;CSAPIQueryBuilderandcreateCSAPIBuilderresolved from@camptocamp/ogc-client/csapi; the pure factory returned aCSAPIQueryBuilderinstance.skipLibCheckboundary. Root and CSAPI declarations resolved, and representative value/type assignments compiled withstrict,NodeNext, andnoEmit.Cleanup and exclusions:
dist/, the consumer, both tarballs, pack JSON, audit helper, Node/npm shims, and the temporary local npm shim.task-e2-*path anddist/absent;git status --shortis empty andgit diff --checkpasses.Deviation from locked decision: none.