robbond 39728667a7 feat: add read_discovery_answers, append_followup_answer, and ask-more command
- Add read_discovery_answers() to parse discovery-log.md rows into dicts
  with low_confidence and needs_followup boolean flags.
- Add append_followup_answer() to append follow-up rows linked to original Q-A IDs.
- Add 'ask-more' CLI command that detects Low-confidence and Follow-up-needed
  answers, prompts for additional details, and records them in the log.
- Add 6 tests: read_discovery_answers round-trip, empty-log handling,
  low-confidence detection, follow-up flag detection, and append_followup.
2026-06-02 09:57:02 +01:00
2026-06-01 17:43:02 +01:00
2026-06-01 17:43:02 +01:00
2026-06-01 19:39:18 +01:00
2026-06-01 19:38:42 +01:00
2026-06-01 17:43:02 +01:00
2026-06-01 17:43:02 +01:00

rdb-discovery

A small CLI-first tool for repeatable software project discovery and delivery.

It creates markdown files that help humans and AI coding agents understand:

  • what is being built
  • why it exists
  • what questions remain open
  • what task should be done next
  • what stage the project is currently in

Install for local development

python3 -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'

Commands

rdb init
rdb discover
rdb status
rdb next
rdb start TASK-001
rdb complete TASK-001
rdb handoff

Bootstrap workflow

  1. Run rdb init
  2. Run rdb discover
  3. Run rdb status
  4. Run rdb next
  5. Give the next task to Claude Code or Cline
  6. Commit after each completed task

Project structure

rdb init creates the following files (skips existing ones):

  • context/discovery-log.md
  • context/product-brief.md
  • context/architecture.md
  • context/decisions.md
  • context/risks.md
  • context/assumptions.md
  • context/open-questions.md
  • context/repository-context.md
  • TASKS.md
  • TEST_PLAN.md
  • RUN_LOG.md
  • PROJECT_STATE.md
  • AGENT_HANDOFF.md
  • .rdb/project.json

Principle

Markdown files are the source of truth. No database is required.

S
Description
No description provided
Readme
144 KiB
Languages
Python 100%