Skip to content

chore(deps): align @wasmagent/* to latest, adopt AEP v0.3 evidence fields - #10

Merged
telleroutlook merged 1 commit into
mainfrom
chore/align-wasmagent-latest
Jul 30, 2026
Merged

chore(deps): align @wasmagent/* to latest, adopt AEP v0.3 evidence fields#10
telleroutlook merged 1 commit into
mainfrom
chore/align-wasmagent-latest

Conversation

@telleroutlook

Copy link
Copy Markdown
Collaborator

What

Bumps all 17 @wasmagent/* dependencies from the pinned 1.x line to current npm latest (core 1.0→3.3, model-* 1.0→2.0, aep 1.2→2.3, etc.). They had drifted two majors behind upstream.

Why more than a bump

bscode is the Golden Path reference workload — the sample other integrators copy. If it emits a v0.2-shaped AEP record through a v0.3 library, the new evidence fields go undemonstrated. So this also makes buildAEPEvidence() actually populate the AEP v0.3 schema:

  • side_effect_class — derived per tool: network-egress (git_push/npm_publish), mutate-external (bash), mutate-local (file edits), read otherwise. Feeds the emitter's run_side_effect_class_max.
  • recording_mode — risk-proportional per the AEP README: full for external/egress/tainted actions, delta for local mutation, validation for read-only.
  • approval_mode + deny_reason_class — executed tools → policy-allow-with-receipt; firewall denials → policy-deny-with-evidence + policy-rule.
  • input_taint_labels added alongside output_taint_labels for tainted input.

Schema version emitted is now aep/v0.3: updated the assertion + roundtrip script and regenerated the shared JSONL fixture with a real Ed25519 signature. Added tests pinning the new-field derivation.

Verification (providers down — operator manual build)

  • apps/worker: tsc clean · 511 pass / 0 fail (--isolate) · wrangler build OK
  • apps/web: tsc clean · next build OK
  • biome check apps/: clean

Local gates green; queue merge uses local CI as source of truth per ops policy.

…elds

Bumps all 17 @wasmagent/* dependencies from the pinned 1.x line to current
latest (core 1.0->3.3, model-* 1.0->2.0, aep 1.2->2.3, etc.), which had
drifted two majors behind upstream. Beyond making it compile, this makes
bscode — the Golden Path reference workload — actually exercise the AEP
v0.3 evidence schema it now depends on, so the workload demonstrates the
fields rather than emitting a v0.2-shaped record through a v0.3 library.

AEP v0.3 fields now populated in buildAEPEvidence():
- side_effect_class: derived per tool (network-egress for git_push/
  npm_publish, mutate-external for bash, mutate-local for file edits,
  read otherwise). Drives the emitter's run_side_effect_class_max.
- recording_mode: risk-proportional per the AEP README — full for
  external/egress/tainted actions, delta for local mutation, validation
  for read-only.
- approval_mode + deny_reason_class on capability decisions: executed
  tools -> policy-allow-with-receipt; firewall denials ->
  policy-deny-with-evidence + policy-rule.
- input_taint_labels added alongside output_taint_labels for tainted input.

Schema version emitted is now aep/v0.3; updated the assertion, the
roundtrip script, and regenerated the shared JSONL fixture with a real
Ed25519 signature. Added tests pinning the new-field derivation.

Verification (providers down, operator manual build):
- apps/worker: tsc clean, 511 pass / 0 fail (--isolate), wrangler build OK
- apps/web: tsc clean, next build OK
- biome check apps/: clean
@telleroutlook
telleroutlook merged commit d16171b into main Jul 30, 2026
2 checks passed
@telleroutlook
telleroutlook deleted the chore/align-wasmagent-latest branch July 30, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant