Skip to content

Issue 006: Negotiation context engine#8

Merged
cody257 merged 1 commit into
mainfrom
agent/006-negotiation-context
Apr 28, 2026
Merged

Issue 006: Negotiation context engine#8
cody257 merged 1 commit into
mainfrom
agent/006-negotiation-context

Conversation

@cody257

@cody257 cody257 commented Apr 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a pure negotiation context engine for offer classification, counter-offer math, formatted prices, missing fields, and next-move labels.
  • Reuses the same classification/counter logic inside the legacy deterministic message generator.
  • Adds unit coverage for lowball, counter, close, acceptable, accept, counter math, formatting, and incomplete buyer context.

Test Plan

  • npm run lint
  • npm test
  • npm run test:e2e
  • npm run build

Notes

  • No API calls, secrets, auth, database, or provider wiring included.
  • This is the prep layer for prompt assembly and the hosted model endpoint.

@cody257 cody257 merged commit 042c460 into main Apr 28, 2026
1 check passed
@cody257 cody257 deleted the agent/006-negotiation-context branch April 28, 2026 20:49
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