Manage rules without prompt sprawl
Status: Ready
Article ID: 018
Truth label: Current
Audience: Agency operator
Reader outcome: Put a persistent instruction at the correct authority layer instead of adding the same text to every prompt.
Related articles: 007, 049, 071
Target week: 07
Last verified: 2026-09-13
Technical reviewer: Codex source audit
Editorial reviewer: Codex editorial audit
Rules are broad by design
The Cortex Rules panel manages standing system rules. Active rules can enter worker prompts across projects. That reach makes a rule useful and risky.
Use a system rule for a short instruction that should apply to nearly every task, such as a universal security boundary or delivery convention. Keep project-specific behavior in the repository that owns it.
Choose the narrowest authority layer
Use this order:
- Task description: One request or one delivery outcome.
- Selected skill: A repeatable method used only when selected.
- Repository controls: Project-specific rules, decisions, voice, and current task context.
- System rule: A short instruction that applies across the entire operator environment.
Broad rules should not repeat repository instructions. Repetition consumes context and creates conflicts when one copy changes.
Create a useful rule
The rule form records a title, content, enabled state, and priority. Write the content as an observable instruction:
Never include a live credential, private client path, or raw trace in a public
artifact. Use synthetic examples and record the source review.
A good rule is:
- short enough to review quickly
- general across projects
- testable from the final output
- explicit about unsafe exceptions
- independent of one temporary task
Priority can order rules, but it does not make a vague instruction precise.
Review before enabling
Before enabling or editing a rule:
- Search repository controls for an existing narrower instruction.
- Identify which projects and tasks the rule can affect.
- Check for a conflict with higher-authority controls.
- Test it on a harmless task.
- Inspect the assembled prompt or run evidence.
- Record why the rule belongs at system scope.
Disable a questionable rule before rewriting several downstream prompts. Delete only when its history and rollback value are no longer needed.
Avoid instruction accumulation
Prompt sprawl often starts with a useful correction copied into several places. Over time, one copy becomes stale and agents receive conflicting directions.
Use repository memory for project facts and decisions. Use retrieval for attributed history. Use a skill or a managed method for a method. For a rule that applies to one client, project, audience, or format rather than to everything, use a scoped rule record in Briefs and memory, which carries scope, applicability, and evidence instead of reaching every prompt. Keep the active system-rule list small enough that an operator can explain every item.
Current limits
A rule influences prompts. It is not an operating-system policy, API authorization control, or proof that a child process obeyed it. Rules can also carry sensitive content into every affected prompt, including a cloud-provider request. Never store a credential or client-specific instruction in a broad system rule.
Next lesson
Continue with Review outcomes and knowledge candidates.
Derivative map
- Weekly package: WEEK-07
- Long video: VIDEO-W07-LONG
- Shorts: SHORT-W07-PROBLEM, SHORT-W07-MECHANISM, SHORT-W07-WARNING
- Email: EMAIL-W07
- LinkedIn: LI-W07-A, LI-W07-B
- X: X-W07-A, X-W07-B
- Visual: VISUAL-W07
Review record
- Rule fields and broad prompt reach checked against current Cortex and Brain source.
- Authority, cloud-context, and enforcement limits reviewed.
- Example contains no credential or client-specific material.
- Internal links and repository voice reviewed.
Review completed: 2026-08-27
Re-audited against the running product: 2026-09-13