Made-up example. Cinco Chaminés is an invented company: the homes, prices, availability and bookings are simulated, and the pictures are AI-generated. The weather, sea, UV and events are real, read live from data.promptugal.news. What is this site?

Cinco Chaminésholiday homes in the Algarve (a made-up example)

Round 3 build: fixes after the review

Rendered at build time from team/rounds/3/build/NOTES-FIX.md. Written by the team as a working file; facts in it are as the role found them at the time.

Written by developer.algarve-holiday-homes@AgentiCCells.dinis, a sub-agent of the conductor, on 19 November 2026 (session clock). Brief: the conductor's list of items from team/rounds/3/review/BUILD.md (M1, M2, M3, S1, S3, S5, S6, S7, S8, S11). Not done here, as briefed: S2, S4, S9, S10. No commit, no push, nobody contacted.

Items

ItemWhat changedFiles
M1"Play the guest" on /agents/: the guest's words now go through principal() (new in sim/abp.js): trusted as the principal's, but instruction-like text keeps its flag. The injection turn is in a new pure module: a refund is tried only when a "refund all" phrase was typed (no amount made up), a guest-list read only when a guest-list phrase was typed, then message.send to the host's assistant. Every one is DENY N-untrusted-instruction, as on /stay/. The assistant's reply is built from the decisions: "My policy refused to act on it or pass it on ... (DENY N-untrusted-instruction, in the log): nothing was done and nothing was sent."src/assets/js/sim/abp.js, src/assets/js/agents-mode/guest-turn.js (new), src/assets/js/agents-mode/agents-mode.js
M2The headline price reads "From EUR X a night (invented)". The build wraps X in <span data-rate-home data-rate-file>; in the browser, X is the simulation's homes[id].rate.base when this browser holds a simulation, else homes.json. Painted on load and on every store change (other tabs too). The site agent's home line, its price slot and the five home answers in agent-script.js ({home:<id>:price_eur_invented}) read the same rate without creating a simulation. The admin's message now says what is true: "Visitors in this browser now see the new base price on the home cards, the home page, the site agent and every quote, in every tab." The five designs under /d/ still show the file's price (not in the brief).src/assets/js/sim/price.js (new), scripts/layout.mjs, src/assets/js/home.js, src/assets/js/house.js, src/assets/js/agent.js, src/assets/js/agent-script.js, src/assets/js/admin/admin.js
M3.modes a.waiting[aria-current] now uses var(--bg) on the ink pill (italic, to show it waits): light #FBF7F0 on #1F2328, dark #16130F on #F2EDE4, both well over 4.5:1. The non-current waiting item keeps --ink-2 on --bg (already over 4.5:1).src/assets/modes.css
S1mountFrame() imports the chrome module directly (a GET); no HEAD request. If the import fails, the stand-in is used as before.src/assets/js/world/frame.js
S3On /stay/, a refused review's DENY now shows beside the review form (#rv-note), not in "Need something?". A message or review the policy refused for instruction-like text is kept in this browser as untrusted, flagged text marked held (never passed on, never published, no scripted host reply, left out of the review averages), and the host's assistant then tries to act on it (refund.issue, share.guest-data or booking.change, as on /admin/) and is logged DENY N-untrusted-instruction beside it. /admin/ Messages and Reviews show "HELD BY THE POLICY" with "INSTRUCTION-LIKE TEXT FLAGGED". Nothing is sent anywhere.src/assets/js/stay/sim-page.js (keepRefused, ownLifecycle skips held), src/assets/js/stay/stay.js, src/assets/js/admin/ops.js
S5The events source line names and links the town's own agenda (Câmara Municipal de Tavira, Teatro das Figuras for Faro, Câmara Municipal de Lagos; addresses as in agent.js, from events-pt read 2026-11-18), on the home pages and /stay/. sourceLine() takes page and pageLabel.src/assets/js/data.js, src/assets/js/house.js, src/assets/js/stay/stay.js
S6The floating "Ask the agent" button is hidden on html.mode-app pages (/stay/, /admin/, /play/, /world/, /agents/); the footer still links to /agent/.src/assets/modes.css
S7/admin/ Today shows "Weather alerts could not be read" with the reason and the source line when IPMA's forecast (or the homes list) cannot be read; nothing while it is still being read. /play/ events legend adds ", from the researched dates: the live file could not be read" when the live events file is missing, as the weather legend does.src/assets/js/admin/admin.js, src/assets/js/admin/ops.js, src/assets/js/play/play.js
S8Date inputs get the 3 px focus ring on :focus and :focus-within (the browser focuses the fields inside a date input, so :focus-visible did not match it).src/assets/site.css
S11Reset also removes localStorage cc.stay.v1 and sessionStorage cc-stay.src/assets/js/modes/chrome.js

Tests

New: tests/round3-fixes.test.mjs, 9 tests:

How it was checked

Not done

Ask the agent (a simulation: pre-written answers, no live model)