Backend Foundation

Open-questions.md

A structured file for tracking unresolved design decisions and unknowns — so Claude never silently assumes an answer to an open question.

The Problem

Unknowns that Claude silently decides

During any non-trivial backend task, Claude encounters questions it cannot answer from the codebase alone: "Which database should this go in?", "Should this be synchronous or async?", "Is this a breaking change?". Without guidance, Claude picks an answer and continues — often the wrong one.

Open-questions.md is the explicit list of things Claude should surface to you rather than decide alone. It's a lightweight blocking mechanism for high-stakes unknowns.
Locationdocs/open-questions.md in the project root
Referenced fromYour project CLAUDE.md: "Before implementing, check open-questions.md"
Maintained byBoth developer and Claude — either can add questions
OQ-ID Format

How to write open questions

Each question gets a unique OQ-ID so skills and Claude can reference it precisely. The format is: OQ-001, OQ-002, etc. Questions include status (open / resolved / blocked) and the decision when resolved.

# docs/open-questions.md

## OQ-001 — Auth token storage
**Status:** open
**Context:** New user session endpoint needs to store tokens.
**Question:** Should tokens go in Redis (fast, ephemeral) or Postgres (auditable, persistent)?
**Impact:** Architecture choice affects all auth flows.

## OQ-002 — Background job runner
**Status:** resolved — use Celery with Redis broker
**Resolved by:** @shubham 2025-11-14
**Note:** Keeps us consistent with existing worker infra.

## OQ-003 — Rate limit scope
**Status:** blocked — waiting on product spec
**Blocked by:** Product decision on per-user vs per-org limits
CLAUDE.md instruction: Add "When you encounter an open question, add it to docs/open-questions.md with a new OQ-ID and stop — do not assume an answer."
Skills

resolve-oq and audit-oq

Two skills manage the open-questions lifecycle:

resolve-oqMarks an OQ as resolved, records the decision and rationale, updates any code that was blocked on it
audit-oqScans the codebase for places where Claude may have assumed an answer to a still-open question
# Resolve a question manually
/resolve-oq OQ-001 "Use Redis — token TTL matches session timeout and we already have Redis in the stack"

# Audit for silent assumptions
/audit-oq
# Returns: files where OQ-001 scope may have been assumed
Run audit-oq before each PR review. It catches the most common failure mode: Claude resolved an OQ silently mid-session and the decision was never recorded.
Workflow Integration

Open questions in the daily loop

Open-questions.md integrates into your backend workflow at two checkpoints:

Session startClaude reads open-questions.md and lists any open items relevant to today's task
Before implementationIf the task touches an open question, Claude pauses and asks — it does not proceed
After implementationRun audit-oq to verify no new assumptions were made
PR reviewLink relevant OQ-IDs in the PR description for reviewers
Keep it lean: Open-questions.md should have fewer than 10 open items at any time. If it grows beyond that, you're not resolving fast enough — schedule a design decision meeting.
Check your understanding
1. What is the purpose of an OQ-ID?
Correct.Not quite. OQ-IDs give each question a stable reference — resolve-oq and audit-oq both use the ID to target specific questions without ambiguity.
2. What does audit-oq do?
Correct.Not quite. audit-oq catches the most common failure mode — Claude making a silent decision mid-session that was never recorded as a resolution.
3. How many open items should open-questions.md have at most?
Correct.Not quite. Keep fewer than 10 open items. A bloated list means you need a design decision meeting, not more documentation.