Adds: - ARCHITECTURE.md: Full documentation of 3-layer system - Context Pipeline: Preprocessing layer (pipeline.js) - Workflow Router: 4 fixed workflows (coding, debug, deploy, audit) - Validation Layer: Post-response quality gate (validator.js) - Format Templates: Structured output templates - TOOLS.md: Beavault connection documentation Architecture: - Layer 1: Behavior rules (always injected) - Layer 2: Persistent facts (structured memory) - Layer 3: Ephemeral context - Priority enforcement: Rules > Prefs > Task > Chat - Memory write policy: Only confirmed fixes, repeated preferences
851 B
851 B
Workflow: Troubleshooting
Intent Classification
Triggers: Errors, failures, unexpected behavior, debugging requests
Fixed Output Format
## Problem
[Symptom observed]
## Diagnosis
- Checked: [what was checked]
- Found: [what was found]
## Cause
[Root cause - trace to why, not just what]
## Fix
[What was changed]
## Validation
[How verified it's fixed]
Tool Access Rules
- Inspect first - logs, config, state before changing anything
- Reproduce - understand the failure before fixing
- Trace to root - fix cause, not symptom
- Document - add to ISSUES.md if pattern
Constraints
- NO: Restart-as-first-response
- NO: Regex patches without understanding root cause
- NO: Fixes without verification
- YES: Documented workaround if root cause blocked
- YES: Regression test if applicable