mirror of
https://github.com/block/buzz.git
synced 2026-10-31 14:31:02 +00:00
fix: restore post-rebase MCP compatibility checks
Current main added `PromptContext.team_instructions`, so the MCP fallback test fixture must explicitly initialize it. The MCP snapshot exclusion coverage and upstream shared type growth also require narrowly documented desktop file-size exceptions. Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
This commit is contained in:
parent
1b58093059
commit
b2bc6ea762
@@ -4926,6 +4926,7 @@ mod tests {
|
||||
turn_liveness_interval: Duration::ZERO,
|
||||
dedup_mode: crate::config::DedupMode::Drop,
|
||||
system_prompt: None,
|
||||
team_instructions: None,
|
||||
heartbeat_prompt: None,
|
||||
base_prompt: None,
|
||||
cwd: "/tmp".to_string(),
|
||||
|
||||
@@ -220,8 +220,13 @@ const overrides = new Map([
|
||||
// `signout-wipe` added `Identity.resetFailed`; `team-instructions-first-class`
|
||||
// added team/instructions fields; MCP config adds the shared server types,
|
||||
// layer fields, IPC input fields, and effective-surface field. The gate
|
||||
// counts trailing newlines, so 1,076 physical lines are 1,077 counted lines.
|
||||
["src/shared/api/types.ts", 1077],
|
||||
// counts trailing newlines. Upstream added eight non-MCP type lines after the
|
||||
// prior ceiling, and the MCP snapshot exclusion added no production types.
|
||||
["src/shared/api/types.ts", 1085],
|
||||
// MCP snapshot-exclusion coverage adds a credential-bearing fixture and a
|
||||
// negative serialization assertion. `agent_snapshot.rs` was already exactly
|
||||
// at the 1,000-line limit; the gate counts trailing newlines.
|
||||
["src-tauri/src/managed_agents/agent_snapshot.rs", 1010],
|
||||
// readiness-gate: PersonaDialog.tsx threads computeLocalModeGate +
|
||||
// requiredCredentialEnvKeys + RequiredFieldLabel so the "New agent" dialog
|
||||
// shows required markers and credential amber rows (parity with
|
||||
|
||||
Reference in New Issue
Block a user