Conversation
…hestration Inspired by opensoft/oh-my-opencode's agent architecture, this adds: - Signal-driven persona selection: only relevant personas are written based on detected repo signals (e.g. Go CLI gets 5 core personas, React+Tailwind gets design + accessibility + performance) - Role classification: each persona now has a role field (planning, execution, or review) enabling hierarchical orchestration - Constraints section: every persona defines what it must NOT do, preventing common failure modes - Handoffs section: explicit upstream/downstream relationships between personas for delegation and verification flows - Codebase context hints: detected signals are rendered as structured hints to streamline persona hydration - Orchestration rules: managed section now includes routing rules mapping trigger keywords to personas by role
38bfd2b to
31f0009
Compare
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
Inspired by opensoft/oh-my-opencode's multi-agent architecture, this PR makes roster's personas smarter, more actionable, and self-orchestrating.
Changes
Signal-driven persona selection (
selector.go).roster/personas/based on detected repo signalsRicher persona definitions (all 11
.mdfiles)rolefield (planning / execution / review) — enables hierarchical orchestration patterns## Constraintssection — explicit anti-patterns and "must not" rules per persona, preventing common failure modes## Handoffssection — defines upstream/downstream relationships between personas for delegation and verification flowsEnhanced managed section (
managed.go)Pipeline changes (
writer.go)WriteAllnow selects personas viaSelect()before writing, so only relevant persona files and table entries are emittedTesting
TestPersonaRoleIsValidensures all personas have valid role values-race,golangci-lint runreports 0 issues