Skip to content

Conversation

@ajaygunalan
Copy link

Why

Algorithm-heavy projects need a way to keep mathematical specs and code in sync. As you iterate, sometimes the code is right and the spec needs updating. Sometimes the spec is right and the code needs updating. This adds tooling to detect drift and reconcile.

Changes

File Change Why
standards/algorithms/ NEW folder Store algorithm specs
commands/agent-os/algorithm-drift.md NEW Drift detection + template
commands/agent-os/discover-standards.md MODIFIED Add algorithm discovery flow

How it works

  1. Create algorithm spec with owns: linking to implementation files
  2. Run /algorithm-drift {name} to compare spec vs code
  3. Update whichever side is wrong

Existing /index-standards and /inject-standards auto-discover the new folder.

…utation, graphics, game dev

- Add standards/algorithms/ folder for algorithm specs
- Add /algorithm-drift command to detect spec vs code divergence
- Modify /discover-standards to discover and document algorithms

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant