𧬠Code Status Legend
Document: docs/code-status.md
Purpose: Explain all valid @status values used throughout the codebase.
𧬠Overview
The Human Pattern Lab codebase uses a lightweight status taxonomy to indicate the maturity, stability, and narrative significance of individual files and components.
These statuses help collaborators (and future-you) quickly understand:
- how safe a file is to modify
- whether itβs expected to change
- how it fits into the broader architecture or lore of the Lab
- whether it requires special care (or cosmic respect)
Each file includes this metadata in its JSDoc header:
Below is the full legend.
π’ @status stable
Meaningβ
A well-defined, reliable piece of the system. Changes should be minimal, intentional, and backwards-compatible.
Best forβ
- Layout components
- Routing infrastructure
- Shared UI primitives
- Configuration files
Expectationsβ
- Safe to build upon
- Rarely changed
- Unit tests recommended
Icon / vibeβ
π’ βThe cosmic bedrock. Disturb not the foundation.β
π‘ @status evolving
Meaningβ
Functional and actively used, but still refining. API or structure may shift based on new needs.
Best forβ
- Page components
- Preview sections
- Reusable blocks still growing into their final form
Expectationsβ
- Backwards-compatible changes preferred
- Maintainable but subject to future restructuring
- Good candidate for future polish passes
Icon / vibeβ
π‘ βPatterns emerging. Under active observation.β
π£ @status experimental
Meaningβ
A prototype, trial concept, or early-stage idea. Implementation and behavior may change drastically. May break.
Best forβ
- Animation systems
- New visual styles
- Interaction experiments
- Anything with unknown long-term shape
Expectationsβ
- Not guaranteed stable
- Breaking changes acceptable
- Should not be relied on for foundational logic
Icon / vibeβ
π£ βHold my beaker. Science is happening.β
π @status volatile
Meaningβ
Actively being rewritten or hacked in place. Structure is unstable; API is not reliable; refactors expected soon.
Best forβ
- Temporary scaffolding
- Placeholder logic
- Mid-refactor components
- Dirty-but-necessary glue code
Expectationsβ
- Change early, change often
- Avoid extending or depending on it
- Migrate away as soon as stable patterns appear
Icon / vibeβ
π βEnter at your own risk. The raccoons are still wiring it together.β
π¬ @status deprecated
Meaningβ
Replaced by a newer implementation. Retained for reference or transition only. Scheduled for removal.
Best forβ
- Legacy versions of components
- Old data formats
- Retired interaction patterns
Expectationsβ
- Should not be used in new code
- Should not receive new features
- Remove once no longer referenced
Icon / vibeβ
π¬ βPreserved in formaldehyde. For study only.β
πͺ @status lore-critical
Meaningβ
Essential to the Labβs identity, narrative, or mascot ecosystem.
Should never be removed or heavily altered without deliberate lore updates.
Best forβ
- Mascot definitions (Carmel, Orbson, Stan, Drizzle, McChonk, Ada Fox)
- Canonical Lab data models
- Files describing worldbuilding, departments, or meta-structure
Expectationsβ
- Treat with respect
- Refactor only to enhance clarity, not rewrite history
- PRs modifying these files should include narrative justification
Icon / vibeβ
πͺ βA core star in the Labβs constellation. Adjust its orbit with care.β
π§ Choosing the Right Status
| Status | When to Use |
|---|---|
| stable | Architecture pillars, reusable primitives |
| evolving | Actively used but still being shaped |
| experimental | Ideas not yet proven or finalized |
| volatile | Mid-refactor, temporary, unstable |
| deprecated | Replaced and awaiting removal |
| lore-critical | Mascots, core lore, narrative structures |
π§ͺ Updating a Fileβs Status
A fileβs @status should be updated when:
- its architecture stabilizes (experimental β evolving β stable)
- a new version replaces it (evolving β deprecated)
- it becomes foundational to Lab lore (evolving β lore-critical)
- it is mid-refactor (stable β volatile temporarily)
Think of statuses as the living health radar of the codebase.
π Why This System Exists
The Labβs code is a blend of:
- real engineering
- evolving visual language
- character-driven lore
- ongoing experimentation
β¦so a binary βstable/unstableβ model isnβt expressive enough.
This taxonomy:
- prevents accidental breakage
- communicates intent
- captures narrative significance
- helps future contributors understand why code exists
- supports clean migrations and refactors
- makes the repo feel like a true research lab
π End of Document
Maintained by Ada & Lyric β The Human Pattern Lab