Skip to content

Ship a worked example session in the repo - #3

Merged
hexcon merged 1 commit into
six-phase-revisionfrom
worked-example-session
Jul 6, 2026
Merged

Ship a worked example session in the repo#3
hexcon merged 1 commit into
six-phase-revisionfrom
worked-example-session

Conversation

@hexcon

@hexcon hexcon commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Adds examples/001-api-rate-limiter: a complete, finished session as the workflow would leave it on disk after Phase 6 chose Keep.

What's inside

  • session.json — final state (wrapup, complete) matching the session schema
  • requirement.md — scoped problem with checkable success criteria and the Q&A transcript
  • research/ — one topic file, two recorded decisions, summary, and notes.md showing discoveries folded back into steps during execution
  • plan.md — step table, dependency graph, and a critique that caught a real gap (wall-clock coupling → injectable now)
  • steps/step-001..003.md — self-contained per references/step-format.md: context copied inline, exact paths, patterns shown, binary acceptance, rollback
  • execution-log.md — every step closed by a named check with its result; final review found and fixed one off-by-one before converging
  • examples/README.md — reading order and what to look at

The target codebase (an Express orders API gaining a token-bucket rate limiter) is fictional but internally consistent across all artifacts.

Stacked on #1 (six-phase revision) — the example uses the six-phase layout (wrapup), so merge #1 first; GitHub will retarget this PR to main when the base branch is deleted.

Ticks the second roadmap item.

🤖 Generated with Claude Code

A complete six-phase session copied as-if from a project's artifacts
folder: requirement, research with a recorded decision, a critiqued
three-step plan, self-contained step files per references/step-format.md,
and an execution log where every step closes on a named check. README
links it from Quickstart and the repo tree.
@hexcon
hexcon merged commit 6d4b032 into six-phase-revision Jul 6, 2026
hexcon added a commit that referenced this pull request Jul 6, 2026
Resolves the README overlap from PR #3 and #4 editing adjacent lines:
keep both repo-tree entries (examples/, hooks/) and tick both roadmap
items. Also ticks the LICENSE roadmap line, already ticked on main by
PR #2, so the eventual merge to main does not conflict on it again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant