镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(agent-harness): stop telling agents to use GitHub-flavored Markdown - #2639

Merged
baxen merged 1 commit into
mainfrom
mbot/plain-markdown-prompt
Nov 7, 2026
Merged

baxen merged 1 commit into
mainfrom
mbot/plain-markdown-prompt

Conversation

@baxen

@baxen baxen commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Problem

The agent base prompt says "Use GitHub-flavored Markdown." Agents took that to mean GitHub-only HTML such as <details><summary> would work. Buzz ignores raw HTML in messages (docs/channels.md), so the tags showed up as literal text. An agent that did this pointed to this line as the reason.

Change

src/features/agent-harness/base_prompt.md: replace the line with "Use Markdown; raw HTML is not rendered." The guidance on fenced code blocks stays.

Validation

Prompt text only. base-prompt.ts imports the file raw. No other copy of the line exists in the repo (git grep).

@baxen
baxen requested a review from a team as a code owner November 5, 2026 17:39
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-05T17:41:39.129360Z 2b823a2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@joahg joahg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One-line prompt wording change; no code impact.

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord automated source review via Wes’s account.

No actionable source findings in this one-line clarification. The wording matches the existing message renderer, which keeps raw HTML inert and displays tags as text; the shared raw prompt is consumed by both harnesses. Fenced-code guidance is preserved.

Reviewed head 2b823a2081f3b8a00d402ad6f8f8f23ab7f5cd99 against base a86ffc38991cffbc938daffb1ff61c1bc86b0592. Focused lead review of this routine wording change. Source-only: renderer, prompt loading/callers, existing test assertions, and PR description inspected; no tests, builds, app runs, or CI validation performed.

Buzz ignores raw HTML in messages, but the base prompt's GitHub-flavored
Markdown line led agents to use GitHub-only HTML such as <details>, which
showed up as literal tags.

Co-authored-by: mbot <3754f8729004d95654c46dbab3129e4ab9ef05cc2534e2a3fbfc155983bd637b@buzz.block.builderlab.xyz>
@baxen
baxen force-pushed the mbot/plain-markdown-prompt branch from 2b823a2 to 27cf53e Compare November 7, 2026 19:56
@baxen
baxen merged commit f293f04 into main Nov 7, 2026
58 checks passed
@baxen
baxen deleted the mbot/plain-markdown-prompt branch November 7, 2026 20:18
tlongwell-block added a commit that referenced this pull request Nov 8, 2026
* origin/main: (47 commits)
  fix(relay): report a community's membership refusal once, not as raw 403s (#3012)
  test(browser): fix red main and two cross-PR flakes (#3015)
  feat(agent-activity): keep remote agent outcomes readable (#2913)
  test(solo): cover agent tagging behind a background read-state snapshot (#2941)
  fix(desktop): quit on SIGTERM, SIGINT and SIGHUP so agents stop with Buzz (#2905)
  feat(unread): opening a channel quiets its sidebar row (#2998)
  fix(goose): end the turn when a final send succeeds (#2997)
  fix(relay): report a community's refusal once, not as raw 403s (#2978)
  Give fast Builderlab models their own section and a bolt in the model picker (#2592)
  feat(dev): `just desktop me` keeps Keychain approvals across rebuilds (#3002)
  fix(relay): show one quiet reconnect toast after 30 s, above the composer (#2968)
  feat(memory): render rich markdown and navigable buzz links (#2981)
  fix(identity): never strand first run on a key another account holds (#2996)
  Let agent_create propose instructions (#2332)
  fix(unread): raise a local read floor over dropped marks, and halve save validation (#2977)
  Add Codex huddle auto-join and thinking presence (#2927)
  feat(claude): set up Claude from a button beside Harness (#2975)
  docs(plugins): document the decisions API in the authoring guide (#2994)
  fix(agent-harness): stop telling agents to use GitHub-flavored Markdown (#2639)
  feat(identity): brand federated sign-in and return to the app (#2982)
  ...

Signed-off-by: Tyler Longwell <tlongwell@squareup.com>
Co-authored-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>

# Conflicts:
#	src/bundled/codex/voice.ts
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.

3 participants