Workspace instructions
Rules your team adds to every spec, issue, and build in a workspace.
Every team has questions it always asks and steps it always takes. Agent instructions let you write them down once per workspace, and Fragua adds them to the agent's instructions on every run of that kind — no change to your repository needed.
Where they live
Open the workspace's Knowledge Base and find the Agent instructions card, then press Edit. Any developer or admin can change them; changes apply from the agent's next turn.
- Spec rules
- — read while shaping specs. List the questions that must always be answered, and the facts the agent shouldn't ask about.
- Issue rules
- — read while diagnosing issues — say, how to reproduce a bug or when it started.
- Build rules
- — read while building specs and fixing issues: how this team sets up, checks, and hands off its work.
Each set holds up to 2,000 characters. For anything longer, pin a Knowledge Base file and have the rule point at it.
Required questions come first
In spec and issue rules, mark a question as required and the agent asks it in its first round — unless your request already answers it — without using up its usual question budget. Fragua's own rules still win where the two disagree, and no rule can make an agent reveal what it's meant to keep private.
Example: fill in your pull request template
Every build gets an environment variable, $FRAGUA_PR_BODY_FILE. When the agent writes a description there, Fragua uses it as the pull request body instead of the spec's summary, and later turns update the open PR. Add a build rule such as “Fill in .github/pull_request_template.md, following its instructions, and write it to $FRAGUA_PR_BODY_FILE.” An empty or oversized file falls back to the usual summary.
Instructions here, or in the repository?
Your repository's CLAUDE.md or AGENTS.md travels with the code and reaches any tool. Workspace instructions are for how your team works with Fragua — what to ask, what to run, how to hand off — and change without a commit. Most teams use both.
See also: Agent instructions · Knowledge Base · Branches and pull requests