Workflow guide / Guides

Task workflow

Use Solomonar task prompts to implement approved behavior, fix bugs, handle decisions, coordinate reviews, and recover work through verified merge.

On this page

These examples follow Ledger, a fictional shared-expenses project. Its expense screens and CSV export are example product features, not features built into Solomonar. Start with the situation that matches your work.

For new or changed behavior, complete Prototype workflow first: demonstrate it, obtain human approval, and extract the agreed specifications. This guide starts from that agreement and covers managed tasks. A task decision that changes behavior returns to the prototype before dependent implementation resumes.

Before you try them: the prompts assume a project prepared with solomonar init. If you have not done that yet, follow Set up a project. Task IDs below are illustrative.

Paste agent prompts into a top-level agent session. The portable wording is “Use the solomonar skill.” Codex also accepts $solomonar; Claude Code uses /solomonar. Terminal commands go in your shell. The binary checks and records work; the agent session coordinates it.

Build the first useful slice

Situation: add-expense behavior is agreed, but Ledger has no runnable application yet.

Agent prompt:

Use the solomonar skill. Implement the agreed add-expense flow as Ledger's
first runnable slice. I must be able to save an expense and see it after
reloading. Exclude accounts, payments, and recurring expenses.
  1. This top-level session takes the orchestrator role, registers one task, confirms registration, and creates its worktree.
  2. work-spec defines the outcome, boundaries, acceptance criteria, and checks. Only the minimum runnable baseline needed for this slice enters scope. Necessary architecture or dependency choices go to you for a decision.
  3. Once readiness passes and canonical changes are applied, the orchestrator presents the implementation plan. After you explicitly approve that exact plan, it commits Status: Approved before delegating. The implementer follows the plan and returns a committed candidate. Persistence makes this a tier 2 change: required specialists review it, followed by adversarial review.

An implementation plan might contain:

## Implementation plan
Status: In review

- S-1: feat(W-001): store expenses
  The expense type and its storage; AC-1.
- S-2: feat(W-001): validate expense input
  The approved invalid-amount error and unchanged state; AC-2.

Approve the actual plan presented to you, using its real task ID:

I approve the implementation plan for W-001 as presented.

This approves the approach to the task. It does not authorize behavior absent from the approved prototype or a new architecture/dependency choice outside an existing scoped decision.

You leave with: a bounded implementation tied to observable checks. A useful criterion here is: after saving a valid expense and reloading, that expense is still listed. A passing implementation handoff alone does not complete the task.

Inspect progress and the next action

In the initialized project, use the task's real ID:

solomonar task show W-001
solomonar task status W-001

show reads the stored record, including its owner, blockers, and next actor/action. status compares that record with Git and the forge: the worktree, current revision, plan approval, committed and remaining steps, and PR/check facts. The output names commands valid next; it does not start or resume work by itself. Task state explains the distinction between recorded state and derived facts.

Fix a bug in an existing product

Situation: Ledger already exports CSV, but a description containing a comma becomes two fields.

Agent prompt:

Use the solomonar skill. Fix the existing CSV export: the description
"Coffee, beans" must remain one field when the export is parsed.
Keep the existing columns and ordering. Add a regression check.
Use the current application and its existing build tools.

The orchestrator prepares a bug-fix task. work-spec reads the affected code and relevant rules, captures the reproduction and expected result, and names a regression check. Restoring represented approved behavior reuses its prototype approval. If that behavior is missing or ambiguous, demonstrate and approve it in the prototype before updating specifications and implementing the correction.

Missing run instructions do not mean the application is missing. Commands are discovered from repository scripts, manifests, and existing instructions. Existing failures are distinguished from regressions introduced by the change.

You leave with: the smallest correction and evidence that the comma case works. The task does not authorize replacing the application skeleton or changing unrelated export behavior.

Keep maintenance work small

Situation: the installation instructions are wrong, while the software already behaves correctly.

Agent prompt:

Use the solomonar skill. Correct only the installation instructions in
README.md using the repository's current scripts. Verify the examples
and links. Do not change application behavior or requirements.

The implementer may edit documentation explicitly named in the work spec. Documentation-only work without behavior or requirement changes is tier 0: applicable CI checks, with no agent-review stages. It needs no new runnable baseline.

For a refactor, make a separate request that names both the structural target and the behavior to preserve:

Use the solomonar skill. Extract the existing CSV formatting into one
module. Preserve column order, quoting, and output for the existing cases.
Add no dependency or new export format.

You leave with: a change whose checks match its scope. A code refactor receives the applicable code-review path; it does not inherit the documentation-only tier.

Plan work and run independent tasks in parallel

Situation: you want to remember CSV export for later, then work on independent outcomes in separate sessions.

Terminal, in an initialized project:

solomonar task plan --title "Export expenses as CSV"

Use the ID returned by the command. In a new top-level session, ask:

Agent prompt:

Use the solomonar skill. Work on W-001.

Wait for Registration confirmed before starting another task in another top-level session. Each orchestrator owns one task and its worktree. Independent tasks can then run concurrently; shared services still need separate ports and test data.

If export needs the first task's code, record that dependency using its real ID:

solomonar task plan --title "Export expenses as CSV" --depends-on W-001

You leave with: distinct task records and ownership. A dependent task waits until its prerequisite is merged into main; an available worktree is not proof that the dependency is ready.

Answer a decision without losing independent work

Situation: an implementation needs a storage choice that has not been approved.

Local storage affects the whole project, so the orchestrator records a project decision such as P/D-2 in the main checkout, plus a blocker and the next action for you. A choice that constrains only this task would be a task decision such as W-001/D-1. Dependent work waits; independent authorized work can continue.

Agent prompt, in the session that requested the decision:

For P/D-2, I approve the proposed SQLite option for local persistence.
Keep cloud synchronization outside this task.

This is an illustrative answer: use the option and decision ID actually presented to you. The owning orchestrator records the approval, updates the affected documents, and resumes the dependent work. If its session ended, resume it before answering.

You leave with: a durable decision with clear scope. Silence, a prototype's simulated storage, and an answer sent to another task do not approve the choice. Existing approvals remain valid within their recorded scope.

Answer the project's open questions

Situation: spec or the status overview reports open questions that affect the whole project, such as how every service reports errors to its clients.

Agent prompt, in the main checkout:

Use the solomonar skill. Go through the project's open questions.

The session lists them, blocking first, and goes through them one at a time with your runtime's question prompt, the recommended option first. Each approved choice becomes a P/D-n entry in docs/decisions.md, committed as docs(decisions): record P/D-n. An answer about behavior goes to the prototype first. Choosing or dropping a stack extension, such as go, goes through solomonar extension add and remove instead.

You leave with: project decisions that every later task cites, and only the questions you left open. Running tasks apply new decisions when they next merge main; the first task that applies one updates docs/architecture.md or docs/stack.md.

Recheck a change when main moves

Situation: CSV export passed review, but another task changed a shared policy function from returning a string to returning an object. The two tasks edited different files.

Agent prompt, to the owning orchestrator:

Main changed the policy result used by this exporter. Integrate current
main and verify the export against the new contract. Reassess the affected
reviews on the resulting revision before merging.

The implementer merges current main into the task branch. CI reruns. The orchestrator checks changed files and the relevant contracts, dependencies, and requirements; disjoint files alone do not justify reusing a verdict.

Required reviewers examine the same stable candidate. A correction creates a new candidate and the affected checks run again. A reused verdict retains its original SHA and a concrete reason why its scope is unaffected; unclear impact requires a rerun.

You leave with: evidence for the integrated revision. A conflict-free merge or a passing smoke test alone does not prove the exporter still handles the policy result correctly. See candidates and review tiers.

Pause, resume, or hand work to another session

Situation: you need to stop while CSV export is being implemented.

Agent prompt, in its current session:

Pause W-001. Preserve the current work and record what remains to do.

On a later visit, inspect the stored record:

Terminal, in the same initialized project:

solomonar task show W-001

Agent prompt:

Use the solomonar skill. Resume W-001 from its existing worktree and PR.
Inspect the saved work and actual Git state before continuing.

Resuming reconciles the record with the worktree, decisions, and PR. Uncommitted work is preserved. A lost review report without a durable reference must be verified again. If the PR already merged, the orchestrator verifies and closes it instead of rebuilding the feature.

If ownership must change, explicitly request the handoff and confirm the previous execution stopped. Only then does the new session take ownership before writing. Elapsed time alone never transfers ownership.

Agent prompt, in a new session after the old one stopped:

Use the solomonar skill. The session that owned W-001 has stopped.
Take over W-001 and continue from its approved plan.

The new session runs task handoff, then task status. Its plan section shows, for example, steps 1 of 2 committed; remaining S-2, and dirty lists an uncommitted file the earlier implementer left. The session inspects that file, runs task confirm, and delegates only S-2, naming the partial work to reuse. S-1 is not repeated: its checkpoint commit already holds it. The full terminal output is in the task status example.

You leave with: the same task, worktree, and PR, with a known next action. task show reports the stored record, not live agent activity; task status W-001 compares it with the actual worktree and PR. See task state for the distinction between recorded state and Git or forge facts.

Finish the task and handle a later regression

Situation: the export meets its acceptance criteria and every required gate passes.

The orchestrator keeps the final work specification in a dedicated spec commit, records its spec_ref in the PR, then makes a separate commit removing the active work-spec file. The PR merges with a merge commit so both remain in history. Only after the merge is verified does task done write done / complete.

Check the result in the terminal:

solomonar task show W-001

The compact record keeps the summary, merge commit, PR, and final specification reference. That reference can answer a later question about what was agreed, even though the active work-spec file was removed.

If the merged feature later regresses, create related work using its real task ID:

solomonar task plan --title "Fix CSV quoting regression" --related W-001

You leave with: preserved agreement and a separate regression task. The merged task stays done; a later defect does not erase its history. Read integration and specification history for the governing concepts and gates.


These examples adapt the framework/CLI design review of 21 October 2026 and are checked against the source contracts below. They illustrate the workflow; they are not a claim that the fictional Ledger project or the complete setup path was executed. For adding or removing extensions after init, see solomonar extension; for upgrades, solomonar upgrade. For adding or removing runtimes, see solomonar runtime; for synchronization, consult the planned commands and the project files reference.