chore: initial scaffold + design spec + implementation plan

Skeleton for Osteo Report MVP. Build passes, 7 smoke tests green, real
Horse.svg + Horse_head.svg in public/species/equine/. Zod schemas are
the contract; store/anatomy/pdf modules are typed stubs throwing
"not implemented" awaiting implementation.

Spec: docs/superpowers/specs/2026-05-18-osteo-report-mvp-design.md
Plan: docs/superpowers/plans/2026-05-18-osteo-report-mvp.md (23 phases, ~70 TDD tasks)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bastien ChanotandClaude Opus 4.7 committed 2026-05-18 20:55:10 +02:00
1 parent 12a3e48fdf
commit 8ca36b5ccd
104 files changed
+12448

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
import type { Practitioner } from '@/domain/schema/practitioner'
const STORAGE_KEY = 'osteo:lastPractitioner'
/**
* Reads the last-used practitioner block from localStorage.
* Returns undefined if no cache entry exists or data is invalid.
*/
export function readCachedPractitioner(): Practitioner | undefined {
throw new Error('not implemented')
}
/**
* Writes the practitioner block to localStorage for prefill on next session.
* Silently no-ops if localStorage is unavailable.
*/
export function writeCachedPractitioner(_practitioner: Practitioner): void {
throw new Error('not implemented')
}
/**
* Clears the practitioner cache from localStorage.
*/
export function clearPractitionerCache(): void {
if (typeof localStorage !== 'undefined') {
localStorage.removeItem(STORAGE_KEY)
}
}