Commit Graph
7 Commits
Author SHA1 Message Date
robbond 5bad6ad0f8 feat(task-020): generate context from discovery answers 2026-06-03 18:19:25 +01:00
robbond 2fcc822394 feat: record CLI command telemetry 2026-06-02 15:49:27 +01:00
robbond aee13b045e chore: mark TASK-006 complete 2026-06-02 11:41:27 +01:00
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
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
robbond 6430a16050 docs: add task for agent prompt generation 2026-06-02 06:44:03 +01:00
robbond dede6ecc60 chore: bootstrap rdb-discovery 2026-06-01 17:43:02 +01:00