Repository navigation
Description
What
A recording harness in this repository that demonstrates F-NoOwnExecution and the bounded execution set, against packages/reference and evaluators/rust rather than against chant.
chant's test/leftness already covers the product comparison against cdk synth. It is not the right instrument for a claim about this specification, for two reasons. It measures one host's lexicon design (F-Host-Interface item 1 says what an entity constructor carries and imposes no bound on what it does, so thin property-holder constructors are a property of chant's generated lexicons and not a guarantee this specification extends to any conforming host). And its estate is required to fully fold — paper/measurements.md states the invariant that "the run fails unless every file reports [fold:fold]" — so it is necessarily a best case and cannot show a fallback.
The reference has no lexicons, which removes the first confound. foldProject takes a map of path to source, which removes the second: the mixed case can be constructed rather than found.
Three panels, one harness
A. evaluators/rust in data-host. Expect zero invocation frames. F-Profile-DataHost (objective.md) states "No constructor and no function is invoked", so this panel makes a rule visible rather than measuring a tendency.
B. packages/reference in full, every file folding. Expect only the frames observables.md names under F-NoOwnExecution: revival of envelopes (F-Val-Fate), F-Eval-CallEager, F-Eval-CallMethod on a real receiver, and under open, invocation of an imported factory (J2 F-Call step 6).
C. packages/reference in full, one file deliberately outside the subset. No recording of a mixed estate exists anywhere in this project or in chant. This panel shows the run path and the taint casualties. spec/fixtures/F-Succ/forward-into-imports/ is already exactly this project — config.ts folds on its own and runs because app.ts runs — so panel C's input is an existing fixture.
Acceptance
- Every frame in panel B maps to a named rule from the
F-NoOwnExecutionlist. An unmapped frame fails the harness. This is what makes the artifact a gate rather than a picture, consistent with how the rest of this repository treats claims. - Panel A reports zero mapped frames, asserted rather than observed.
-
F-Obs-Counters(L10.1:factoryInvocations,projectFactoryInvocations,factoryInterpretations) reported alongside each panel, so each figure is an exact count and not a sample. A CPU-profile figure has a sampling floor; an invocation count does not. - Panel C's per-file verdict map matches the fixture's
verdictsandtentativeexpectation, so the demonstration and the conformance suite cannot drift. - Regenerable from committed inputs, as
test/leftnessis.
Why this and not more leftness
The claim under demonstration is not "less code ran". It is closure: exactly this set executed and nothing else, and every member of the set is admitted by a named rule. A flame graph is the right instrument for that because its completeness is the point.
Related: the counters question for chant's existing table is INTENTIUS/chant (separate issue). Repairing the J3 sketch and modelling J3 are separate issues here.
Activity
lex00 commentedon Sep 15, 2026
Spec 2.1 (#205) removed the first of the two reasons stated above. Recording it here so the harness is not built against a premise that no longer holds.
The issue says:
Item 1 now bounds it: a constructor holds its props and exposes the attributes
attrMapnames, performs no I/O and no network call, reads no file and no environment name, and constructs no entity it was not handed. Thin constructors are a requirement on any conforming host rather than a property of chant's generator.The second reason is untouched and is the load-bearing one.
test/leftness's estate is required to fully fold — "the run fails unless every file reports[fold:fold]" — so it is necessarily a best case and cannot show a fallback. Panel C exists for exactly that and has no substitute anywhere in either repository.A third reason has appeared in the meantime, and it is #177's:
0 MBis what a CPU profile could see, and that instrument has a sampling floor. 2.1 does not change this. A constructor still runs under revival; 2.1 bounds what it may do rather than whether it runs. So the acceptance criterion asking forF-Obs-Countersbeside each panel is now the primary justification for the harness rather than a refinement of it — an invocation count has no floor and states the closure claim directly.spec/rationale.mdsaid the 0 MB row became "a property the specification requires of any conforming host" when 2.1 landed, which conflated the property with the instrument. Corrected on the branch for this issue.Net effect on scope: unchanged panels, reordered emphasis. Panel B's frame-to-rule mapping and the counters are the gate; the reference's lack of lexicons is now a convenience rather than a confound removal.
reference: record F-NoOwnExecution instead of sampling it (#178) (#206)
docs: sentences 0.2.0 at strictness 3, and the five tics it found (#178…