Skip to content

feat: plan-first default agent for all Amicode sessions #300

Description

@aarontrowbridge

What. Every new Amicode session opens on opencode's built-in read-only plan agent, not straight into the build/execute agent. The user switches in the composer to pulse-designer or build when they're ready to operate.

How. buildOpencodeConfigContent in packages/extension/src/opencode_config.ts now injects default_agent: "plan" into the config blob every Amicode server boots with. OPENCODE_CONFIG_CONTENT deep-merges over the user's global config, so this is the product default for all users regardless of per-machine settings. Per-message agent (the e2e tests, the distiller's --agent) is unaffected.

Verification. Fast suite green: 867 passed / 3 skipped / 0 failed. The vendored opencode 1.17.3 binary accepts default_agent: "plan" via the real-binary injection+merge test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    hitlNeeds human decision/review before merge

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions