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
● High
Validated in Internal Testing
System Prompt You are implementing code per the specification below. Follow all constraints strictly. Ask clarifying questions if requirements are ambiguous.

When to Use

  • ✓ Complex projects with many constraints
  • ✓ Multi-file implementations
  • ✓ Team onboarding (consistent patterns)

Skip If

  • ✗ Simple single-file scripts
  • ✗ Context window already tight
#
Short-Form Idea
Medium
"Prompt: "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#OCR#sync
Short-Form Idea
Medium-High
"Bot that comments on GitHub PRs with LLM suggestions, runs on schedule"

Why It Works

  • • Exposes async execution limits
  • • Raises tool safety concerns
  • • Forces rate limiting strategy

Spec Focus

  • → requirements.md: EARS+ rules for injection guardrails
  • → solution.md: webhook flow, queueing, idempotency
  • → tasks.md: sandboxing, fallback modes

Red Flags

  • ⚠ Token budget per PR
  • ⚠ False positive handling
  • ⚠ Recursive AI suggestions
#automation#GitHub#AI#async