Every ticket as the root of its provenance graph — goal, patch, approval, runs and (as the ticket-class build lands) mandate, manifestations, guarantees, journey, artifacts and children. Rendered through the <<<TicketGraphList>>> tag.
Build: forge_refactor_ticketer.py — instrument that enumerates EVERY unique forge module and issues a behavior-preserving rewrite build-ticket per module
goal
THE SCRIPT (instrumentation) that files the refactor tickets so a human never hand-files thousands. It: (1) walks every forge bare repo (config/forge/remotes/*.git) at HEAD and enumerates every source file; (2) DEDUPLICATES to UNIQUE modules — content sha256 + AST-normalized identity (reuse the resolver/dedup #193/#194 and omni-git blob index) so copy-pasted modules across repos share ONE rewrite ticket, not N; (3) for each unique module, ticket.create a BUILD ticket per the refactor standard (#std): 'Rewrite <module> as entirely new, behavior-preserving, installable, control-config'd Python' — carrying the source location(s)/repos, the captured behavioral exemplars, and a spawned edge from #std; (4) is IDEMPOTENT — never re-files a module already ticketed (track by module-sha in a ledger table); (5) is BATCHED + SELF-REPOPULATING (forge is hundreds of repos / thousands of files): process a bounded batch per run, record the high-water-mark, and SPAWN its successor (the #196 pattern) so it drains the whole forge over many scheduled runs without one giant run; a stop ticket aimed at the chain is the brake. Instrumentation: telemetry per step, Variant-A bug report on any unexpected outcome, pure-python, registry-gated. ACCEPTANCE: run on a SUBSET of forge -> one behavior-preserving-rewrite build ticket per UNIQUE module (copies share a ticket, verified), each ticket references the source + #std + control-config + installable requirements; a re-run files ZERO duplicates; the run spawned a successor primed for the next batch.
patch
none
approval
unapproved
runs
no runs recorded
mandate (clauses)
not yet recorded — lands with the ticket-class build
manifestations
not yet recorded — lands with the ticket-class build
guarantees
not yet recorded — lands with the ticket-class build
journey (blunders & successes)
not yet recorded — lands with the ticket-class build
artifacts (forge)
not yet recorded — lands with the ticket-class build