robbond 21611b7c4e feat(TASK-005): wire project state and agent handoff into start/complete commands
- Add update_project_state() helper: updates Current Task + Last Updated
  in PROJECT_STATE.md via regex sub, preserving all surrounding formatting.
- Add update_agent_handoff() helper: updates Current Stage + Current Task
  sections in AGENT_HANDOFF.md, auto-detected from project_stage().
- Wire both helpers into rdb start TASK-ID and rdb complete TASK-ID CLI
  commands so task lifecycle transitions propagate to all control files.
- ADDING test_status.py with 5 tests: update_project_state task/timestamp
  updates, missing-file false return, agent handoff update and miss.

Acceptance criteria met:
- rdb start/complete now update PROJECT_STATE.md
- rdb start/complete now update AGENT_HANDOFF.md
- RUN_LOG.md already updated (pre-existing)
- Task formatting preserved (regex sub targets single line only)
2026-06-02 10:37:38 +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-02 09:59:21 +01:00
2026-06-01 17:43:02 +01:00
2026-06-02 10:06:11 +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%