Skip to content

feat(crm-duet): v2 -- braced tests over fns the host mirrors; two drifts found by binding - #4890

Merged
gHashTag merged 1 commit into
masterfrom
claude/crm-duet-v2
Sep 27, 2026
Merged

gHashTag merged 1 commit into
masterfrom
claude/crm-duet-v2

Conversation

@gHashTag

Copy link
Copy Markdown
Owner

Closes #4889

What changed

specs/automation/crm-duet.t27 goes from v1 to v2.

  • Tests. v1 had twelve braceless (inert) tests. v2 has twelve braced tests over seven fns the host mirrors: speaker_at, paid_tool_offered, claim_hit_counts, claim_is_honest, retry_allowed, state_after, business_bot_silent.
  • Roles, not people. SELLER / BUYER are roles (platform-owner, connected-seller) instead of two real people's Telegram ids.
  • Two drifts found by binding, both settled on the spec's side:
    1. The host's negation window exempted a claim word three words after a negation ("bez vsyakikh tochnykh predskazanij"). It now reads NEGATION_WINDOW_WORDS.
    2. The brief's soft paid cap has been two per run since 2026-09-21: one portrait, one reel. PAID_PER_RUN_SOFT is now 2.
  • New vector. state_after(6, 4, false) == "failed". The old vectors (3 of 8 and 8 of 8) passed under the mutation lines < turns.

Evidence

  • t27c test-report: 12 tests, 12 pass.
  • validate-vacuity: 0 vacuous.
  • Negative controls: PAID_PER_RUN_SOFT = 3 fails "the paid cap is soft and says so"; lines < turns fails "a run that broke off…".
  • Seal saved.
  • Bound in 999-multibots-telegraf apps/vibee-editor/render/src/spec/crm-duet.test.ts: 13 host tests, 7 host mutations, all red.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ScHVrGSr6zZUdwkdC8DR9k


Generated by Claude Code

…fts found by binding

Binding v1 in 999-multibots-telegraf found its twelve tests braceless (inert),
its SELLER/BUYER constants two real people's ids, and the host restating the
turn limits, the retry and the discovery gate. v2: seven fns the host mirrors,
twelve braced tests, roles instead of ids.

Two drifts, settled on the spec's side: the host's negation window reached
three words back (now NEGATION_WINDOW_WORDS), and the brief's soft paid cap
has been two per run since the portrait came first (PAID_PER_RUN_SOFT = 2).
state_after gains the 6-of-8 vector the old ones could not tell apart.
12/12, 0 vacuous, negative controls caught.

Closes #4889

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ScHVrGSr6zZUdwkdC8DR9k

phi^2 + 1/phi^2 = 3 | TRINITY
@github-actions

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-09-27 10:49:46 UTC

Summary

Status Count
Total Open PRs 39
PRs with Failing Checks 35
PRs with All Checks Green 4
READY 3
FAILING 35
PENDING 0
NO CHECKS YET 0

These columns do not partition: 3 + 35 + 0 + 0 = 38, and there are 39 open PRs. A PR is being counted twice or not at all.

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=403499176a5d != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

Copy link
Copy Markdown
Owner Author

Local gate. On this head, 7 checks are red. They are the same 7 that are red on master without this change, as noted in #4850 and #4852:

  • gate-topology
  • spec-guards
  • Documented t27c subcommands exist
  • Corpus ratchet
  • duplicate-bodies
  • coverage
  • emit-bitexact

This PR touches one spec, its seal and a NOW entry. What holds locally:

  • t27c test-report: 12/12.
  • validate-vacuity: 0 vacuous.
  • Negative controls fail as they should: PAID_PER_RUN_SOFT = 3 and lines < turns.
  • Host binding in gHashTag/999-multibots-telegraf#3111: 13/13 tests, 7/7 mutations killed.

Generated by Claude Code

@gHashTag
gHashTag marked this pull request as ready for review September 27, 2026 11:05
@gHashTag
gHashTag merged commit b6beb8a into master Sep 27, 2026
25 of 32 checks passed
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.

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

2 participants