# Independent Map Advisor regression acceptance — 2026-10-16

Scope: independently retest Claude's show-location and station-coordinate changes on PR #210, then repair observed failures. Delivery remains `dev-chen → master`; no merge or production deployment.

## Baseline and environment

The exact baseline is remote `dev-chen` at `dd2efce7c7b6f50bf1d6b823140f3e5901b1c166`, including Claude's three commits. Its tree was verified identical in the local Herd source checkout before changes. Baseline checks passed: 367 PHP tests / 3,264 assertions and 116 frontend tests. Passing these checks did not prevent the browser and real-model failures below.

Actual application: `https://petav3.test/property/research?mode=advisor`, OpenAI `gpt-4.1`, existing local Super Admin configuration. No local model, credential changes, production writes or new packages. PHP regressions use a separate testing database. Cloud replays call the application's real workspace/orchestrator services; browser turns use the page's real HTTP/SSE flow. No cloud responses are mocked in these acceptance runs.

Projects are the existing, clearly labelled `LOCAL TEST` synthetic snapshot (`synthetic demo` precision). These tests prove retrieval/card/map behavior, not real listings, prices, rental availability or production coverage. Station coordinates remain the previously sourced area references; Taman Midah's recorded coordinate gap is preserved.

The first baseline replay used two category labels different from the UI defaults. The repaired/final replay uses the actual seven UI categories; the condo-specific cases use the same explicit Condo/Apartment filter throughout. Therefore this report makes no strict numerical baseline-vs-final model-score claim. Raw failed attempts are retained.

## Observed defects and repairs

| Observed failure | Repair and acceptance |
| --- | --- |
| Explicit purchase/search-area phrases, office corrections and moved-home declarations were omitted from saved requirements. A query could search Kajang while later recalling Cochrane. | Parse explicit English/Mandarin/Malay declarations and corrections, strip budget/instead suffixes, preserve separate home/work/search area and rent/purchase basis. Original browser four-turn sequence now recalls Kajang MRT. |
| Selecting the former/latter comparison candidate could query correctly but leave the search area unsaved. | Resolve only explicit search-selection requests against this conversation's verified two-origin comparison, ordered by the buyer's question; explanations, negations and hypotheses do not change the brief. |
| A work-change guard replaced an explicitly requested Kajang origin with the saved home; inferred commute could use a buying area as the office. | Narrow the multi-access-home repair, preserve explicit and comparison endpoints, and keep a newly stated office separate from the candidate area. |
| Compound requests omitted the requested requirements summary or the requested conditions-first ordering. | Include the saved-brief evidence section when explicitly requested, preserving other useful evidence and requested ordering. |
| Missing Taman Midah coordinates were not clearly disclosed alongside a working connection. | State which endpoint cannot be marked while still answering sourced connectivity. No invented position or walking time. |
| Old station and phone map buttons used current results; old projects could lose their markers. | Answer-owned temporary previews include that answer's stations/projects; current brief, result and saved scene remain unchanged. |
| A new zero-match search left an old property detail/popup visible. | Clear inspection/focus and popup state; comparison selections remain separate. |
| Multi-station results attributed all distances to one station. | Keep each project's distance and its station/radius together; cards and claims use that origin. |
| Mobile map focus could run while hidden; restoring the same cached result could retain a preview. | Defer focus until the Map tab is visible, guard preview identity, and explicitly clear previews on restore. |

## Real-cloud acceptance

Exact inputs: [INDEPENDENT_SHOW_LOCATION_CASES.json](INDEPENDENT_SHOW_LOCATION_CASES.json). Six four-turn groups plus one compound search: 25 distinct questions. This is a fixed regression suite, not a general intelligence benchmark. Earlier failed attempts and targeted reruns are distinguished in the evidence. The accepted set is `final-rerun-a.json` plus `final-b/c/d/e/f/g.json`: all 25 distinct questions pass semantic review after staged fixes and reruns. The earlier `final-a.json` A4 validation failure is retained; this is not a first-attempt 25/25 claim.

| Group | Coverage | Final evidence |
| --- | --- | --- |
| A | Taman Mutiara / Bukit Bintang / Sri Raya; office → Pasar Seni; “there” refers to buying area; home → Maluri plus summary | `final-rerun-a.json`, four completed turns; A4 also repeated in browser |
| B | Chinese comparison of Taman Pertama and Bandar Tun Hussein Onn; latter/former selection; work → Merdeka; RM2,400 rent and conditions first | `final-b.json`, four completed turns |
| C | Malay Sungai Jernih / Muzium Negara / Semantan; search → Phileo Damansara; purchase → RM2,300 rent; route plus four-field recap | `final-c.json`, four completed turns |
| D | Unknown project; explicit Taman Midah origin; missing marker coordinates; no invented walking time | `final-d.json`, four completed turns |
| E | Explicit condo purchase; Cochrane → Kajang; work correction; exact four-field recall | `final-e.json`, four completed turns; repeated in browser after the saved-area fix |
| F | Sunway Velocity home retained while explicitly querying Kajang and comparing Kajang/Maluri; final recall | `final-f.json`, four completed turns |
| G | Cochrane + Pasar Seni condo search; per-project distance origins and both map centres | `final-g.json`; browser shows four cards, two centres and four project markers |

Unavailable rental inventory and zero recorded matches are valid disclosed results. They are not proof that no homes exist. Browser D also explicitly confirms useful rail connectivity alongside the missing-origin marker notice.

## Browser acceptance

Actual browser, desktop 1440×900 and phone 390×844. Screenshots and DOM records are retained locally, including the baseline failures.

- Exact explicit-buy question returns three Cochrane condo cards immediately. Clicking card B focuses B and shows B's price/detail popup.
- Switching to Kajang with the same budget/type returns zero recorded matches and removes the old property detail and popup.
- Clicking the older Cochrane station shows its orange marker and project markers while the current search scope remains Kajang.
- On a phone, tapping an old project from Chat opens Map focused on that project. Closing its details removes the popup. After viewing Kajang, the old answer's bottom `View on map` returns to Cochrane and its projects.
- The final four-turn E replay recalls Sunway Velocity / Pasar Seni / Kajang MRT / RM500,000 purchase / Condo/Apartment after those changes.
- In a separate four-turn browser conversation, Taman Mutiara / Bukit Bintang / Sri Raya remain separate; office correction updates Pasar Seni, “there” routes from Sri Raya, and a move to Maluri ends with the correctly updated four-field summary.
- A compound Cochrane/Pasar Seni search shows per-station distances on all four cards; the Pasar Seni card selects that project; `Show all on map` fits both centres and all projects.
- Chinese unknown-address / Taman Midah request answers the line and explicitly discloses the missing origin marker. No page console errors observed in the checked session.

## Automated verification and review

- Final isolated PHP suite: **446 tests / 3,803 assertions passed**. Existing PHPUnit XML deprecation remains.
- Frontend PropertyLab scope: **122 tests across 20 files passed**; final client and SSR builds passed.
- Changed-file Pint, `git diff --check`, migration-constant, suite-link and test-double guards passed. Suite-link baseline remains 67.
- Learning-content guard still fails on stale `how-to.json` / `how-to.en.json`, previously reproduced from unmodified master `9808c526`; these files are unchanged.
- GitHub Actions at baseline `dd2efce7` could not start jobs: account payment/spending-limit restriction. Remote CI is not claimed green; check the current PR run before merge.

Independent code reviews cover the backend, reference selection and frontend changes, including negative controls and mobile/cached-result edge cases. No remaining blocking findings in the reviewed patches.

No migration, dependency or environment variable was added. Credits, Super Admin exemption, permissions and other modules' limits are unchanged. Existing production prerequisites and limits in [DEPLOYMENT.md](DEPLOYMENT.md) still apply. No new acceptance video is claimed; this independent run records full responses, DOM records and screenshots.
