Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions clerk/CONTEXT.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ Clerk's delivery collection: refinement-complete Work. A Backlog item may be wai
pickable when graph state has open children or blockers.
_Avoid_: queue

**Work graph adapter**:
The backend binding behind Clerk's verb facade. It translates backend records and edges into Work,
owns ready/pickable/waiting and parent/child invariants, and exposes graph operations to command
handlers without leaking backend command shapes.
_Avoid_: tracker helper, command-handler graph logic

**Claim**:
The atomic acquisition of one pickable Work item for delivery. A Claim creates the canonical delivery
branch/worktree and is distinct from a planning claim or an assignee.
Expand Down
9 changes: 9 additions & 0 deletions clerk/docs/adr/0015-clerk-opaque-workflow-verb-facade.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,12 @@ verb grammar. Large changes require a focused grill before delivery resumes.
intentionally portable in this dotfiles repo, but the CLI contract above is what survives the
stdlib-only Python 3.11+ strangler port. The public command remains the launcher and contract
boundary while unported verb paths fall back to the preserved Bash implementation.
- **The Work graph adapter is the Python backend seam.** Command handlers ask it for Work graph and
Backlog operations rather than encoding backend edge shapes or pickability. The adapter owns the
ready/pickable/waiting split, including the rule that a ready parent with an open direct child is
not pickable. It computes the full bd-backed graph from an unlimited snapshot, avoiding serial
per-candidate detail calls. Remaining Python-port slices use this adapter for Work state,
graph mutations, and delivery lifecycle transitions instead of adding command-local bd logic.
- **Umbel bundles consume Clerk; they do not own it.** The bundle layer provides operating rules and
hook wiring. Clerk owns workflow mechanism and repo-local state.
- **Grammar is noun-scoped by collection (place)**: `inbox` (refinement views over non-ready work)
Expand Down Expand Up @@ -210,6 +216,9 @@ verb grammar. Large changes require a focused grill before delivery resumes.

## History

- 2026-07-25: Python backend clarification added for dotfiles-9urv.17. Work graph invariants and
substrate-specific graph operations live behind the Work graph adapter seam; remaining port
slices use that seam as their backend boundary.
- 2026-07-23: Python-port clarification added for epic dotfiles-9urv. Clerk is being moved from
Bash to stdlib-only Python 3.11+ behind the existing public command; the current Bash
implementation remains only as a temporary legacy fallback during migration. Compatibility is
Expand Down
Loading
Loading