diff --git a/.agentworkforce/trajectories/compacted/fix-publish-npm-engine.json b/.agentworkforce/trajectories/compacted/fix-publish-npm-engine.json new file mode 100644 index 0000000..8d7ceef --- /dev/null +++ b/.agentworkforce/trajectories/compacted/fix-publish-npm-engine.json @@ -0,0 +1,37 @@ +{ + "id": "compact_0qkc7s4mhclm", + "version": 1, + "type": "compacted", + "compactedAt": "2026-10-02T05:36:27.364Z", + "sourceTrajectories": [ + "traj_acmbldvc9ifd" + ], + "dateRange": { + "start": "2026-10-02T05:35:40.198Z", + "end": "2026-10-02T05:36:10.691Z" + }, + "summary": { + "totalDecisions": 1, + "totalEvents": 1, + "uniqueAgents": [ + "default" + ] + }, + "decisionGroups": [ + { + "category": "testing", + "decisions": [ + { + "question": "Pin publishing npm to 11.10.1", + "chosen": "Pin publishing npm to 11.10.1", + "reasoning": "The original failure came from npm latest selecting npm 12.2.0, incompatible with Node 22.14.0. Review identified dependency-resolution regressions in the initial 11.6.2 pin. Upstream npm/cli PR 8981 shipped in 11.10.1, which retains the Node ^20.17.0 || >=22.9.0 engine range and OIDC support. Keep an exact pin to prevent future engine drift.", + "fromTrajectory": "traj_acmbldvc9ifd" + } + ] + } + ], + "keyLearnings": [], + "keyFindings": [], + "filesAffected": [], + "commits": [] +} \ No newline at end of file diff --git a/.agentworkforce/trajectories/compacted/fix-publish-npm-engine.md b/.agentworkforce/trajectories/compacted/fix-publish-npm-engine.md new file mode 100644 index 0000000..3f18a5a --- /dev/null +++ b/.agentworkforce/trajectories/compacted/fix-publish-npm-engine.md @@ -0,0 +1,18 @@ +# Trajectory Compaction: Oct 1, 2026 - Oct 1, 2026 + +## Summary +- Sessions: 1 +- Decisions: 1 +- Events: 1 +- Agents: default +- Files: 0 +- Commits: 0 + +## Testing +- Pin publishing npm to 11.10.1 -> Pin publishing npm to 11.10.1 (traj_acmbldvc9ifd) + +## Key Learnings +- None + +## Key Findings +- None \ No newline at end of file diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 9f3d52c..a9f8f29 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -131,7 +131,8 @@ jobs: path: . - name: Update npm for OIDC support - run: npm install -g npm@latest + # npm >=11.5.1 supports OIDC; pin a version compatible with Node 22.14.0. + run: npm install -g npm@11.10.1 - name: Dry run check if: github.event.inputs.dry_run == 'true'