Skip to content

[RefImpl] Wire subagentStop in the Claude Code and Cursor adapters #131

Description

@rocklambros

Target runtime or language

The Claude Code and Cursor adapters in adapters/, from #22

What this proves

That a framework with no session chain can report subagent completion honestly. Both adapters leave subagentStop unmapped because hooks/subagent-stop.json required final_chain_hash, and neither framework can know that value. #21 made the field optional and added the rule in §8.6 for how a Guardian treats its absence, so the event can now be emitted without a fabricated hash.

Done means Claude Code's SubagentStop and Cursor's subagentStop emit steps/subagentStop without final_chain_hash, the emission suites validate those payloads against the schema, and the KNOWN_UNMAPPED entries and mapping docs are updated.

Do you intend to implement this yourself

No, I am proposing it for someone else

Current Priority Scope

Feeds conformance evidence

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

scope:in-focusFeeds the ninety-day committed outcome. Maintainers onlystatus:acceptedIn the backlog. Maintainers onlytype:refimplReference implementation or adapter work

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions