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
46 lines
995 B
Markdown
46 lines
995 B
Markdown
# Workflow: Coding
|
|
|
|
## Intent Classification
|
|
|
|
**Triggers:** Code changes, development tasks, bug fixes, feature implementation
|
|
|
|
## Fixed Output Format
|
|
|
|
```markdown
|
|
## Summary
|
|
[What changed - 1-2 sentences]
|
|
|
|
## Files Modified
|
|
| File | Change |
|
|
|------|--------|
|
|
| file1.py | [description] |
|
|
| file2.js | [description] |
|
|
|
|
## Verification
|
|
- [ ] Tests pass: `command`
|
|
- [ ] Lint passes: `command`
|
|
- [ ] Manual verification: [how]
|
|
|
|
## Decisions Made
|
|
- [Decision 1]
|
|
- [Decision 2]
|
|
|
|
## Still Open
|
|
- [ ] [if any]
|
|
```
|
|
|
|
## Tool Access Rules
|
|
|
|
1. **Delegate to coding agents** when possible
|
|
2. **Read before writing** - always check existing code first
|
|
3. **Verify before reporting** - tests, lint, manual check
|
|
4. **Update memory** - log decisions to DECISIONS.md
|
|
|
|
## Constraints
|
|
|
|
- NO: Direct production edits without verification
|
|
- NO: Untested code reported as "done"
|
|
- NO: Breaking changes without migration plan
|
|
- YES: Clear acceptance criteria before starting
|
|
- YES: Root cause analysis before fixes
|