Commit graph

69 commits

Author SHA1 Message Date
8d8983d214 fixed 2026-04-13 08:24:32 -04:00
254d72cfd4 added opencode 2026-04-12 23:10:30 -04:00
54acfec834 fix(protocol): tighten workflow contract 2026-04-03 12:48:23 -04:00
3a2d565aaa chore(config): harden shared agent rules 2026-04-03 12:31:48 -04:00
7381316e28 fix 2026-04-02 15:46:38 -04:00
28ab10c58f done 2026-04-02 15:40:57 -04:00
2a2cd3ca22 Refine agent escalation contracts 2026-04-02 14:05:51 -04:00
947886fba5 fixed title 2026-04-02 13:28:10 -04:00
eda4748012 feat(workflow): add flake and just entrypoints 2026-04-02 13:26:08 -04:00
511076e059 refactor(build): drive generation from shared configs 2026-04-02 13:25:34 -04:00
84882d3b9c feat(protocol): add authored runtime and team configs 2026-04-02 13:25:19 -04:00
7f0892d67b updated 2026-04-02 09:35:19 -04:00
0667c42755 fixed bootstrap 2026-04-02 09:28:01 -04:00
758ebd23bb updated 2026-04-02 09:19:17 -04:00
68217dfd4b fix: correct Codex model mappings and effort levels
- opus → gpt-5.4, sonnet → gpt-5.3-codex, haiku → gpt-5.1-codex-mini
- effort max → extra high (was xhigh)
- config.toml default model → gpt-5.3-codex
- README model mapping table updated
2026-04-02 09:02:35 -04:00
49b2f71c94 fix(orchestrate): replace .claude/plans/ with generic plans/ path for cross-tool compatibility 2026-04-02 08:58:49 -04:00
8398d7149d fix: flake.nix typo, generate.sh word-splitting, README accuracy
- flake.nix: fix gettex → gettext typo, restore codex package
- generate.sh: replace ls-based loop with direct glob (word-splitting safe)
- README.md: fix AGENTS.md source column (rules/*.md only, not CLAUDE.md)
2026-04-02 08:55:38 -04:00
b9d8b03895 feat: template-based dual-target generator for Claude + Codex
Replace generate-codex.sh with unified generate.sh that produces both
claude/ and codex/ output from template source files.

Agent bodies use ${PLANS_DIR}, ${WEB_SEARCH}, ${SEARCH_TOOLS} placeholders
expanded per-target via envsubst. Skills and rules made tool-agnostic
(no Claude tool names or .claude/ paths). Orchestrate skill stays
Claude-only.

install.sh now symlinks from claude/agents/ instead of agents/ directly.
flake.nix adds gettext (envsubst) to devShell.
2026-04-02 08:51:00 -04:00
37ec0fd7ec feat(flake): add codex CLI to devShell 2026-04-02 08:29:15 -04:00
d812c7f49a feat: add Codex CLI compatibility layer
- flake.nix: devShell with yq-go for config generation
- generate-codex.sh: generates Codex agent TOML, AGENTS.md, and
  config.toml from Claude source files (idempotent, yq-powered)
- install.sh: optional Codex symlinks when ~/.codex exists (skills
  shared via ~/.agents/skills/, agents/config/AGENTS.md to ~/.codex/)
- .gitignore: exclude generated codex/ directory
- README.md: document Codex compatibility setup and model mapping
2026-04-02 08:28:29 -04:00
8d08f9650c docs(README): clarify manual memory vs agent memory systems 2026-04-02 08:04:44 -04:00
7fdbb40656 fix: resolve review round 3 findings
- reviewer, auditor: add qa-checklist to skills (both produce envelopes)
- worker-protocol: annotate ac_coverage as optional in envelope template
- message-schema: document that security_findings.high is non-blocking
- qa-checklist: reframe plan_result has_blockers as intent confirmation
2026-04-02 08:03:31 -04:00
76f7f16eff fix: resolve review round 2 findings
- CLAUDE.md: add missing message-schema and project to skill list
- debugger, documenter: add qa-checklist to skills (worker-protocol references it)
- message-schema: make moderate_count/minor_count required on review_verdict,
  make has_blockers required on plan_result, remove dangling format field
- orchestrate: split blocked routing by type (plan_result vs worker_submission)
- worker-protocol: remove stale migration note about freetext RFR
- qa-checklist: add plan_result has_blockers hard rule
- architect: remove dangling format field from plan_result envelope
2026-04-02 07:58:41 -04:00
1ee8dcdfdd fix(architect): remove unnecessary disallowedTools — tool list is the boundary 2026-04-02 07:51:46 -04:00
f5c417dfd0 fix(architect): allow Edit for plan amendments, keep only NotebookEdit blocked 2026-04-02 07:51:23 -04:00
3c3ba42069 chore: resolve minor issues across config
- Add when_to_use to worker-protocol, qa-checklist, and project skills
- architect: allow Write for plan files, add NotebookEdit to disallowedTools
- documenter: remove redundant permissionMode (not enforced at runtime)
- orchestrate: split blocked/escalate into explicit routing rows,
  distinguish architect plan_result blocked from generic blocked
2026-04-02 07:50:43 -04:00
cf5c14ba29 fix: resolve moderate issues across config
- architect: restore effort: max to match orchestrate team roster
- orchestrate: remove researcher background annotation (blocks planning),
  remove overly broad auditor trigger clause, risk-tag table is authoritative
- qa-checklist: add auditor hard rules (security_findings, build/test status)
- settings.json: simplify .env deny to single **/.env* glob per tool
- rules/01-session: clarify persistent context includes .claude/memory/
- memory: rename todo_inter_agent_schema.md → inter_agent_schema.md
2026-04-02 07:49:46 -04:00
b741354dd8 fix: resolve critical issues in install.sh, settings.json, and worker-protocol
- install.sh: replace unreachable $? check with `if !` pattern (set -e
  exits before the check runs on Windows mklink failure)
- settings.json: remove fragile Bash deny patterns that can't match across
  path separators; broaden .env denies to recursive **/.env with Read/Write/Edit
- worker-protocol: align QA instruction with qa-checklist — qa_check goes in
  frontmatter envelope, not as a prose line
2026-04-02 07:48:47 -04:00
341f500396 feat: add typed inter-agent communication schema
Replace freetext signals (RFR, LGTM, VERDICT: PASS) with YAML
frontmatter envelopes routed by a `signal` field. New message-schema
skill defines 12 message types covering worker submissions, review/audit
verdicts, triage/plan results, research results, and orchestrator
commands. All agents load the skill; qa-checklist enforces compliance;
orchestrate routes by envelope signal.
2026-04-02 07:38:02 -04:00
d2fdcbc731 refactor: modularize CLAUDE.md into ~/.claude/rules/ with agent-team content separation
- Split monolithic CLAUDE.md into 7 focused rule files in rules/
- Remove agent-team specific content from global rules (subagent cost,
  model defaults, tier shortcuts) — already covered by orchestrate skill
- Add "prefer summaries over verbatim output" to orchestrate Step 8
- Update install.sh to symlink rules/ directory
- Trim CLAUDE.md to a minimal pointer since rules auto-load
2026-04-02 07:17:36 -04:00
f0cb4e840a chore(memory): clean MEMORY.md to pure index format 2026-04-02 07:09:41 -04:00
53e3814ba8 feat(skills): add when_to_use frontmatter for skill discovery guidance 2026-04-02 07:09:40 -04:00
cba5f5d99e feat(worker): default to worktree isolation for safe parallel execution 2026-04-02 07:09:39 -04:00
ad26db334e chore(settings): remove redundant default values
Drop includeGitInstructions, syntaxHighlightingDisabled, and
autoUpdatesChannel — all were set to their defaults.
2026-04-02 07:09:38 -04:00
a788cd5d52 docs: fix clone path in README to use generic location 2026-04-02 07:07:01 -04:00
3eccb72e20 fix(architect): change effort from max to high for external user compatibility 2026-04-02 07:07:01 -04:00
829ce2f78b feat(auditor): add WebFetch and WebSearch for CVE/vulnerability verification 2026-04-02 07:07:00 -04:00
71dc65376a fix(settings): harden permission deny patterns for sensitive directories
- Replace command-specific Bash denies (cat/less) with broad glob
  patterns that catch any command referencing .ssh, .aws, .gnupg, .env
- Add Write/Edit deny rules for ~/.ssh, ~/.aws, ~/.gnupg to prevent
  writes, not just reads
2026-04-02 07:06:59 -04:00
d99f89e5b2 fix(reviewer): add permissionMode: plan for consistency with other read-only agents 2026-04-02 07:06:57 -04:00
7699f67959 fix: correct stale agent names, false cost claims, and document permissionMode override
- Replace "Karen/Verification" with "reviewer/auditor" in worker-protocol
- Reframe parallel dispatch rationale from false "~10% token cost" (only
  applies to fork agents with identical prefixes) to accurate wall-clock
  latency savings
- Add Permission model section documenting that permissionMode is
  overridden when parent runs in acceptEdits mode; disallowedTools is
  the actual safety boundary
2026-04-02 07:05:43 -04:00
41c31a2a85 chore: add project memory at .claude/memory, document convention in CLAUDE.md
- Create .claude/memory/ as canonical project memory location
- Add MEMORY.md index and first entry: TODO for inter-agent JSON schema
- Document project memory convention in CLAUDE.md (path, format, commit policy)
2026-04-01 22:13:18 -04:00
e9262c6aca updated 2026-04-01 22:10:07 -04:00
5f534cbc64 refactor: compress 14-agent team to 7 with wave-based parallelism
- Merge grunt + worker + senior-worker → worker (model scaled by orchestrator)
- Merge code-reviewer + karen → reviewer (quality + claim verification)
- Merge security-auditor + verification → auditor (security + runtime, background)
- Architect absorbs requirements-analyst + decomposer (two-phase: triage then plan)
- Rename docs-writer → documenter
- Remove review-coordinator (logic absorbed into orchestrate skill)
- Orchestrate skill: wave-based dispatch, parallelism as hard protocol requirement
  with explicit cost rationale (~10% token cost for shared cached context)
2026-04-01 22:09:30 -04:00
7274e79e00 added nix 2026-04-01 18:57:49 -04:00
afc8fd547d perf: remove rust-analyzer global plugin, add claudeMdExcludes for agent-memory 2026-04-01 17:31:22 -04:00
71905bda32 fix: only mark plan step complete when all assigned workers receive LGTM 2026-04-01 17:20:25 -04:00
f7d3e1bd73 feat: orchestrator marks plan steps complete after LGTM 2026-04-01 17:19:38 -04:00
d3bc447563 feat: architect always writes plan file as master document, orchestrator reads from disk 2026-04-01 17:17:20 -04:00
c5a639d039 feat: allow architect to write plan files to .claude/plans/ 2026-04-01 17:15:33 -04:00
4c9d61cf88 perf: remove memory:project from code-reviewer, debugger, security-auditor 2026-04-01 17:15:30 -04:00