kaizen-agentic/agents
tegwick 843cf4eee0 feat: agent authoring & doc generation (WP-0007, v1.4.0)
New authoring tooling and a fix for the doc-regeneration defect it exposed.

Added:
- src/kaizen_agentic/agent_docs.py — render + idempotent upsert of the
  CLAUDE.md "## Installed Agents" section (shared by installer and CLI)
- `kaizen-agentic docs generate [--check]` — idempotent doc refresh / CI gate
- `kaizen-agentic create-agent` — scaffold a schema-valid agent
- Frontmatter schema validation in `kaizen-agentic validate`
  (required name/description/category, known category, valid memory/model)
- tests: test_agent_docs, test_validate_schema, test_create_agent

Fixed:
- _update_documentation regex duplicated the Installed Agents block on every
  run (stopped at the first ### subheading) — now idempotent
- declared frontmatter `category` is authoritative (heuristic is fallback)
- list_installed_agents reads the frontmatter name, not the filename
- renamed agent-project-management.md -> agent-project-assistant.md to satisfy
  the agent-<name>.md convention (eliminates a name/filename collision that
  caused install/update to write a divergent duplicate)
- test_cli_error_handling no longer installs into the repo root (uses tmp)

Version 1.4.0; CHANGELOG, CLI cheat sheet, agency-framework, TODO updated.
Workplan KAIZEN-WP-0007 closed.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-18 02:06:14 +02:00
..
protocols feat(protocols): add protocols artifact convention, sys-medic protocol + CLI (WP-0002 T17-T24) 2026-03-18 23:48:09 +00:00
agent-claude-documentation.md Fix agent loading and categorization issues 2025-10-19 08:45:51 +02:00
agent-coach.md Bridge Coach memory brief with project metrics summaries. 2026-06-16 01:46:51 +02:00
agent-code-refactoring.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-datamodel-optimization.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-keepaChangelog.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-keepaContributingfile.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-keepaTodofile.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-optimization.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-priority-evaluation.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-project-assistant.md feat: agent authoring & doc generation (WP-0007, v1.4.0) 2026-06-18 02:06:14 +02:00
agent-releaseManager.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-requirements-engineering.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-scope-analyst.md feat(agents): add Provided Capabilities section to scope-analyst template 2026-03-25 00:06:56 +01:00
agent-setupRepository.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-sys-medic.md feat(agency): complete WP-0002 Part 3 — E2E tests, docs, sys-medic cross-refs, bugfix 2026-03-19 00:27:39 +00:00
agent-tdd-workflow.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-test-maintenance.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-testing-efficiency.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-tooling-optimization.md feat: WP-0005 adoption polish — doc sync, fleet parity, CI lint 2026-06-16 02:26:13 +02:00
agent-wisdom-encouragement.md Fix agent loading and categorization issues 2025-10-19 08:45:51 +02:00