oficina / equipo Public

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

Plain git — no account needed to clone.

Download

Download this file

Changed-file facts follow-ups

Branch changes/facts-followups, fresh worktree from main 478e0055. No new copy, server routes, runner protocol, or merge-authority changes.

The Changed files tab retains the last detail facts while a newer list revision for the same candidate is being read. The task's status and action rules still use the current revision; stale detail facts never enable a stale action. A different candidate drops the displayed facts immediately. A completed detail read replaces the retained facts, including a response without facts. A failed read leaves same-candidate facts visible alongside the existing read failure.

Both path validators reject U+061C through the shared change-paths.json fixture. Other valid format characters, including ZWJ emoji names, remain accepted.

Verification

Only focused tests run locally while the shared Mac is loaded. No simulators or fixture apps are started. Go uses GOMAXPROCS=2, GOTOOLCHAIN=go1.26.11, CGO_ENABLED=0 and -p 1. Swift uses --jobs 2 and named test filters.

Test-first: TestChangePathSharedCases failed for U+061C before the Go validator change, then passed. Native tests cover a suspended detail read, candidate change, failed read, completed replacement and missing-facts fallback; all three non-truncated totals; grouping at 9, 10 and 11 files; and malformed optional change_files objects, arrays, scalars and nested fields without losing the step.

Native red run failed the U+061C path/rename cases and the three same-candidate retention assertions. The implementation then passed all 15 focused tests in the ChangeFilesTests and ChangeFilesRefreshTests suites. The read fixture uses continuations to hold and finish a real model request; it has no timing sleeps. No screenshot is needed to prove the pending-read behavior, and no simulator was started.

Commands:

  • go test -p 1 ./internal/wire -run '^TestChangePathSharedCases$' -count=1 with the Go environment above: red, then green.
  • swift test --package-path native/apple --jobs 2 --filter 'ChangeFilesTests|ChangeFilesRefreshTests': red, then green.
  • Each mutation runs only its named test with the same Go/Swift limits; the mutation script restores each source file in a finally block.

All eight mutations were killed:

  1. Remove the non-truncated totals equality check: all three totals fail.
  2. Group lists shorter than eleven files: the 9/10-file assertions fail.
  3. Delay grouping until twelve files: the 11-file assertion fails.
  4. Throw on malformed change_files instead of dropping the optional field: the step-decode regression fails.
  5. Accept U+061C natively: shared path and rename-source assertions fail.
  6. Drop retained facts during the next detail read: pending-read assertions fail.
  7. Retain facts after the candidate changes: candidate-change assertion fails.
  8. Accept U+061C in Go: TestChangePathSharedCases fails.

Individual commands, failure logs and results are archived under site/build/slice5/followups/validation/. Full local suites and simulator runs are intentionally omitted under the controller's machine-load ruling; Linux CI is the final gate. The focused suites are rerun after restoring mutations.

Final restored-source results: the two focused Go tests passed (0.216s), and all 15 focused native tests passed (0.289s). No new copy or outstanding copy questions. No runtime processes or simulator resources were created.