feat(claude): resolve nested teammate reachability and document harness team coordinator - #355
Merged
Merged
Conversation
…ss team coordinator Signed-off-by: Jared Scott <jared.scott@variable.team>
Contributor
CoverageThreshold: |
gcko
added a commit
that referenced
this pull request
Sep 16, 2026
Signed-off-by: Jared Scott <jared.scott@variable.team>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements DRC-4347.
Summary of Changes
Root Session Prefix Resolution:
teamName: session-<lead-prefix>to transcript records and inherit this across all teammates dispatched within an agent team.collect_claude_sessionsnow recursively traces parent prefixes up to the root lead session prefix present intranscripts.Parent Attribution:
parent.published_agent()incollect_claude_sessionsreceives and publishesparent, allowing grandchild agents to be attributed correctly beneath their immediate dispatcher.Empirical Capture & Rationale:
docs/captures/claude/nested-teammate-2.1.273-macos.jsonlverifying that Claude Code 2.1.273 dispatches teammates with--team-name session-<lead-prefix>, naturally bucketing all teammates under the lead coordinator.docs/captures/README.mdwith capture entry.Unit Tests:
test_nested_teammate_with_child_parent_prefix_is_published_under_leadincargento/skills/cargento/tests/test_claude.py.test_teammates_sharing_harness_lead_team_name_are_published_under_leadincargento/skills/cargento/tests/test_claude.py.Verification
ruff check .: cleanruff format --check .: cleanmypy: clean (161 source files)python3 scripts/lint_embedded.py: cleanpython3 scripts/validate_plugins.py: cleanpython3 scripts/bump_version.py --current: clean (version 0.25.0 unchanged)claude plugin validate ./cargento --strict: validagy plugin validate ./cargento: validcoverage run -m unittest discover -s cargento/skills/cargento/tests -t .: 100% pass (3,478 tests)coverage report: 86.8% total coverage (above fail_under threshold)