Skip to content

crm-duet v2: braced tests over fns the host mirrors; two drifts found by binding #4889

Closed

Description

@gHashTag

specs/automation/crm-duet.t27 v1 cannot be bound to its host (999-multibots-telegraf apps/vibee-editor/render/src/agent/crm-duet-tool.ts):

  • its 12 tests were braceless (inert under the current parser);
  • SELLER / BUYER were two real people's Telegram ids;
  • the host restated the turn limits, the retry and the discovery gate as literals.

v2 does the following:

  • Braced tests. Twelve tests over fns the host mirrors: speaker_at, paid_tool_offered, claim_hit_counts, claim_is_honest, retry_allowed, state_after and business_bot_silent.
  • Roles instead of ids. SELLER and BUYER are roles, not people.
  • Host imports the numbers. The host takes its numbers from here.

Binding found two drifts. Both are settled on the spec's side:

  1. Negation window. The host's voice check exempted a claim word that stands THREE words after a negation. The spec says two. The host now reads NEGATION_WINDOW_WORDS.
  2. Paid cap. The brief's soft paid cap has been two per run since 2026-09-21 (one portrait, one reel), not three. PAID_PER_RUN_SOFT is now 2, and the brief now says "one per reply" too.

A weakness was also found in the vectors. state_after vectors (3 of 8 and 8 of 8) did not tell lines < turns * 2 from lines < turns. Added 6 of 8 → failed.

Activity

  1. added a commit that references this issue on Sep 27, 2026
    b6beb8a
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions