Skip to content

Record F-NoOwnExecution against the reference and tsad-eval, including a mixed estate #178

Closed

Description

@lex00

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-NoOwnExecution list. 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 verdicts and tentative expectation, so the demonstration and the conformance suite cannot drift.
  • Regenerable from committed inputs, as test/leftness is.

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

  1. lex00 commented on Sep 15, 2026

    @lex00
    ContributorAuthor

    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:

    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

    Item 1 now bounds it: a constructor holds its props and exposes the attributes attrMap names, 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 MB is 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 for F-Obs-Counters beside 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.md said 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions