You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
An architecture document can place stores and event buses. agentic.architecture.PartKind has the variant Store and agentic.architecture.Carries the variant Event. A part of block store takes the settings kind (required: record, artifact, key_value, semantic, graph), scope (architecture by default, part beside a per, or external), retention (a duration, run or forever, the default) and, on a semantic store, vectors (supplied by default, or made); a channel part of kind event is a named bus. agenticspec sim check has four new rules, each a gate KPI: a link to a store that carries neither record nor read (store_reach_not_record_or_read, naming the part and the store), a link to, from or over an event bus that does not carry event (bus_reach_not_event), a semantic store with vectors: made and no model_call path to a model (semantic_store_without_model), and an external store a part links to that the egress of the part's sandbox does not name (external_store_not_in_egress, naming the sandbox and the store). sim check --json counts the four rules, and so does every catalog result. The contract gives a store part no port yet. Docs: "Stores and buses" on the architectures overview.
The simulator delivers events over an event bus (R135): an event a part emits onto a link carries: event to a channel part of kind event fires every on_event trigger whose source is that bus, after the bus's new setting delivery_delay (a duration, 0s by default), and the firing is in the run's list of events. Before, such a trigger never fired. A run of an architecture without a bus is unchanged: every committed result.json is the same bytes. The simulator does not model a lost event or a queue's single taker yet: every trigger on the bus receives each event.
Changed
The gate of pages.yml restores the docs site (website/build, keyed by docs/ and website/) and its node_modules (keyed by website/package-lock.json) from the forge's cache, so check:site neither installs nor builds when those did not change: on the forge it took 144 s, 28 s of them npm ci and 13 s the build. scripts/check-site.sh reinstalls when node_modules/.lock.sha256 differs from the digest of the lockfile, where it compared file times.
The gate of pages.yml restores the compiled dependencies from the forge's cache (Swatinem/rust-cache, keyed by rustc and Cargo.lock, saved by runs on main): the first cargo build of the gate took 109 s of `check:fields's 116 s on the forge.
agenticspec sim run and sim score simulate a part that a trigger wakes and that an order or run link also hands tasks (R133); before, such a document was refused with "part X is woken by a trigger, so the order or run link from Y cannot hand it tasks". A free copy takes the firing or the handed task that has waited longest, and the part's per_part splits tasks_started into tasks_started_woken and tasks_started_handed. A part with one input reports what it did before, so every committed result keeps its bytes.
The simulator reads a model part's billing (R134): only a call to a metered model, the default, is priced per token at its route's price; a call to a model on a subscription or with none adds no cost per token, and its tokens are still counted. When a model part sets billing, result.json names the billing of every model part in its per_part entry beside cost_usd ("billing": "subscription"); the result of an architecture that sets none keeps its bytes.
The gate of pages.yml restores the synthesized suite of the whole system (target/system-conform/) from the forge's cache, keyed by the ESS release and the root ess-inputs.yaml, blocks/, packs/ and scripts/check-blocks-conform.sh, as it does for blocks/. Before, every run synthesized it afresh: 249 s of the 17 min the gate took on PR 64.
ESS 0.99.22 is the pinned release (was 0.99.19): every requires: ess, the ESS_VERSION, SHA-256 and blocks cache key of pages.yml and release.yml, and AGENTS.md. It synthesizes 12 more scenarios of the blocks (1027; 1028 with the DefineRoute refusal below, all passing): ApproveDecision's refusal names-other-record, every outcome of RecordWrite, three outcomes of ReviseRecord and SubmitDeliverable's not-an-artifact. Of the whole system it arranges agentic.scm.change.ApproveHead/outcome/review-of-other-head with a review of another change request, so packs/known-synthesis-defects.txt lists it (design/ess-repro/synth-review-of-other-head/); the authored scenario merge-needs-approval-of-head walks it. The binding delete-record-on-approval still has no synthesized scenario (ESS-SYNTH-010), so blocks/known-synthesis-refusals.txt keeps it. ESS 0.99.22 refuses a binder as the operand of a text operator; design/ess-repro/text-operator-binder-read-as-literal/ now shows that refusal, and a writable path or egress host of a sandbox still matches exactly. design/ess-repro/synth-copied-field-guard-beside-two-grants/ shows why agentic.workspace.Propose still accepts a proposal out of a workspace shared read-only: synthesis grants the lease on an Exclusive workspace and expects it read-only.
Breaking:agentic.model.DefineRoute refuses a route whose endpoint serves another model than the one it names (model-not-served, new error agentic.model.ModelNotServed with endpoint_id and model_id); such a route was defined before. Authored scenario blocks/scenarios/model/route-model-not-served.yaml.
Breaking:agenticspec sim check refuses a link to, from or over a channel part of kind event that does not carry event (bus_reach_not_event); such a document was accepted before. No document under architectures/ has one.
Breaking: a trigger reacts with a wake or a command. agentic.trigger.CreateTrigger takes the required input reaction (agentic.trigger.ReactionKind: Wake, today's behaviour, or Command) and the optional command, the qualified name of a command of the blocks as text (such as agentic.store.PutRecord); agent_revision_id is optional. A Wake trigger without an agent revision and a Command trigger without a command are refused as reaction-target-missing, ReactionTargetMissing. A CreateTrigger without reaction is refused, so a caller adds reaction: Wake to keep what it did. condition is typed: an agentic.trigger.Condition, the guard form over the event's fields only (all and any, each a list of Comparison: an event field, an op from Equal, NotEqual, Less, LessOrEqual, Greater, GreaterOrEqual, Defined, NotDefined, and a literal value), no longer text. intake is a list of IntakeField (input: the command's input, field: the event's field), no longer text. A firing names its trigger's command: Firing, TriggerFired and the view Firings carry command. Trigger, TriggerCreated and the view Triggers carry reaction and command, and their agent_revision_id is optional. Authored scenarios blocks/scenarios/trigger/command-reaction.yaml (an OnEvent trigger on agentic.work.DeliverableAccepted that issues agentic.store.PutRecord, with no agent revision) and reaction-target-missing.yaml.