Repository navigation
Add assistant role and DuckBug knowledge retrieval - #90
Merged
Merged
Conversation
Apply owner instructions to direct and secretary runs, preserve transport rules, and start a fresh session generation after behavior or MCP access changes.
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.
Bots currently lead ordinary questions into the developer-team workflow, and owners cannot supply shared behavior instructions for direct chats and Secretary Mode. This adds an optional assistant role, literal owner instructions, and DuckBug knowledge retrieval through each bot's existing authorized MCP connection.
BOT_ROLE=assistantanswers questions, summarizes and plans without automatically starting a coding workflow.BOT_OWNER_INSTRUCTIONSnarrows topics and sets tone/escalation while transport consent and delivery rules remain in force. The knowledge skill discovers authorizedknowledge:readtools, searches withkb_search, reads relevant documents withkb_get, and reports missing evidence/access. It does not require a separate project binding or install retrieved documents as rules.Behavior/provider/MCP credential changes create a new persisted session generation, including A→B→A transitions. Existing session records and workspaces are retained. Codex receives native
AGENTS.md; DuckBug MCP and Secretary Mode currently require Claude. Prompts do not restrict tool permissions or make internal documents public.Validation: Taskfile default gate, race tests, build and security scan passed. Regression tests cover literal instructions, transport rule ordering, native instruction filenames, provider switches and session revocation/reversion. Independent security review (Astra) and cross-repository backend review have no remaining findings.
Rollout: publish this Flock release before deploying the matching Roost controls in https://github.com/duckbugio/roost/pull/162. A production knowledge-answer test remains pending provider capacity and verification of the bot's own MCP capability; no live answer or deployment is claimed by this PR.