Skip to content

Instantly share code, notes, and snippets.

@copyleftdev
Created April 12, 2026 02:36
Show Gist options
  • Select an option

  • Save copyleftdev/0329753d659ea2cb5503ca6c1d6eb565 to your computer and use it in GitHub Desktop.

Select an option

Save copyleftdev/0329753d659ea2cb5503ca6c1d6eb565 to your computer and use it in GitHub Desktop.
Palimpsest: The Six Laws (CLAUDE.md excerpt)
## The Six Laws (Never Break These)
1. **Determinism** — Frontier ordering is seed-driven. Retry logic is explicit. No hidden randomness anywhere. No `rand` in core paths — seeded PRNG only.
2. **Idempotence** — Same URL + same execution context = identical artifact hash.
3. **Content Addressability** — All artifacts are BLAKE3 hash-addressed. Deduplication is structural.
4. **Temporal Integrity** — Every capture binds wall clock + logical clock + crawl context + dependency chain.
5. **Replay Fidelity** — Stored artifacts must be sufficient to reconstruct the HTTP exchange, DOM state, and resource dependency graph.
6. **Observability as Proof** — Every decision is queryable. Every failure is replayable. Every artifact is verifiable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment