oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1# Changed-file facts follow-ups
2
3Branch `changes/facts-followups`, fresh worktree from main `478e0055`.
4No new copy, server routes, runner protocol, or merge-authority changes.
5
6The Changed files tab retains the last detail facts while a newer list revision
7for the same candidate is being read. The task's status and action rules still
8use the current revision; stale detail facts never enable a stale action.
9A different candidate drops the displayed facts immediately. A completed detail
10read replaces the retained facts, including a response without facts. A failed
11read leaves same-candidate facts visible alongside the existing read failure.
12
13Both path validators reject U+061C through the shared change-paths.json fixture.
14Other valid format characters, including ZWJ emoji names, remain accepted.
15
16## Verification
17
18Only focused tests run locally while the shared Mac is loaded. No simulators
19or fixture apps are started. Go uses GOMAXPROCS=2, GOTOOLCHAIN=go1.26.11,
20CGO_ENABLED=0 and -p 1. Swift uses --jobs 2 and named test filters.
21
22Test-first: TestChangePathSharedCases failed for U+061C before the Go validator
23change, then passed. Native tests cover a suspended detail read, candidate
24change, failed read, completed replacement and missing-facts fallback; all three
25non-truncated totals; grouping at 9, 10 and 11 files; and malformed optional
26change_files objects, arrays, scalars and nested fields without losing the step.
27
28Native red run failed the U+061C path/rename cases and the three same-candidate
29retention assertions. The implementation then passed all 15 focused tests in
30the ChangeFilesTests and ChangeFilesRefreshTests suites. The read fixture uses
31continuations to hold and finish a real model request; it has no timing sleeps.
32No screenshot is needed to prove the pending-read behavior, and no simulator
33was started.
34
35Commands:
36
37- `go test -p 1 ./internal/wire -run '^TestChangePathSharedCases$' -count=1`
38 with the Go environment above: red, then green.
39- `swift test --package-path native/apple --jobs 2 --filter
40 'ChangeFilesTests|ChangeFilesRefreshTests'`: red, then green.
41- Each mutation runs only its named test with the same Go/Swift limits;
42 the mutation script restores each source file in a finally block.
43
44All eight mutations were killed:
45
461. Remove the non-truncated totals equality check: all three totals fail.
472. Group lists shorter than eleven files: the 9/10-file assertions fail.
483. Delay grouping until twelve files: the 11-file assertion fails.
494. Throw on malformed change_files instead of dropping the optional field:
50 the step-decode regression fails.
515. Accept U+061C natively: shared path and rename-source assertions fail.
526. Drop retained facts during the next detail read: pending-read assertions fail.
537. Retain facts after the candidate changes: candidate-change assertion fails.
548. Accept U+061C in Go: TestChangePathSharedCases fails.
55
56Individual commands, failure logs and results are archived under
57`site/build/slice5/followups/validation/`. Full local suites and simulator runs
58are intentionally omitted under the controller's machine-load ruling; Linux
59CI is the final gate. The focused suites are rerun after restoring mutations.
60
61Final restored-source results: the two focused Go tests passed (0.216s), and
62all 15 focused native tests passed (0.289s). No new copy or outstanding copy
63questions. No runtime processes or simulator resources were created.
64