Status: done (2026-11-16)
Priority: 1
Size: M
Design ref: AGENTS.md, Deciding without Kim (16, the hard rule); design.md, Exchange, goodwill and obligations (The gift)
Goal: One offer verb and one answer verb, a table of bases, and the settling that follows a yes (the right at once, the goods set aside where they lie, a fetch or a carry posted); the marriage offer and the gift go through it with behaviour unchanged.
Acceptance criteria:
st (rule 4), with its owner in src/owners.json, its invariants and its place in the save; a lapsed or answered offer leaves the queue (rule 1).offer and answer are verbs any pawn issues; an unplayed pawn answers once, when the offer falls due, by its basis’s rule, which is that pawn’s own judgement; the played pawn is asked and answers as it likes, with its pawn’s judgement shown as advice (the player’s exemption from floor and allowance is this, restated: Kim, 16 Nov). Only yes or no; a counter-offer is the player’s alone, as a new offer the other way.carryGift, the carrier taking the grain at the start and
walking it there; a gift with no carrier is settled as before, which same requires). Moving the settle onto VB-461’s custody is VB-861.st.offers, sim/lifecycle) and give (sim/commands, sim/exchange) are moved onto it; node tools/same.js --base REF prints same with no played pawn. tests/commands.js covers both verbs.sim/offers (social layer, loaded before sim/exchange): owns st.offers and st.offerSeq (moved from sim/lifecycle in
src/owners.json). An offer is {id, from, to, basis, gives, wants, made, due, answers[]} plus its basis’s fields (parties of goods,
a match’s village), kept in due order; one answered at once is never kept and takes no id (so with no player the queue stays empty,
as before). make draws up the answers, the unplayed answer at once when it is due now, the played pawn’s window extends due by the
basis’s wait; dueOffers (the clock’s day-end entry, now owned by sim/offers) answers what is still open by each pawn’s judgement.Offers.BASES, each row contributed by the module whose rules weigh it (Offers.basis(name, row), at load):
gift and ask in sim/exchange (floor and allowance through assessGift; a yes books goodwill through receive), match in
sim/lifecycle (the round’s rules; unplayedNo; a yes marries, and past the round brings the handover). A row: books, wait, check,
answers, weigh, settle, and optionally refused, lapsed, opened.offer (any living pawn; given answer keys only from the round, for the played pawn’s wish), answer (any
living pawn with an answer still to give; the player-only check is gone), give (the gift’s shorthand, kept for sim/help and the
page: it makes a gift offer), and deliver (source ‘offer’ only: what a yes settles; wraps settleGift and carryGift, so
tests/commands.js’s static check still holds).offer from the man’s spokesman to the woman’s (source ‘round’); the at-once yes marries through
marry as before; the handover of a match answered later follows as before.refusedUs -0.1 for the one refused, refusedThem -0.05 for the one who refused; new
SOCIAL.memories) and an offerRefused event is told; a match keeps its existing rule (the spokesman remembers refusedMatch), which
same requires.A gift is offered, You are asked, A match is offered) with the pawn’s own answer as
advice (“Anders Björnsson would answer yes”, principle 14); the action bar’s row is generic. Screenshot: docs/img/vb690-offer.jpg.man, woman, home) is read as the basis match.HELP.answerDays 1 (the played pawn’s window for goods). New counter: offerWeighed.HELP.answerDays); unanswered, its pawn’s judgement answers (a gift is taken). A
match left unanswered is now answered by the pawn’s judgement too (before: yes); the same unless the pawn is at enmity.{household}, {village}): VB-691 and VB-673
give them a pawn (the head, the alderman).node tools/same.js --base 27b1f30: same (founders, heirs, seeds 7 and 42, tiny, 2 years); and --scenario populous --years 3: same.offerWeighed added at 0 to tests/counters.json; the two counters out (heirRank, roundRank) are out on the base as well.npm test 56/56; npm run verify 120/120, 8 targets out, as on the base (27b1f30); node tests/smoke.js passes.