Status: done (2026-11-18)
Priority: 2
Size: S
Design ref: AGENTS.md, Deciding without Kim (15); design.md, People, households and family records
Goal: Wherever a person is shown in relation to another, the portrait carries the bond as an icon, the same icon everywhere, with the word as its label.
Acceptance criteria:
src/page/icons.js): the five kin bonds the simulation names (spouse, parent, child, sibling, housemate) and the four opinion bands (close friend, friend, dislikes, enemy); the word is the icon’s label (husband, mother, enemy).faceImg(id, cls, of) (src/page/portraits.js): the portrait of id as seen by of carries a kin badge and, where the opinion is not neutral, an opinion badge; without of it is drawn as before. The page only reads (Sim.standing, Sim.opinionOf, Sim.opinionWord).tests/browser-bonds.js, extended tier).No change to the simulation: node tools/same.js --base REF prints same.
standing in the simulation; VB-703 renames it to bond, the word the page uses here already.src/page/icons.js: BOND_PATHS and bondIcon, nine icons: spouse (the two rings of the mood’s married), parent (an elder with a staff), child (the swaddled child of the mood’s child), sibling (two of one branch), housemate (two under one roof); friend (a heart), close friend (the heart filled), dislikes (the heart struck through), enemy (crossed blades).src/page/portraits.js: bondsOf(of, id) reads Sim.standing, Sim.standingWord, Sim.opinionOf and Sim.opinionWord; faceImg(id, cls, of) wraps the portrait and its badges in .bonded. Kin sits at the lower right, the opinion at the upper right, green or red by its band; the word is the badge’s label and title. The dead keep their kin badge and have no opinion badge.src/sim.js: the facade gains standing, which sim/relations already exported (the facade is not counted for width). No simulation change.src/page/words.js) and on the spouse’s chip (pawnChip(id, as, of), src/page/cards.js). The row keeps its words beside the badge: the word is the icon’s label (principle 15).friend, since two figures at 11 pixels read as the sibling’s. Only the nine bonds the simulation already names: wider kin is a task of its own.node tests/browser-bonds.js (new, extended tier): the spouse’s chip and her Knows best row say wife; he is her husband; a portrait for nobody has no badge; the opinion badge and its tone at both ends; one icon a bond.npm run verify: 187 of 187. node tools/same.js --base 7055532: same.