DETERMINISTIC CONVERSION ENGINEERING
PyCForge uses privately namespaced Ting Reasoner 0.1.0a21 to review bounded structural evidence for new Python-to-C conversion profiles. The agents are declarative, reproducible, and independently replaceable.
| Role | Question that must close |
|---|---|
| Syntax | Are the source shape, annotations, and resource bounds admitted? |
| Semantics | Are evaluation order, exceptional paths, and scope lifetime preserved? |
| Ownership | Are representation, aliases, allocation, and cleanup exact? |
| Lowering | Are the lowerer, helper closure, and typed C IR registered and valid? |
| Verification | Do differential, compiler, diagnostic, and documentation records exist? |
| Capability | Are the provider and symbolic runtime strategy registered, with a valid signed-64 resource ceiling? |
The five core roles are mandatory. Capability is the sixth shipped typed agent. Additional role files may be appended to the registry without changing coordinator code. Every agent executes in a fresh engine under finite matching and firing budgets.
After every converted or rejected workspace request, PyCForge constructs a source-free evidence envelope and evaluates all six agents. The status-bar Ting control opens one overview tab plus one read-only tab per agent in a terminal-oriented dialog. Each agent tab shows required evidence, closed gaps, run status, firings, matching work, proof edges, and authenticated Compact-IR digests. The Flow Map button beside Previous Agent opens a live graphical view of that exact review: the source-free evidence envelope fans out to six independently evaluated agents, whose current decisions and bounded proof counts fan back into one immutable advisory report. Opening the map from an agent tab highlights that role.
Ting receives a structural candidate identifier, a symbolic construct kind, and named Boolean, signed-64 integer, or bounded symbol values. It does not receive source text, a Python syntax tree, callable objects, import paths, or open-ended payloads. Missing or mistyped evidence fails closed.
Each role has an editable .tingspec.json review source with
exact embedded tests and a precompiled .ting Compact-IR artifact.
registry.json fixes role order, source and artifact digests,
schema identities, rule/test counts, and the Ting runtime contract.
python -m tools.validate_ting_agents
The source-tree command is read-only and runs every embedded rule test.
There is no write or skip-tests option. The installed wheel contains the
bounded .ting Compact-IR loader/parser and verifier required to
authenticate, decode, materialize, and execute the precompiled artifacts. It
does not contain review sources, the authoring-side RuleSpec source parser,
the Compact-IR compiler, builder, console, or Ting command entry point.
The current policy evaluates every registered agent, even after another agent reports a gap. Inside each rulepack, schema partitioning and exact-match indexes prune irrelevant candidates; range decisions retain a bounded scan. Each report exposes index probes, scanned rows, logical work, and proof edges. Missing evidence and exhausted budgets reject.
Ting makes this extension protocol modular; it does not make arbitrary dynamic Python semantics disappear. A feature remains unsupported until its lowering or runtime model can preserve those semantics explicitly.
See Contract identities, Diagnostics and results, and Safety and resource limits for the surrounding release boundary.