Commit 697e701
committed
fix(subagent): carry routing provenance end to end and validate it structurally
- the Agent tool forwards routing and the current revision on
subagent.spawned, so the web roster shows provenance for normal launches
- the web projector keeps the spawned provenance when task.started omits it
instead of overwriting it with undefined
- REST and event routing mappers reject values outside the contract instead
of casting them through
- the persisted provenance event and replayable key use a structural Zod
schema instead of z.custom without a predicate
- spawn tests assert the handoff the service owns; the vacuous resume
assertion is removed1 parent bbcb8e1 commit 697e701
102 files changed
Lines changed: 463 additions & 343 deletions
File tree
- apps
- pythinker-code/dist-web
- assets
- pythinker-web
- src/api/daemon
- test
- packages/agent-core-v2
- src
- agent/tools/agent
- session/subagent
- test
- session/subagent
- tool
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments