Skip to content

feat(agents): soft per-skill turn limits for sub-agents - #1553

Draft
ian-at-strix wants to merge 1 commit into
mainfrom
feat/soft-turn-limit
Draft

ian-at-strix wants to merge 1 commit into
mainfrom
feat/soft-turn-limit

Conversation

@ian-at-strix

Copy link
Copy Markdown
Contributor

run_strix_scan(subagent_turn_limits={"pr_review/investigator": 25, ...}) gives each sub-agent the smallest limit among its skills (bare or qualified names). The agent is warned 10 turns before the limit and reminded every 5 turns past it, but never stopped. Each notice is logged to run.log ("Turn-limit notice for agent ...").

Replaces the frontmatter-based nudge in #1549, so the caller can set different limits per scan depth.

Known gap: the count is per run cycle, so it restarts if an agent's run restarts (e.g. after compaction).

run_strix_scan(subagent_turn_limits={skill: turns}) gives each sub-agent the
smallest limit among its skills. The agent is warned 10 turns before the limit
and reminded every 5 turns past it, but never stopped.

This branch has not been deployed

No deployments
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