Files
msd-core/get-shit-done/templates/discussion-log.md
Tom Boucher 61d82dc3c0 feat(discuss-phase): auto-generate DISCUSSION-LOG.md for audit trail (#1209)
- Generate {phase_num}-DISCUSSION-LOG.md alongside CONTEXT.md during
  discuss-phase sessions
- Log captures all options presented per gray area (not just the
  selected one), user's choice, notes, Claude's discretion items,
  and deferred ideas
- File is explicitly marked as audit-only — not for agent consumption
- Add discussion-log.md template with format specification
- Track Q&A data accumulation instruction in discuss_areas step
- Commit discussion log alongside CONTEXT.md in same git commit
- Add regression tests for workflow reference and template existence
2026-03-19 12:25:59 -04:00

1.8 KiB

Discussion Log Template

Template for .planning/phases/XX-name/{phase_num}-DISCUSSION-LOG.md — audit trail of discuss-phase Q&A sessions.

Purpose: Software audit trail for decision-making. Captures all options considered, not just the selected one. Separate from CONTEXT.md which is the implementation artifact consumed by downstream agents.

NOT for LLM consumption. This file should never be referenced in <files_to_read> blocks or agent prompts.

Format

# Phase [X]: [Name] - Discussion Log

> **Audit trail only.** Do not use as input to planning, research, or execution agents.
> Decisions are captured in CONTEXT.md — this log preserves the alternatives considered.

**Date:** [ISO date]
**Phase:** [phase number]-[phase name]
**Areas discussed:** [comma-separated list]

---

## [Area 1 Name]

| Option | Description | Selected |
|--------|-------------|----------|
| [Option 1] | [Brief description] | |
| [Option 2] | [Brief description] | ✓ |
| [Option 3] | [Brief description] | |

**User's choice:** [Selected option or verbatim free-text response]
**Notes:** [Any clarifications or rationale provided during discussion]

---

## [Area 2 Name]

...

---

## Claude's Discretion

[Areas delegated to Claude's judgment — list what was deferred and why]

## Deferred Ideas

[Ideas mentioned but not in scope for this phase]

---

*Phase: XX-name*
*Discussion log generated: [date]*

Rules

  • Generated automatically at end of every discuss-phase session
  • Includes ALL options considered, not just the selected one
  • Includes user's freeform notes and clarifications
  • Clearly marked as audit-only, not an implementation artifact
  • Does NOT interfere with CONTEXT.md generation or downstream agent behavior
  • Committed alongside CONTEXT.md in the same git commit