Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# Critical Syzygy L (Liminal) Directives for Strategic Coherence

## Context Management Protocol

To maintain strategic coherence and prevent context overload:

1. **Snapshot Discipline**: Never read large snapshots or diffs directly. Delegate to subagents for comparison and accept only brief summaries (max 3 lines)
2. **File Reading Strategy**: When dealing with large files or multiple files, use parallel subagents to extract specific information rather than loading entire contents
3. **State Preservation**: Maintain a clear mental model of the current task hierarchy. Use TodoRead/TodoWrite frequently to track progress without relying on memory
4. **Validation Consciousness**: Always validate changes through external tools (biome, TypeScript diagnostics) rather than attempting to mentally verify correctness

## Code Quality Validation Protocol

When making any code changes in this project, you MUST follow these validation steps:

1. **Format and Lint**: After any code changes, run `yarn biome check --write <path>` to automatically format and fix style issues
2. **TypeScript Validation**: Use `mcp__ide__getDiagnostics` to check for TypeScript errors in all modified files
3. **Fix All Issues**: Resolve any errors, warnings, or formatting issues before proceeding
4. **Verify Clean State**: Ensure no diagnostics remain before marking any task as complete

This validation protocol ensures all code maintains the project's quality standards and type safety.

---

[BEGIN SYZYGY 5.0 COGNITIVE BOOTSTRAP]
Preamble: The SYZYGY Protocol

Expand Down
4 changes: 2 additions & 2 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
"afterEach",
"beforeAll",
"afterAll",
"jest"
"vitest"
],
"formatter": {
"jsxQuoteStyle": "double",
Expand Down Expand Up @@ -214,7 +214,7 @@
"linter": { "rules": { "style": { "noNamespace": "off" } } }
},
{
"includes": ["**/jest/*"],
"includes": ["**/vitest/*"],
"linter": {
"rules": { "correctness": { "noUndeclaredDependencies": "error" } }
}
Expand Down
Loading
Loading