Expand description
Compiled intent records, BRIDGE lifts, and reusable packet-program lookup.
sim-lib-forge carries the stable data records that name a prose intent,
the normalized source content, the compiled BRIDGE packet content, and the
verification state that controls reuse. Its lift paths ask a model for a
candidate BRIDGE packet, verify the packet locally, and keep the artifact in
Candidate state until separate semantic checks or human approval promote
it. The intent library is a named index over those content ids, so golden
artifacts can be fetched instead of recompiled.
Structs§
- ArmMetrics
- Metrics aggregated for one eval arm.
- Compiled
Intent - Named, versioned wrapper around a structurally checked BRIDGE packet.
- EvalArm
- One eval arm configuration.
- Eval
Case - One committed FORGE eval case.
- Eval
Cassette - Deterministic cassette rows for one eval case.
- Eval
Playback - Recorded model answer and token cost for one deterministic eval playback.
- Eval
Report - Eval report across all requested arms.
- Forge
Lib - Loadable FORGE command library.
- Forge
Resolver - Stateful FORGE resolver with an intent library index.
- Frame
Spec Proposal - Candidate frame specification inferred from prose that has no registered frame.
- Intent
Library - Named index for compiled intent artifacts.
- Lift
Options - Options for one FORGE prose-to-packet lift.
- Route
Attempt - One target attempt made by the router.
- Route
Policy - Cost-aware route policy for a compiled intent call.
- Route
Provenance - Provenance for the routed answer.
- Route
Target - One eval target in a cost-ordered route ladder.
- Routed
Answer - Answer plus route provenance and attempt details.
- Verify
Catalog - Local catalog binding verifier ids, probes, and cited ground truth.
- Verify
Failure - One failed semantic verifier.
- Verify
Probe - Concrete case that proves a compiled intent against required verifiers.
- Verify
Report - Semantic verification result for one answer or probe set.
Enums§
- Intent
Status - Verification and approval state for a compiled intent artifact.
- Probe
Oracle - Oracle backing a concrete verification probe.
- Promote
Policy - Promotion rule applied after a resolve miss lifts a fresh candidate.
- Route
Attempt Status - Status for one route attempt.
- Verifier
- Semantic verifier registered for a compiled intent.
Statics§
- RECIPES
- Cookbook recipes embedded from this crate’s
recipes/directory.
Functions§
- approve_
frame_ proposal - Registers a human-approved proposal in
bookand returns the new book id. - assert_
return_ shape_ parses - Verifies that a compiled packet declares a parseable return Shape.
- forge_
entrypoint_ symbol - Entrypoint symbol claimed by the loadable
forgecommand library. - forge_
lift_ frontier - Compiles prose into a checked candidate packet by authoring one BRIDGE part at a time through the shared frontier menu.
- forge_
lift_ once - Compiles prose into a structurally checked candidate BRIDGE packet artifact.
- forge_
resolve - Resolves prose through an empty in-memory intent library.
- forge_
resolve_ with_ options - Resolves prose through an explicit library and lift options.
- forge_
verb - Runs the FORGE command verb and returns a structured report expression.
- normalize_
prose - Normalizes prose into the byte-level source identity used by FORGE.
- propose_
frame - Proposes a typed frame spec for prose that has no registered frame.
- proposed_
frame_ part - Builds a normative frame part from an approved proposal and matching prose.
- run_
eval - Runs the corpus against the requested eval arms.
- run_
intent_ routed - Runs a compiled intent through a cost-aware route ladder and returns only the accepted decoded answer.
- run_
intent_ routed_ report - Runs a compiled intent through a cost-aware route ladder and returns route provenance with the accepted decoded answer.
- standard_
eval_ arms - Returns the standard FORGE eval arms.
- standard_
eval_ corpus - Returns the committed network-free FORGE eval corpus.
- store_
packet_ artifact - Stores a BRIDGE packet artifact in the context datum store and returns its canonical packet content id.
- verify_
answer - Runs semantic verification with an empty catalog.