Version: 1.6.2
PARA Workspace uses a Two-Tier loading system for both rules and skills. Global indices apply to all projects, while project-specific indices add constraints for individual projects. Both tiers use progressive disclosure β agents load rules/skills on demand, not all at once. A Context Recovery mechanism ensures indices are re-loaded after context truncation. A Proactive Trigger Check (v1.6.2) ensures agents scan trigger tables before any side-effect.
.agents/rules.md β Workspace rules INDEX (always loaded)
.agents/skills.md β Workspace skills INDEX (always loaded, v1.6.2+)
.agents/rules/ β Global rule files (10 rules, loaded on demand)
.agents/skills/ β Global skill files (loaded on demand)
Projects/<project>/.agents/rules.md β Project rules INDEX (loaded if agent.rules: true)
Projects/<project>/.agents/skills.mdβ Project skills INDEX (loaded if agent.skills: true)
Project rules supplement global rules β they do not override them.
The file .agents/rules.md lists all global rules with trigger conditions and priority levels (~20 lines, ~200 tokens). Rules are classified as π΄ Critical, π‘ Important, or π’ Standard.
/open Step 2.5a ALWAYS reads this file, regardless of which project is active. This ensures global rules like hybrid-3-file-integrity.md (Hot Lane logging) and governance.md (system file protection) are always known to the agent.
Each project MAY provide a lightweight rules.md index at:
Projects/<project>/.agents/rules.md
This ~5β10 line file tells the agent what project-specific rules exist and when to load them:
| Rule | Trigger | File | Pri |
| :---------------- | :---------------------------------------- | :------------------- | :-- |
| Dogfooding Policy | Editing repo/, syncing files to workspace | dogfooding-policy.md | π΄ |
| Maintenance | Version bumps, writing docs/changelog | maintenance.md | π‘ |/open Step 2.5c reads project indices when project.md has agent.rules: true or agent.skills: true (v1.6.2+). Falls back to has_rules: true for backward compatibility.
- Agent starts working on a project (via
/openor context detection). - Step 2.5a: Agent reads
.agents/rules.md(workspace index) β ALWAYS. - Step 2.5b: Agent reads
.agents/skills.md(workspace index) β ALWAYS (v1.6.2+). - Step 2.5c: Agent checks
project.mdforagent.rules/agent.skills(orhas_rulesfallback) β reads project indices if true. - During the session, when an action matches a trigger from ANY index β agent reads that specific rule/skill file.
- Proactive Trigger Check (v1.6.2): BEFORE any side-effect action, agent scans all loaded trigger tables. If a match is found, the rule/skill MUST be read BEFORE acting.
- Rules/skills not matching any current action are never loaded.
Why two tiers? Without the workspace index, agents skip ALL rules/skills β including critical global ones like Hot Lane logging (C1). The workspace tier ensures global governance is always discoverable.
After context truncation (checkpoint, sliding window), the agent may lose the rules index from memory. Four layers guard against this:
- Rule/skill files β
agent-behavior.mdΒ§4 instructs the agent to re-readrules.mdandskills.mdwhen context appears incomplete. Includes File-Level Guards and Proactive Trigger Check. - Workflow output β
/openStep 8 includes a compact Safety Block that survives in checkpoint summaries. - Workflow pre-flight β Workflows with side-effects re-read both
rules.mdANDskills.mdfrom disk as Step 0 before executing (Agent Indices Pre-flight, v1.6.2). - File guard headers β Task files include inline
<!-- β οΈ -->comments that remind the agent of write constraints even when all indices have been lost from context.
Use the /para-rule add action:
- Create the rule file in
Projects/<project>/.agents/rules/[name].md - Follow the standard rule template (Scope, Rules, Examples)
- Update the project's
rules.mdindex with the rule name, trigger, and filename
The Two-Tier loading protocol is defined in context-rules.md Rule #4 (shipped with the kernel). This ensures all agents in all workspaces follow the same progressive disclosure pattern.
- Rule Layers Architecture β Full architecture with diagrams
- Kernel Documentation β Invariants and governance
- Workflow Documentation β
/para-ruleworkflow
Updated in v1.6.2 (FEAT-53: Unified Agent Index + Proactive Trigger Check)