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.

Activity

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

    hitlNeeds human decision or review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions