Skip to content

feat: add pr/analyze subagent command#108

Open
danielsuguimoto wants to merge 1 commit into
kompassdev:mainfrom
danielsuguimoto:feature/pr-analyze-subagent
Open

feat: add pr/analyze subagent command#108
danielsuguimoto wants to merge 1 commit into
kompassdev:mainfrom
danielsuguimoto:feature/pr-analyze-subagent

Conversation

@danielsuguimoto

Copy link
Copy Markdown
Contributor

Summary

  • Adds pr/analyze subcommand that delegates PR loading and thread filtering to a reviewer subagent with isolated context (subtask: true), preventing the main agent from re-parsing stale resolved threads on multi-round PRs
  • Updates pr/fix and loop/pr/fix to delegate analysis to pr/analyze instead of inline pr_load parsing
  • Syncs registration (commands/index.ts, lib/config.ts), schema (kompass.schema.json), bundled config (all three kompass.jsonc), tests, and web docs

Test plan

  • bun run compile — generates packages/opencode/.opencode/commands/pr/analyze.md
  • bun run typecheck — only pre-existing unrelated error in packages/opencode/config.ts
  • bun run test — 55 pass, 0 fail

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