Skip to content

Get started

Your first real task

A complete first task: objective, supervision, verification, review, and delivery — with the failure modes to watch for.

  • 4 min read
  • 8 steps

Your first real task ​

A first task should be small enough to understand completely. The goal is not maximum autonomy; it is learning the full loop from a bounded objective to a diff you would sign your name to.

This page uses a Code task as the example. The same loop applies to Work, minus Git delivery.

Step 1: Start from a known state ​

Before you open Octant, confirm in your normal Git tools:

  • The right branch is checked out.
  • Existing changes are committed, stashed, or intentionally preserved.
  • The repository can run its normal checks.
  • You know which files should not change.

A known starting point lets you attribute every new change to this task. If the tree is already dirty, Octant cannot tell your edits from the agent's in a diff.

Step 2: Open the Project and choose the environment ​

Create or open a Code Project bound to the repository folder. Decide where the task works:

ChoiceUse it when
This checkoutThis is the only active task and you intend it to change the working tree
New worktreeAnother task may run in parallel, you want a dedicated branch, or the change is experimental

For a first task, This checkout is simpler. Choose between them on the chip under the composer. Before parallel work, read Git and worktrees.

Step 3: Choose the provider and model ​

Pick a provider you have already verified outside Octant. Avoid testing a new provider and a new repository at the same time. Confirm the model and the thread's authority before sending:

  • Plan is read-only.
  • Ask first asks before writes and commands; Auto lets a reviewer answer routine calls.
  • Full access removes the sandbox and the prompts: the agent can change any file and run any command, outside the Project too, and a shell command can read protected credentials. It is remembered per thread; choose it only for work you would let run unattended. See Code for the details.

The row under the composer shows the access posture as the mode icon at its right, and the chips above it show where the task runs. Check them rather than assuming.

Step 4: Write a bounded objective ​

A useful objective states four things:

text
Outcome:
What should be true when the task is finished?

Scope:
Which component, file, route, or behavior is involved?

Constraints:
What must be reused, preserved, or avoided?

Verification:
Which tests, builds, or manual checks should pass?

Example:

text
Outcome:
Show an empty state in the saved-searches list when no saved searches exist.

Scope:
Only the saved-searches list and its focused test.

Constraints:
Reuse the existing empty-state component.
Do not redesign the surrounding page.
Do not change server behavior.

Verification:
Run the focused unit test.
Report the exact command and result.

This is easier to execute and review than "improve the saved-searches page". If you cannot state the verification, the task is not ready.

Step 5: Supervise the turn ​

While the provider works:

  • Read plans before approving a wide action.
  • Watch tool activity for work outside the requested scope.
  • Answer approvals and questions precisely; a vague answer becomes a vague change.
  • Inspect the diff before the turn ends if it is already growing.
  • Send a correction as soon as an assumption is wrong.
  • Interrupt work that is clearly unsafe or unrelated.

Steering early is cheaper than repairing an oversized diff later. The Needs you card, the Inbox, and ⌘+⇧+J keep waiting work in reach while you supervise something else.

Step 6: Verify independently ​

When the turn reports completion:

  1. Read the complete final reply.
  2. Inspect every changed and untracked file.
  3. Read the actual diff.
  4. Run the relevant focused checks yourself.
  5. Run a broader check when shared behavior changed.
  6. Exercise the visible behavior when it matters.
  7. Confirm the original objective — not only the tests — is satisfied.

A failing check is not automatically a pre-existing failure. Reproduce it on the base branch before you call it unrelated.

Step 7: Review the change set ​

Look specifically for:

  • Unrelated refactors and formatting churn.
  • Generated files, debug logs, and temporary scripts.
  • Secrets or machine-specific paths.
  • Missing error handling.
  • Comments or docs that claim more than the code does.
  • Tests that assert the implementation instead of user-visible behavior.
  • Files the task was told not to touch.

Remove or separate anything you did not intend before committing.

Step 8: Commit and deliver ​

Stage explicit paths, not the whole tree:

bash
git status
git diff --check
git diff --stat

Then commit, push the intended branch, and open a pull request if the Project uses GitHub. The pull-request recipe covers the review side; Git and worktrees covers the host's Git operations.

When the task goes wrong ​

SymptomFirst move
The provider misunderstood the objectiveSend a narrower correction with the exact constraint
The change grew too largeStop, preserve useful work, split the objective
Unrelated files changedRevert or separate them before continuing
The task is stuckInspect approvals, questions, provider status, terminal output
The repository is no longer trustworthyStop and restore from Git or a checkpoint
Another task needs the same filesMove one owner to a worktree or serialize the work

Do not stack new instructions onto a task whose ownership or working state is unclear. The troubleshooting hub starts with preserving state for a reason.

Completion checklist ​

  • [ ] The original objective is satisfied.
  • [ ] Every changed file was reviewed.
  • [ ] Relevant tests ran, and the output is recorded.
  • [ ] Visible behavior was checked where applicable.
  • [ ] No unrelated artifacts remain.
  • [ ] The branch, worktree, and authority are understood.
  • [ ] Only intentional changes were committed.
  • [ ] The next reader can tell what changed and why.

Next ​

Octant documentation · local-first by design