Skip to content

Add assistant role and DuckBug knowledge retrieval - #90

Merged
zaytcevcom merged 1 commit into
mainfrom
feat/assistant-knowledge-20261008
Oct 8, 2026
Merged

zaytcevcom merged 1 commit into
mainfrom
feat/assistant-knowledge-20261008

Conversation

@zaytcevcom

@zaytcevcom zaytcevcom commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

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=assistant answers questions, summarizes and plans without automatically starting a coding workflow. BOT_OWNER_INSTRUCTIONS narrows topics and sets tone/escalation while transport consent and delivery rules remain in force. The knowledge skill discovers authorized knowledge:read tools, searches with kb_search, reads relevant documents with kb_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.

Apply owner instructions to direct and secretary runs, preserve transport rules, and start a fresh session generation after behavior or MCP access changes.
@zaytcevcom
zaytcevcom merged commit 19c82dd into main Oct 8, 2026
5 checks passed
@zaytcevcom
zaytcevcom deleted the feat/assistant-knowledge-20261008 branch October 8, 2026 10:00
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