Repository navigation
v0.10.0 — Claude Code + Codex + OpenCode: auto-installed tools, Opus planners, time-boxed workers, re-plan, harness stats + handoff - #3
Merged
Conversation
… time box, mid-sprint re-plan - ensure-tools SessionStart hook builds md-db + ctx-symbols into the plugin data dir (background, once per version); bin/md-db + bin/ctx-symbols are PATH shims. Agents call every tool by bare name; prompts forbid searching for them. gate-tooling self-heals before blocking; gates resolve real binaries via ensure-tools --resolve. - Models: planning agents default to claude-opus-5-5; workers and the orchestrator skill default to sonnet; per-project override in docs/agents/agentic.conf. - bin/budget: per-attempt token + wall-clock time box (soft 40k/10m warns in the worker's tool results; hard 60k/15m denies tools, releases the stop gate unverified, and `budget watch` reports KILLs). Configurable per project and per task. - Orchestrator loop is dispatch -> sleep (budget watch) -> sweep (TaskStop overruns). - Overrun tasks go to a mid-sprint re-plan (planner mode: replan, split_from lineage, capped by AGENTIC_MAX_REPLANS) instead of being retried. - Sprints must be self-contained (context is cleared between sprints); gate-stage2-complete blocks later-sprint references and deferred work. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YRfiFoSvw3SH9hJZqPhhYK
… stats + handoff
- /agentic-agile:init shows the defaults (limits, models, .gitignore edit, docs/agents
tracking — default no — and commit author — default the human, no Claude trailers),
asks, then `agentic-init --apply` writes docs/agents/defaults.md, the managed
.gitignore lines and the repo-local git author. SessionStart re-applies .gitignore.
- gate-commit-author (PreToolUse Bash) enforces the configured author and blocks
Claude co-author/attribution trailers unless opted in.
- One fixed layout (bin/_paths.sh, _paths.py): run data only under
<project>/.agentic/{transcripts,budget,ledger,logs,state}; capture hooks write
nothing outside agentic-agile projects.
- bin/stats: Stop/SubagentStop rebuild a per-session token ledger from transcripts;
gate-final's pass runs `stats sprint-close` -> sprintN/stats.md + docs/agents/NEXT.md;
the next Stop shows totals and asks for /clear; SessionStart loads NEXT.md.
- Hard-limit kill is deterministic: PostToolUse `continue: false` from the time-box
hook (TaskStop only as backstop). Gate verdicts logged to .agentic/logs/gates.jsonl.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YRfiFoSvw3SH9hJZqPhhYK
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
- `agentic install codex|opencode` renders the 9 role agents (Codex TOML / OpenCode md), skills and the init command from the plugin's own sources; Codex loads the .claude-plugin manifests + hooks/hooks.json natively. - OpenCode plugin (hosts/opencode/agentic-agile.js) maps its hooks onto the same scripts: throw-to-deny, context in tool output, session.abort hard stop, role gate on the task result (re-prompts up to 3 rounds), usage log for the ledger, handoff in the system prompt, bin/ on PATH via shell.env. - Worker isolation without built-in worktrees: `agentic task-worktree` + `agentic bind`; host-adapter confines Codex workers (deny outside the worktree), the OpenCode plugin rewrites into it, and SubagentStop gates run in the bound worktree. - Codex-aware hooks: apply_patch edits, rollout token usage (.jsonl/.zst), sub-agent rollouts by thread id. One token reader for all hosts (_usage.py). - `agentic` dispatcher (linked into ~/.local/bin where hosts lack plugin PATH). - CI job `hosts`: Codex hook-runner emulation + OpenCode plugin vs a mock client. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YRfiFoSvw3SH9hJZqPhhYK
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.
Summary
Tools are always found
SessionStarthook (ensure-tools) buildsmd-dbandctx-symbolsin the background, once per plugin version.agentic <tool>. On Claude Code and OpenCode the bare names work too.Models
claude-opus-5-5.sonnet.defaults.md.Self-contained sprints
gate-stage2-completeblocks references to a later sprint's stories and work deferred into a later sprint.Per-attempt time box, enforced by hooks (
bin/budget)continue: false; on OpenCode it issession.abort.Mid-sprint re-plan
mode: replan,split_from:), leaving finished tasks untouched.Init confirms the setup with the human (
agentic init).gitignoreedit, whetherdocs/agents/is tracked (default no), and the commit author (default the human, no Claude trailers).docs/agents/defaults.md.gate-commit-authorenforces the author choice.One fixed layout (
bin/_paths.sh/_paths.py)<project>/.agentic/and is always gitignored.Stats and handoff, written by the harness (
bin/stats)sprintN/stats.mdanddocs/agents/NEXT.md./clearthe SessionStart hook reloadsNEXT.md.Codex and OpenCode support (
agentic install codex|opencode [--project DIR|--global] [--uninstall]).claude-pluginmanifests andhooks/hooks.jsonnatively. The hooks now understand Codex:apply_patchedits.jsonl/.zst)agentic task-worktreecreates the worktree, and the worker's first command isagentic bind.Test plan
make ci, which covers fmt, clippy, shellcheck, the Python compile check, Rust tests, eval suites and host testsclaude plugin validate ./plugin --stricthooks.jsonwith Codex's matcher and alias rules and Codex-shaped payloads. One check confirms Claude workers are not confined.claude -pprobes: subagent payload fields and transcript path; PostToolUsecontinue: falsestops a subagent🤖 Generated with Claude Code
https://claude.ai/code/session_01YRfiFoSvw3SH9hJZqPhhYK