Lab Notes

Ideas & Fragments.

A digital garden of architectural patterns, experimental snippets, and late-night system design epiphanies. Not quite articles, more than just notes.

Experimental Pattern
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Experimental Pattern
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Architectural Fragment
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Architectural Fragment
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Architectural Fragment
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Short-Form Idea
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Experimental Pattern
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Experimental Pattern
"You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous."
#AI#prompting#spec#LLM
Architectural Fragment
High

Files Affected

constitution.md design.md requirements.md

Core Constraints

  • RBAC matrix: Admin/User/Guest roles
  • Passwordless fallback via magic links
  • Token revocation list (stored in Redis)
  • JWT with 15-min access token + 7-day refresh rotation
#auth#security#JWT#RBAC
Short-Form Idea
Medium
"Offline expense app with receipt OCR, syncs when back online "

Why It Works

  • Forces constraints around connectivity
  • Surfaces privacy & storage questions
  • Triggers ML inference boundary decisions

Spec Focus

  • constitution.md: offline-first, data locality
  • design.md: PWA, IndexedDB, OCR pipeline fallbacks
  • tasks.md: sync conflict resolution
#mobile#offline#OCRsync#