Skip to content

(MOT-3873) feat(harness): code mode with native coder/shell exposure#410

Closed
ytallo wants to merge 1 commit into
feat/coder-str-replace-contextfrom
feat/harness-code-mode
Closed

(MOT-3873) feat(harness): code mode with native coder/shell exposure#410
ytallo wants to merge 1 commit into
feat/coder-str-replace-contextfrom
feat/harness-code-mode

Conversation

@ytallo

@ytallo ytallo commented Jul 6, 2026

Copy link
Copy Markdown
Contributor
  • new send/spawn mode "code": replaces the mesh identity prompt with a
    dedicated coding identity (prompts/code.txt) — read-before-edit,
    str_replace edit discipline, verify-via-tests, no-commit-unless-asked.
  • code mode without an explicit functions policy defaults to the curated
    coding surface natively exposed (coder::*, shell::exec/exec_bg/kill/
    status); an explicit caller policy always wins, and spawned children
    still narrow through subset_policy.
  • code-mode turns fetch coder::context once per turn (jail-scoped via the
    trusted fs_scope stamp) and append a rendered block (root,
    platform, git state, AGENTS.md/CLAUDE.md) to the system prompt; an
    unavailable coder surface logs and proceeds without the block.
  • send/spawn wire schemas gain the "code" mode enum value (goldens).

Refs MOT-3873

…dentity

- new send/spawn mode "code": replaces the mesh identity prompt with a
  dedicated coding identity (prompts/code.txt) — read-before-edit,
  str_replace edit discipline, verify-via-tests, no-commit-unless-asked.
- code mode without an explicit functions policy defaults to the curated
  coding surface natively exposed (coder::*, shell::exec/exec_bg/kill/
  status); an explicit caller policy always wins, and spawned children
  still narrow through subset_policy.
- code-mode turns fetch coder::context once per turn (jail-scoped via the
  trusted fs_scope stamp) and append a rendered <environment> block (root,
  platform, git state, AGENTS.md/CLAUDE.md) to the system prompt; an
  unavailable coder surface logs and proceeds without the block.
- send/spawn wire schemas gain the "code" mode enum value (goldens).
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
workers Ready Ready Preview, Comment Jul 6, 2026 11:41am
workers-tech-spec Ready Ready Preview, Comment Jul 6, 2026 11:41am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 57dd001e-09e8-4762-8d5a-ca7986b62ec5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/harness-code-mode

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

skill-check — worker

0 verified, 32 skipped (no docs/).

Layer Result
structure
vale
ai
render

Four for four. Nicely done.

@ytallo

ytallo commented Jul 6, 2026

Copy link
Copy Markdown
Contributor Author

Consolidated into #423.

@ytallo ytallo closed this Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant