Skip to content

0.1.2 HW4: Augment Auggie CLI as a local harness row #2439

Done

Description

@jparker2006

Parent

Ticket HW4 of spec #2424 (0.1.2), the Augment Auggie CLI harness row. Size: S.

What to build

auggie as a harness row on the local driver, in the shape the harness-row contract (HR1) fixes, built in its own folder and stacked as a draft on HR1's branch until it merges.

  • Start: auggie -p --mode json "<p>".
  • Wake (same run): auggie --session <file> -p "<msg>".
  • Stop: end the process tree.
  • Login: auggie auth login, stored in ~/.augment/session.json. The row never reads, sets or stores a key.
  • Effort: settle from primary sources which flag, setting or environment value sets the CLI's reasoning effort, and map each effort value to it in the row (an {effort} placeholder or a fixed environment setting), or declare effort none with its reason and source, in the row, its README and the driver's version answer, as the contract requires. The effort start field is driver v1's change, 0.1.2 spec: Effort everywhere: every driver passes the user's effort, or says plainly it can't #2471.
  • Permission mode: map the owner's approved mode to the CLI's own option, as the contract says, or refuse with a clear next if the CLI has no safe equivalent.

Settle this fact first, from primary sources (the Auggie CLI reference and auggie --help v1.2.2; read only, no sign-up, no paid call): Does the JSON output name the session that a wake needs, and is --session a file path or an id? Record the answer with its sources in the row's README. If it comes back against the row (no same-run wake, or a stop that cannot leave nothing running), stop and report with the evidence instead of building.

Owned paths

  • adapters/local/harnesses/auggie/ (new: the row file, its fake CLI, its README with the login line and the fact's resolution, an optional row test, and its evidence folder)

Relies on: nothing

Links

Acceptance criteria

  • The row's fact is settled from cited primary sources in its README.
  • HR1's harness check discovers the row and it passes the contract checks and the driver kit's five checks with its fake CLI, red first.
  • Effort: a claimed effort reaches the fake CLI's arguments or environment in HR1's runner; or the row declares none with its reason and source, and a start carrying an effort refuses with a D3 error and starts nothing, never falling back to a default.
  • Not installed and not signed in each give a JSON error whose next says what to do; a stop leaves no process of the run, including any background service the CLI started.

Proof

P1 and P2: HR1's harness check on this row, red first, and the cited fact.

Activity

  1. added this to the 0.1.2 milestone on Nov 22, 2026
  2. added
    ready-for-agent
    on Nov 22, 2026
  3. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    launch-fleet: started (the 0.1.2 lead's direct start; Opus 5.5 Medium builder), stacked as a draft on wave 1's HR1 (#2431, branch room/2431-harness-rows) for the 30-agent push. Hand checks: open, only ready-for-agent, no claim, builder or pull request yet; #2431 open, so this stays a draft until it merges; owns only its own harness folder, which no open pull request touches.

  4. added
    held
    and removed
    ready-for-agent
    on Nov 22, 2026
  5. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Plan change coming (hold-first): wave 1's harness-row contract (#2431) now requires every row to take effort, as a mapping or as an explicit none with its source, with the effort start field from #2471. This ticket's body gains that acceptance line; it is held until the new approval. Its builder has been told and keeps working.

  6. added
    ready-for-agent
    and removed
    held
    on Nov 22, 2026
  7. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    agent: builder
    state: working
    harness: Claude Code
    model: Opus 5.5
    skills: build-ticket@0.2.2
    step: Merged HR1's revision 4 and filled signed_out and login_command; the runner and the row's own test pass, CI is running.
    time: 2026-11-23T00:02:03Z

  8. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Builder question: the contract doesn't cover the "not signed in" criterion for this row.

    What I found. Signed out, Auggie CLI 1.2.2 prints its session header, then No API key found for unknown. on stderr, and exits 1. I checked this read-only on a throwaway home, with no paid call (synthetic copy: adapters/local/harnesses/auggie/evidence/fact-json-header.txt on room/2439-auggie-row). The driver's SIGNED_OUT patterns in adapters/local/driver (HR1, #2431) don't match that line. A signed-out start is therefore reported as the first turn ended at once: the harness failed (exit 1), with next read <log>, fix what it says there, then start again. The log then shows Auggie's own hint to "use /login or set an API key", which points the user at a key the row must never use.

    Everything else passes on the row at 10ff3eef: the contract, the folder, the kit's five checks, and the session, env, background-process and effort checks. test_row.py's not-installed and session-header checks pass too. Only its signed-out check fails, for this reason.

    Options:

    1. HR1 adds one pattern to SIGNED_OUT: no api key found\b. The error then says the harness is not signed in. The next stays generic.
    2. Option 1, plus a signed-out next that names the row's login line (for auggie: auggie auth login, saved in ~/.augment/session.json). This is the clearest for the user, and it helps every row.
    3. Accept the generic "the harness failed" for auggie, and I drop the signed-out assertion. I'd rather not: it misses the criterion's "say what to do".

    My pick: 1 now, inside HR1's driver, since I must not edit HR1's files; 2 if HR1 is open to it. Until then the draft stays red on that one check. I'll merge HR1's branch in once it moves.

  9. added
    needs-info
    on Nov 22, 2026
  10. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Lead ruling on the not-signed-in question: the row-declared form (a signed_out pattern list and a login_command in the row) is the right design, but it lands in the row-commands follow-up #2538, not in HR1, whose built-in list stays unchanged. Until then a signed-out Auggie start fails safely as a generic harness failure that starts nothing, with its log path. For this ticket: the row's test asserts that safe failure (an error, nothing started, no key named), the README states the gap and the planned fix, and the acceptance line's not-signed-in part is met by that safe failure until #2538.

  11. 1 remaining item

  12. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Lead ruling, final (planner's word, superseding both above): HR1 stays unchanged. The row-declared signed_out patterns and login_command go to the row-commands follow-up #2538. Until it lands, this row's README states the gap (a signed-out start fails safely as a generic harness failure that starts nothing, with its log path) and its not-signed-in check stays red.

  13. added a commit that references this issue on Nov 22, 2026
  14. jparker2006 commented on Nov 22, 2026

    @jparker2006
    MemberAuthor

    Lead ruling, final (planner's final word, superseding every earlier ruling here): HR1 itself carries the optional signed_out patterns and login_command (its revision 4); #2538 does not. When HR1's head moves, this row merges HR1's branch in (never rebase), fills both fields for its CLI's signed-out output, and its not-signed-in check passes. Until then that check stays red.

  15. removed
    needs-info
    on Nov 22, 2026
  16. added 10 commits that reference this issue on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agent

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions