gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd56ee0dad56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemred56ee0da/reports/T36A.md

6.1 KB

  1. # T36A — stopped before live apply
  2. The mission was stopped during phase 1 because a fake-data reproduction proved that the apply step can switch to a TMDB entry whose name and year no longer match. The mission explicitly says to stop and report on any surprise. Nothing live was changed, stopped, restarted or deployed. No token was read. No push, ticket, LOG or STATUS write was made.
  3. Branch: `t36a`. Worktree: `/media/STORAGE/claude-scratch/tracker/T36A/wt`. Base: `08e552554df108d96bcdd594e888dc87ae317c05` (main at worktree creation). Main's `bin/` was copied with `cp -a`. The permitted T36 files already exist on main; comparison with branch `t36` showed that the tool/library also carry newer explicit reference arguments. They were retained without reverting those changes. The release-date change from `297288f4e292c8448e00f5c52f8f79a4f9bcdbf0` is present.
  4. ## Reproduced blocker
  5. `tools/tmdb-fix.hl`, `runApply36`, checks only whether fetching the proposed new TMDB ID failed. A successful HTTP response leads directly to `showsTable.update`; it does not compare the returned name/year with the title being switched. This contradicts the ticket's approved condition that a switch has exactly one match with the same name and year, and the tool's statement that apply rechecks that the new ID still holds.
  6. Reproduction uses the existing fake TMDB gate, with one extra assertion and one changed fake response immediately after the dry run creates its plan. The dry run plans `Gone Unique` (2015), TMDB `104` to `204`. Before apply, fake `/3/movie/204` is changed to title `A Completely Different Movie`, release `1999-01-01`. The apply nevertheless prints:
  7. ```text
  8. applied tmdb Gone-Unique: tmdb 104 → 204
  9. tmdb fix (apply) done: planned=4 applied=4 (year=2 tmdb=2) skipped=0 failed=0
  10. ```
  11. The new assertion fails. The subsequent dry-run assertion also fails because the incorrectly switched record is now a name/year mismatch. Reproduction result: **27 pass, 2 fail**. This is an application-tool defect, not a demonstrated Hybriel framework gap; no framework workaround was attempted.
  12. Evidence in `/media/STORAGE/claude-scratch/tracker/T36A/`:
  13. - `t36a-repro.mjs`: the complete fake-data regression script derived from `tests/tmdbfix.mjs`.
  14. - `repro-gates.sh`: runner, with scratch storage/cache and port `8717`. Replay only with `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash /media/STORAGE/claude-scratch/tracker/T36A/repro-gates.sh`.
  15. - `repro.out`: failing regression output.
  16. - `log-tmdbfix.txt`: original gate, **28 pass, 0 fail**.
  17. - `gates.sh` / `gates.out`: CB-based gate runner and output. The browser gate was interrupted when the blocker was confirmed; no all-gates-pass claim is made. All gate execution was under the shared gates lock.
  18. Further source-review concerns, not separately reproduced: year apply parses the planned old year but does not use it to reject a changed record; ID apply does not recheck current ownership of the new ID; dry-run does not reserve a target ID when adding a planned switch. These need review before resuming an unattended apply.
  19. ## Requested operational results
  20. Fresh real-data plan: **not generated**, so year/ID counts and comparison with the old **58 = 49 years + 9 IDs** are not available. The four changes above are synthetic test fixtures only. Live applied: **0**; live skipped/failed: **not run**. No real watch/follow audit was performed. The Boys and two year fixes were not checked on a real-data copy.
  21. Backup: **no T36A backup created**; gzip and hardlink checks were not run. No live backup was restored. At inspection, DP65's required `/media/STORAGE/claude-scratch/tracker/DP65/REPORT.md` did not exist and `deploy/run-dp65.out` ended in the backup step without `deploy-exit=0`. Phase 2 conditions were therefore not established; no deploy lock was acquired.
  22. Downtime start/end: **none caused by T36A**. Outside probe: not started; 5xx/000 counts: **not measured**. Live page checks (`/shows`, `/movies`, `/100sp`, switches and years), boot completion, error/LockTimeout log checks and restart count: **not performed**. Chrome: **not used**, no tab or tunnel opened, no Chrome page list obtained. No real-data copy was created. All fake storage copies were deleted after reproduction.
  23. Caramboleyo's unresolved list was not modified. Its current counts were not recalculated. The existing `docs/tmdb-check-unfixable-2026-10-30.md` remains the prior list; duplicates, multiple matches and other listed cases received no live changes.
  24. ## Continuation
  25. Fix and gate apply-time name/year validation and record preconditions, review duplicate-target protection, then restart phase 1 from the fresh-copy step after all required gates pass. Complete the full fresh dry run, copy apply/reapply/post-dry-run, list comparison, watch/follow audit and app proof. Only then establish every DP65 condition and perform phase 2 with the required stopped-app backup and rollback procedure.
  26. DOCS: Read mission T36A, CONDUCTOR.md (including sections 5 and 6), CONDUCTOR-BASE.md, archived WORKER-RULES.md and RULINGS.md, HL-PRIMER.md and CODE-ORDER.md; read ticket #36 with the required headers and branch t36's report. No product `.hl` code was changed. No COMPONENTS section was named in this command-line-tool brief. No language/framework documentation gap was established.
  27. ## Cleanup and request accounting
  28. Stopped by numeric PID after checking each cwd was in this scratch directory: gate shell **3822022**, browser gate Node **3823539**, its fake ident runtime **3823551**, and tracker runtime **3826864**. The original tmdbfix gate and regression gate exited normally, including their fake HTTP servers. `stopped-gate-pids.json` records the commands and cwd values. A final `/proc` scan found **0** processes whose cwd starts with the T36A scratch path (`remaining-pids.json` is `[]`). No owned listener, browser or tunnel remains. Synthetic `gate-storage`, `repro-storage` and the worktree's `.scratch` were deleted; logs, repro and worktree remain for review.
  29. Approximately 18 tool requests covered instructions/source review, worktree setup, gates, the fake-data reproduction and cleanup/reporting. The mission stopped on the reproduced surprise before any real-data or live phase.

Branches

Latest commits

  • d56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemre
  • 08e55255log: HM56 done, T36A startedmre
  • 5fd2ac75status: #36 GOmre
  • 0d253b45mission: T36Amre
  • 2aa22d23log: #36 GOmre
  • 833aee2flog: #50 closed, HM56 startedmre
  • ac58c1e5mission: HM56mre
  • 58979c0clog: HM54 held for decision, DP65 startedmre
  • bb2ebc67log: #64 live, #53 mergedmre
  • 27cde42fMerge hm53-dom: tracker#53 inputs bound to membersmre
  • 2156cc7flog: HM54 reviewmre
  • 9fb82efclog: HM54 gap, fill continuesmre
  • b632eb8dlog: HM53 done, HM54 startedmre
  • ccb1a263tracker#53: bind editor drafts and use key event focus targetmre
  • 3356fcfclog: #52 blocked, HM53 startedmre
  • 833dcfc9Merge hm52-search: report only, tracker#52 blocked by framework gapmre
  • 73010cc0HM52: report replace-navigation search draft regressionmre
  • 1742e92bstatus: DP64 and HM52 runningmre
  • 29ad5b58log: #64 merged, DP64 and HM52 startedmre
  • fafddbf9Merge hm64-catalog: tracker#64 catalog from packed entriesmre