[AAASM-4339] π (examples): Scenario manifest hygiene β exact pins + js-yaml types#244
Conversation
Replace bare agent-assembly>=0.0.1rc3 floors in the live-core-enforcement Dockerfile and README with the ecosystem's canonical ==0.0.1rc3 exact pin, matching the other examples and the repo never-bare->= rule. Refs AAASM-4339 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R7vqjjo5nrebYNt8WnCNbz
js-yaml 5.x ships its own bundled type declarations (types + exports.types), so the @types/js-yaml ^4.0.9 devDep was both redundant and a major mismatch against the ^5.2.1 runtime (no ^5 @types is published). Remove @types/js-yaml from the approval-gates and policy-enforcement node scenarios and refresh their lockfiles; tsc --noEmit passes in both. Refs AAASM-4339 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01R7vqjjo5nrebYNt8WnCNbz
Claude Code review β AAASM-4339Verdict: approve-ready β CI: β green β 23/23 checks passed. Scope β fully covers both AC items:
Side-effects: clean.
No changes requested. β Claude Code review |
β¦cenario_manifest_hygiene # Conflicts: # scenarios/approval-gates/node/package.json # scenarios/approval-gates/node/pnpm-lock.yaml # scenarios/policy-enforcement/node/package.json # scenarios/policy-enforcement/node/pnpm-lock.yaml
|
Conflict resolved β synced with latest baseBase moved ( Resolution (merged
Verified: |



What changed
Two residual manifest-hygiene fixes in the scenarios tree (LOW), following AAASM-4333:
live-core-enforcementβ replaced the bareagent-assembly>=0.0.1rc3floors inscenarios/live-core-enforcement/python-agent/Dockerfileandscenarios/live-core-enforcement/README.mdwith the ecosystem's canonical==0.0.1rc3exact pin, matching every other example and the repo's never-bare->=rule.approval-gatesandpolicy-enforcementnode scenarios pinnedjs-yaml ^5.2.1(runtime) but@types/js-yaml ^4.0.9(types), a major mismatch. Investigation (npm view js-yaml@5.2.1) shows js-yaml 5.x ships its own bundled declarations (types: ./dist/js-yaml.d.tsin both thetypesfield andexports), and no^5@types/js-yamlis published (max is 4.0.9). So the@types/js-yamldevDep is both redundant and mismatched β removed it from both manifests and refreshed the lockfiles.Grep-sweep result:
grep -rn 'agent-assembly>=' .found 3 hits β the 2 live-core-enforcement files above (fixed) andverification-reports/AAASM-2262-verify-python-examples.md(a historical verification report quoting a pastpyproject.tomlstate, not a live install/pin β left as-is). Post-fix sweep ofscenarios/is clean.Related ticket
Closes AAASM-4339
How to verify
grep -rn 'agent-assembly>=' scenarios/β no results.package.jsonare valid JSON and no longer list@types/js-yaml;js-yaml ^5.2.1remains.pnpm typecheck(tsc --noEmit) passes in bothscenarios/approval-gates/nodeandscenarios/policy-enforcement/nodewith@types/js-yamlremoved, confirming js-yaml 5.x self-typing.pnpm/action-setup version: 10); diff is limited to the@types/js-yamlremoval (plus additivelibcplatform metadata) β no esbuild/vite/version churn.Checklist
[AAASM-XXXX] <GitEmoji> (<scope>): <summary>.envfiles committedREADME.mdwith prerequisites and run instructionsπ€ Generated with Claude Code
https://claude.ai/code/session_01R7vqjjo5nrebYNt8WnCNbz