Repository navigation
Releases
agenticspec 0.8.0
Added
-
Endpoints, a tool reached through one, and a sandbox's secrets. An architecture document may name the destinations outside it under
endpoints:(a map from a destination name to{summary, ingress}, both optional;ingressnames an ingress in effect, for an endpoint that is dialled in from outside). A sandbox'segressnames parts or endpoints, and its new settingsecrets(a list of secret names) the secrets what runs in it may read. A tool or model part names withviathe endpoint it is reached through.agenticspec sim checkrefuses an endpoint whose name is no destination name or is a part's, that is no map, has a key other thansummaryandingress(an address is the binding's), or names an ingress not in effect, and a name a nested architecture declares otherwise than its nesting document (new gate KPIendpoint_invalid); aviathat names no declared endpoint (via_without_endpoint); and a sandbox whoseperpart links to a part reached through an endpoint withoutingressand whoseegressdoes not name that endpoint (via_not_in_egress). Every catalogresult.jsongains these KPIs at 0. A nested architecture's endpoints are kept unprefixed and joined with its nesting document's.deploy bundleplaces no tool withviain a unit, asks the binding for an egress to the endpoint, not the part, of a link to a part withvia, and for an egress from the sandbox'sperpart to each endpoint withoutingressit names (egress_undeclared), and for a declaration of each sandbox secret in that part's unit (secret_undeclared); an egress entry to an endpoint withingressisbinding_invalid.egress_targetscounts the parts and the endpoints sandboxes name. Docs: "Secrets and egress" indocs/deployment.mdand "Endpoints and the secrets of a sandbox" in the generated architecture reference. -
Tool calls under an authority. A
calllink from an agent part to a tool part may nameunder, anauthoritypart that decides each such call, andaction_class, the tool category it grants (absent, the tool'scategory). A tool part takesinputs, of the new setting typeinputs: a map from an input's name (^[a-z][a-z0-9_]*$) tostring,integer,numberorboolean, a trailing?for an optional one.agenticspec sim checkrefuses anunderthat names no authority part (new gate KPIunder_not_authority; a budget is no authority over a call) and a part nobody declared (unknown_link_parts); anaction_classwithoutunder, anunderon another link than an agent'scallof a tool, an action class that is no tool category, none from the link or the tool, or one other than the tool's (link_grant_invalid); and a call link to a tool withoutunderfrom a part that has a call under an authority (ungoverned_tool_call). The architecture block'sLinkhasunder_part_idandaction_class:AddLinktakes both and refuses an action class without an authority (GrantNeedsAuthority), a part nobody declared or of another architecture, and anunderpart that is no authority (UnderNotAuthority); authored scenarioblocks/scenarios/architecture/link-under-not-authority.yaml. The contract (agenticspec sim contract) states such a link's use insideauthority.decisionon the authority part and writes agrants:section per authority (default: deny, one rule{from, to, action_class, inputs}per governed link), which--checkcompares; the trace check reportsgrants <authority>held, violated by aharness.tool-callto a tool no rule allows, or not checked when the trace records no tool call. A patch writes and removesunderandaction_classlikeas. Docs:docs/contract.md("Grants") and "Tool calls under an authority" in the generated architecture reference. -
Posting rules per channel: a pick of the exact text, the audience and in whose name (R141).
agentic.channel.Channelhasposting_rule(structPostingRule:only_for,requires_pick,picker,refuse_unknown_audience; shown inChannels), set bySetPostingRule, which the new actoragentic.channel.ChannelPolicyandagentic.architecture.Deployermay issue, not the channel's opener (configuration; eventPostingRuleSet; a rule that requires a pick and names no picker is refused,PickWithoutPicker; a direct or closed channel is refused). AParticipantrecords a pick of one exact text for one channel withRecordPick(entityPostPick, identifieragentic.shared.PostPickId;channel_id,content,picked_by,picked_at; eventPostPicked, viewPostPicks), refused when the picker named is not the caller's principal or not the picker the channel's rule names (NotThePicker).PostMessagetakes the optionalpick_id,in_name_ofandpicked_byand, under a rule, refuses a post in another name than the rule's, or in a name that is neither the caller's principal nor its delegation's delegator (NotInThatName), a post while the channel's audience is absent orUnknown(AudienceUnknown), a post without a pick (PickMissing), with a pick nobody recorded (UnknownPick), of another text (PickForOtherText), of another channel (PickForOtherChannel), or by another picker than the pick's or than the one the rule names when the post is made (NotThePicker); a post records itspick_id(Post,Posted,Posts). The network component acceptsSetPostingRule(port roleadministration). In an architecture document a channel part takesaudience(internal,external,private,unknown) and a link the keyas, the principal part it posts for:AddLinktakesas_part_id(Link.as_part_id) and refuses a part nobody declared (NoSuchPart), one of another architecture (ForeignPart) and one that is not a principal (AsNotPrincipal);agenticspec sim checkrefuses the same asunknown_link_partsand the new gate KPIas_not_principal, so every catalogresult.jsongains that KPI at 0; a nested part'sasis renamed like itsover, and a patch writes and removesaslikeover. Not mapped: a channel posted to by one role alone (a role is no attribute of every party's credential). -
A message's delegation, proof and read turn are checked (R140). The
agentic.channel.Participantcredential namesprincipal, the principal the party is or its session acts for.SendMessageandPostMessagetake the optionalsender_principal: with adelegation_idthey refuse a missingsender_principalor one other than the caller's principal (delegate-unnamed,NotTheDelegate), a delegation nobody granted (unknown-delegation,UnknownDelegation), one whose delegate is notsender_principal(not-the-delegate,NotTheDelegate) and one that is not active (delegation-not-active,DelegationNotActive). The new commandMarkReadInTurn(actorReadingSession, credentialpartyandsession; inputsmessage_id,reader,reader_session,turn_id) records the turn a session read a message in: it refuses a session other than the caller's (session-not-the-callers) and a turn of another session (turn-not-the-readers), bothTurnNotTheReaders, and a turn nobody recorded (unknown-turn,UnknownTurn); it emitsMessageReadwith the turn, asMarkReaddoes without one. The viewMessageshasreceived_in_turn. The new entityagentic.channel.ProofCheck(identifieragentic.shared.ProofCheckId;message_idorpost_id,proof,marks,checked_by,checked_at; viewProofChecks) records that a verifier checked the proof a message or post claims:RecordProofCheck(actorVerifier, credentialprincipal; eventProofChecked) refuses a check that names neither or both (ProofCheckNamesOne), a message or post nobody sent (UnknownMessage,UnknownPost) and a proof the message or post does not claim (ProofNotClaimed). Theproofof a message or post is its sender's claim. Not checked: that the credential'sprincipalis the party's own or its session's, and that an Operator channel's delegate is its other party (ESS 0.99.22 reads no caller attribute in a related-row guard; UNMAPPED in the block); which delegated action covers a send. Authored scenariosblocks/scenarios/channel/delegation-not-the-callers.yaml,read-in-another-turn.yamlandproof-checked.yaml;message-lifecycle.yamlwalks the delivery, read and loss of a message, which synthesis on ESS 0.99.22 did not arrange onceSendMessageread the delegate; ESS 0.99.27 synthesizes them again. -
A guard reads another system's answer, and a model hold leaves agent steps skipped (R150).
agentic.time_sourcerecords aGuardReading(identifieragentic.time_source.GuardReadingId;guard,subject,answer,read_failure,read_at; viewGuardReadings): the answer another system gave to a guard's question, such as whether a run is live on a runtime, asReadAnswerYes,NoorUnreadable.RecordGuardReading(actorReader, eventGuardReadingRecorded) refuses an unreadable answer withoutread_failure(ReadFailureMissing) and a reading already recorded (GuardReadingExists).agentic.deployment.InstallRevisiontakes the optionalguard_reading_id, the runner's reading ofruns-open: an unknown reading is refused (unknown-reading,UnknownGuardReading), and once the block's own runs allow the install, anUnreadablereading is refused (reading-unreadable,GuardUnreadable) and aYes(reading-runs-live,RunsOpen);Noinstalls, and an install that names no reading is checked as before.agentic.workholds aModelHoldon a process (identifieragentic.shared.ModelHoldId;process_id,reason,placed_at;Standing, thenLifted; viewModelHolds), placed byPlaceModelHoldand lifted byLiftModelHold(actorRequester; eventsModelHoldPlaced,ModelHoldLifted; errorsModelHoldExists,ModelHoldNotFound,ModelHoldStateConflict).RecordSteptakes the optionalprocess_id, the run's process stated again: a ...
agenticspec 0.7.0
Added
- A time source a runtime reads without being woken by it (R166). The new block
agentic.time_source(layer 3, capability; pageblocks/3-capability/time-source) holds aTimeSource(identifieragentic.shared.TimeSourceId) with the kind of time it gives (Wall,Simulated) and its resolution:RegisterTimeSourceandRetireTimeSource(actorKeeper), andReadTime(actorReader), which records aTimeReadingwith the time it gave and changes nothing else, refused once the source is retired.agentic.architecture.PartKindandagentic.kpi.Blockhave the variantTimeSource; a part of blocktime_sourcetakeskind(wallby default, orsimulated) andresolution(a duration,1sby default) and uses no port of the contract. A runtime reads it over a link carryingread;agenticspec simstarts no run from it, and the event log ofsim run --eventswrites the payload fieldtime_read(seconds of simulated time, the line'st_seconds) on eachagentic.work.RunStartedof a part that reads a time source, declared on that event and onagentic.work.StartRunas an optional timestamp.agenticspec sim checkrefuses a link carryingtriggerfrom a time source undertrigger_source_not_triggerwith the message "a time source is read over a read link, not a trigger source; use anon_scheduletrigger for timed starts". Two KPIs in the catalogue:runs_started_by_time_source(a gate, additive) andtime_reads_per_run. A block's docs page is named as its file (time-source.md). - A requirement can name a nested architecture as its
part(R162):{ kpi: cost_usd, at_most: 150, part: work }reads the sum of the KPI over every part of the nested architecturework(its flattened partswork.<part>, those of architectures nested in it too), so a cap on what a module spends as a whole holds for every variant of it, with or without a given inner part. Each model call counts once: the simulator books a call'scost_usdandrate_limited_secondson the agent that made it and again on the model or gateway part that served it, so for those two the sum leaves out the module's model and gateway parts (a module of one agent and its model reads the agent's cost, which equals the model's, not both). Before,parthad to name one part and such a requirement was refused (`part` names `work`, which is no part). The sum takes only an additive KPI: every entry ofkpis/counts.yaml, and each entry ofkpis/catalogue.yamlmarked with the new optional keyadditive: true(58 of them: counts and sums of money, tokens or seconds, such ascost_usdandtasks_done).agenticspec sim check,deploy bundleand an experiment refuse a share, a ratio or a percentile there (requirement_invalid, naming the KPI and "not additive"). A catalogue entry whoseadditiveis not a boolean is refused when the catalogue is read. Every committed result keeps its bytes. Docs: "Requirements" on the architectures overview,kpis/README.md. - The simulator evaluates the condition of an
on_eventtrigger (R153). A trigger part takescondition, a value ofagentic.trigger.Condition(allandany, each a list of comparisons{field, op, value}; the settings table has the typecondition), andcondition_share, a number from 0 to 1. The simulated events carry one field,part, the part the event is at (events::CARRIED); a comparison on it byEqual,NotEqual,DefinedorNotDefinedis evaluated on each event. A comparison on any other field holds in the sharecondition_shareof the events that meet the rest of the condition, drawn from a stream of the trigger's own, so a run whose triggers declare no share draws what it drew before and every committedresult.jsonkeeps its bytes. Before, a trigger fired on every event itsevent_nameandsourcematched, whatever its condition.agenticspec sim checkrefuses, asarchitecture_refused: anevent_namethat no block declares and the simulation does not emit (event_unknown;sim runrefuses every event the simulation does not emit, as before), another operator onpart(op_unsupported), a comparison on another field without acondition_share(condition_unmodelled), a share outside 0 to 1 (share_invalid) and a share beside no such comparison (share_unused). The five rules are no gate KPIs:sim runrefuses the same triggers, so no result changes. agenticspec sim run --livestreams the run to its page while the simulator runs. It serves the page and its feed on 127.0.0.1 at a port the system picks and printsagenticspec sim: live on http://127.0.0.1:<port>/on standard error first. The baseline at the experiment's first seed is streamed before the search, the shown run (the run ofevents.jsonl) after it, paced in simulated time (--pace, simulated seconds per second, 60 by default). The feed is the one ofagenticspec ui serve: server-sent events, one channel per stream (baseline,shown) with the event'sseqas its cursor andLast-Event-IDresume; each event carries its line ofevents.jsonland, on the next line, the replay records of its moment, and anendevent follows the last one with the records after it. Joined in order, the records of the shown stream are its run inreplay.json. The page reads both streams as they arrive and adds each as a run; its scrubber ends at the last event received. A client that connects after the end gets both streams from the start. Once both are sent the command exits 0 when the last client leaves, or after--lingerseconds (0 by default) when none is connected. Every file it writes is the same bytes as without--live.agenticspec sim run --eventsalso writesreplay.json(agenticspec-sim-replay/1), and theindex.htmlit writes plays the run back over the architecture graph. The file holds the baseline and the shown variant (the best, else the baseline) at every seed of the experiment, each recorded in full; the shown variant at the first seed is the run ofevents.jsonl. Per run it holds each part's series of changes of waiting items (queue), busy items and spend (USD) over simulated time, each change naming the line ofevents.jsonlit is for, and each link crossing (from part, to part, start, end, subject key). An item (a task, a build's claim, a trigger's firing) waits at or is worked by one part at a time; a crossing runs from when an item is sent to a part until it leaves it, and model calls and firings cross as the run's port uses record them. A part's spend at the end of a run is itscost_usdin that run. The page embeds the file and needs no server: play, pause, a speed (1 min/s to 1 day/s), a scrubber over simulated time and a choice of run, with each part's counts in a table (data-queue,data-busy,data-spend) and a link markeddata-carryingwhile a crossing of it spans the time shown. Without--eventsnothing changes: noreplay.json, andindex.html,result.jsonandevents.jsonlkeep their bytes.task check:sim-pageruns the page in a browser, a run of 94,473 events included, and holds its work againstux/work/sim-page.json.- A nested architecture can be off for part of a run (R160). A part of block
architecturetakesactive, the window of the run it works in ({from, until}, durations from the start of the run, either left out) or a list of such windows, andhandback, the part of the architecture that nests it where its tasks go while it is off: a part of that document outside the nested one, or a border part of another nested architecture (<part>.<border part>). The two come together. While it is off, its worker and reviewer parts take no task, and the tasks they hold or have queued, and every task that reaches it, go to the hand-back part: a post on a shared channel, a task handed to an agent that takes them over anorderlink, otherwise the backlog. After its window ends it works again. The result of a run withactivecountshanded_back(overall and on the hand-back part) andtasks_open, the tasks still held at the end, sotasks_arrivedistasks_doneplustasks_openwhen no task is lost; a run without it reports neither, and every committed result keeps its bytes.agenticspec sim checkrefuses a hand-back part that is not a part of the outer architecture, or is inside the nested one, a window that does not run forward, and either setting without the other (setting_invalid), and listsactiveandhandbackwith the nested architecture. The settings table has the typewindows. - The policy
module_link_cycles: refuseof an architecture document makesagenticspec sim checkrefuse a cycle of links that runs through the borders of two or more nested architectures (modulea's workers post to moduleb's inbox,b's workers post back toa's inbox), read over the flattened document grouped by nested architecture; the refusalmodule_link_cyclesnames the nested architectures and the parts of the cycle. A chain of nested architectures and a cycle through one border only are accepted; without the policy (or underallow, the default) nothing changes, and another value is refused assetting_invalidonpolicies. The rule is a new gate KPI:sim check --jsonand every catalog result count it. Docs: "Nesting an architecture" on the architectures overview. (R161) - Spend caps per run and per agent (R132). A runtime and a budget take the setting
per_run_usdand an agentmax_cost(USD, at least 0; an agent'smax_costnarrows itsharness.sessionport), the spend cap of one run, beside the caps per day and month.agenticspec simends a run that has spent its cap: it makes no further model call and its task ships nothing. A budget's cap holds for the runs of every part itsgrantlink ends at, and of every part whose model calls pass the gateway or model it ends at; the smallest cap applies. A result reportsruns_capped(in its KPIs and per capped part, liste...
agenticspec 0.6.0
Added
- An architecture document can place stores and event buses.
agentic.architecture.PartKindhas the variantStoreandagentic.architecture.Carriesthe variantEvent. A part of blockstoretakes the settingskind(required:record,artifact,key_value,semantic,graph),scope(architectureby default,partbeside aper, orexternal),retention(a duration,runorforever, the default) and, on a semantic store,vectors(suppliedby default, ormade); achannelpart of kindeventis a named bus.agenticspec sim checkhas four new rules, each a gate KPI: a link to a store that carries neitherrecordnorread(store_reach_not_record_or_read, naming the part and the store), a link to, from or over an event bus that does not carryevent(bus_reach_not_event), a semantic store withvectors: madeand nomodel_callpath to a model (semantic_store_without_model), and an external store a part links to that theegressof the part's sandbox does not name (external_store_not_in_egress, naming the sandbox and the store).sim check --jsoncounts 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: eventto achannelpart of kindeventfires everyon_eventtrigger whosesourceis that bus, after the bus's new settingdelivery_delay(a duration,0sby 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 committedresult.jsonis 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.ymlrestores the docs site (website/build, keyed bydocs/andwebsite/) and itsnode_modules(keyed bywebsite/package-lock.json) from the forge's cache, socheck:siteneither installs nor builds when those did not change: on the forge it took 144 s, 28 s of themnpm ciand 13 s the build.scripts/check-site.shreinstalls whennode_modules/.lock.sha256differs from the digest of the lockfile, where it compared file times. - The gate of
pages.ymlrestores the compiled dependencies from the forge's cache (Swatinem/rust-cache, keyed by rustc andCargo.lock, saved by runs onmain): the firstcargo buildof the gate took 109 s of `check:fields's 116 s on the forge. agenticspec sim runandsim scoresimulate a part that a trigger wakes and that anorderorrunlink also hands tasks (R133); before, such a document was refused with "partXis woken by a trigger, so the order or run link fromYcannot hand it tasks". A free copy takes the firing or the handed task that has waited longest, and the part'sper_partsplitstasks_startedintotasks_started_wokenandtasks_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 ameteredmodel, the default, is priced per token at its route's price; a call to a model on asubscriptionor withnoneadds no cost per token, and its tokens are still counted. When a model part setsbilling,result.jsonnames the billing of every model part in itsper_partentry besidecost_usd("billing": "subscription"); the result of an architecture that sets none keeps its bytes. - The gate of
pages.ymlrestores the synthesized suite of the whole system (target/system-conform/) from the forge's cache, keyed by the ESS release and the rootess-inputs.yaml,blocks/,packs/andscripts/check-blocks-conform.sh, as it does forblocks/. 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, theESS_VERSION, SHA-256 and blocks cache key ofpages.ymlandrelease.yml, and AGENTS.md. It synthesizes 12 more scenarios of the blocks (1027; 1028 with theDefineRouterefusal below, all passing):ApproveDecision's refusalnames-other-record, every outcome ofRecordWrite, three outcomes ofReviseRecordandSubmitDeliverable'snot-an-artifact. Of the whole system it arrangesagentic.scm.change.ApproveHead/outcome/review-of-other-headwith a review of another change request, sopacks/known-synthesis-defects.txtlists it (design/ess-repro/synth-review-of-other-head/); the authored scenariomerge-needs-approval-of-headwalks it. The bindingdelete-record-on-approvalstill has no synthesized scenario (ESS-SYNTH-010), soblocks/known-synthesis-refusals.txtkeeps 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 whyagentic.workspace.Proposestill 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.DefineRouterefuses a route whose endpoint serves another model than the one it names (model-not-served, new erroragentic.model.ModelNotServedwithendpoint_idandmodel_id); such a route was defined before. Authored scenarioblocks/scenarios/model/route-model-not-served.yaml. - Breaking:
agenticspec sim checkrefuses a link to, from or over a channel part of kindeventthat does not carryevent(bus_reach_not_event); such a document was accepted before. No document underarchitectures/has one. - Breaking: a trigger reacts with a wake or a command.
agentic.trigger.CreateTriggertakes the required inputreaction(agentic.trigger.ReactionKind:Wake, today's behaviour, orCommand) and the optionalcommand, the qualified name of a command of the blocks as text (such asagentic.store.PutRecord);agent_revision_idis optional. A Wake trigger without an agent revision and a Command trigger without a command are refused asreaction-target-missing,ReactionTargetMissing. ACreateTriggerwithoutreactionis refused, so a caller addsreaction: Waketo keep what it did.conditionis typed: anagentic.trigger.Condition, the guard form over the event's fields only (allandany, each a list ofComparison: an event field, anopfromEqual,NotEqual,Less,LessOrEqual,Greater,GreaterOrEqual,Defined,NotDefined, and a literalvalue), no longer text.intakeis a list ofIntakeField(input: the command's input,field: the event's field), no longer text. A firing names its trigger's command:Firing,TriggerFiredand the viewFiringscarrycommand.Trigger,TriggerCreatedand the viewTriggerscarryreactionandcommand, and theiragent_revision_idis optional. Authored scenariosblocks/scenarios/trigger/command-reaction.yaml(an OnEvent trigger onagentic.work.DeliverableAcceptedthat issuesagentic.store.PutRecord, with no agent revision) andreaction-target-missing.yaml.
agenticspec 0.5.0
Added
scripts/release-scan.sh <directory>unpacks every release archive of a directory and scans each file with the organization's private-rule scanner (b10x-gates scan-text), the scanrelease createapplies at publication; the release procedure runs it on the archives of the release pull request before the tag.agentic.harness.RequestToolCallrefuses a tool the agent revision'stoolslist does not name (tool-not-listed,ToolNotListed), so a call of a published tool the revision does not list is not recorded. Authored scenarioblocks/scenarios/harness/tool-call-must-be-listed.yaml. ESS 0.99.19 synthesis arranges the revision with the tool, so the guard costs no synthesized scenario;design/ess-repro/synth-list-names-other-row/passes on 0.99.19.- A channel can be a named event bus:
agentic.channel.ChannelKindhas the variantEvent, opened as a topic or a queue (a direct or board event channel is refused asEventChannelIsTopicOrQueue) with an optionalretention_seconds. The new actoragentic.channel.Publisher, the runtime, publishes an event of the blocks on it (PublishEvent, a newEventPostwith the event's sequence as the cursor, its qualified name, its source architecture, part path and instance, its subject key, time and payload digest) and drops an event past the retention (ExpireEvent, the event endsExpired). No party posts on an event channel (PostMessageis refused asEventChannelIsPublished). Each subscription of an event topic receives every event (ReceiveEventmoves itscursor); on an event queue one subscription takes each (TakeEvent, a second take isEventStateConflict).ResumeSubscriptionfrom a cursor with a dropped event after it is refused asCursorExpired, never skipped. New viewsEventPostsandChannelEvents;Channelsshows the retention andSubscriptionsthe cursor.blocks/ports.jsongains the Outbound portchannel.event-post(PublishEvent, thenTakeEventorExpireEvent), andchannel.subscriptiontakesReceiveEventandResumeSubscriptionas reports. Four authored scenarios walk an event post, a topic fan-out, a queue taken once and an expired cursor. - Dashboard: the event filters of a session are one radio group, one Tab stop whose arrow keys, Home and End move the choice; the event log's columns keep their place when a filter changes the rows; a session of one model turn draws its turn on its lane, and its key events end with its last turn end; a tool call that a decision refused reads "· refused" in its row, in red. The address parameter
?layout=bof the session page is gone. - A human that grants a delegation to itself is refused (
GrantDelegationself-delegation,DelegationCycle), as a self-delegation onward already was. The identifiers a gateway call, a store record, read and query, an agent revision and a harness turn hold name their entities by declared relations (no ESS-ENTITY-019 warning in layers 1 to 4). The UNMAPPED notes of layers 1 to 4,spec/andstudio/cite the ESS 0.99.17 limit they meet or the owner's open question;design/ess-repro/synth-related-field-equals-input/shows why a route may still name a model its endpoint does not serve. - The work, authority, question and channel blocks refuse what their notes left open:
StartRunrefuses a second open run of an assignment (RunAlreadyOpen);SubmitDeliverablerefuses an artifact that is no record (ArtifactNotFound) or a record of a store that is not an artifact store (NotAnArtifact);ApproveDecisionreads the delegation a delegate names and refuses one nobody granted (UnknownDelegation) or one that is not an active delegation of approval (DelegationScopeLacksApproval), where it named an external check;AnswerandRecordUnreadableAnswerrefuse a delegation nobody granted (UnknownDelegation) or one that is not an active delegation to answer questions (DelegationNotForAnswers);OpenChannelrefuses an owner nobody registered (UnknownOwner) or a delegation nobody granted (UnknownDelegation), and on an Operator channel an owner that is not human (OwnerNotHuman) or a delegation not granted by the owner and active (DelegationNotFromOwner). Each has an authored scenario. Eight stored references in layers 5 to 7 declare their relation (ESS-ENTITY-019), and the notes that stay name the ESS limit or the open question. - A pool of the resource block grants its queued claims in queue order, as its design says:
GrantClaimof a claim while a claim of the same pool that joined the queue earlier still waits is refused asNotFirstInQueue. A grant on a full pool for an unknown claim now answersUnknownClaimbeforePoolFull. An authored scenario walks the order, the unknown claim and the full pool. - The root
ess-inputs.yamlpinsess 0.99.2(was the rangeess 0.99), soessat the repository root runs the release CI installs;scripts/check-ess-pin.sh(intask check:scripts) fails on anyrequires: essthat is a range or differs from theESS_VERSIONof the workflows. - The deployment block refuses by name what its design forbids: a running, degraded or failed report from a state that does not allow it (
DeploymentStateConflict); a promotion that names no deployment (UnknownDeployment) or changes the revision (PromotionChangesRevision) or the contract digest (PromotionChangesContract); a job or scheduled unit with replicas (ReplicasOnRunToCompletion) and a unit with fewer than one replica (ReplicasBelowOne).agentic.runtime.Hostmay issueObserveUnit, as the target does. - Triggers, questions and their ports follow the design. Disabling a schedule disables its enabled triggers, so a trigger no longer fires on a tick of a disabled schedule (
FireTriggeris refused asTriggerIsDisabled). A question is no longer withdrawn from its deadline on (Withdrawis refused asDeadlinePassed, asAnsweris), so its default is taken. A firing that is queued or skipped also recordsTriggerFired, as the KPI catalogue and the simulator count it.blocks/ports.json:trigger.schedulewaits inSchedule.Enabled, its protocol isEnableSchedule AdvanceSchedule*andCreateScheduleis configuration;authority.decisionends without an approval or a rejection ((DecideRequest | DenyRequest) (ApproveDecision | RejectDecision)?); the intent event oftrigger.firing,TriggerFired, is now emitted by every firing that waits. Authored scenarios pin the order of the refusals ofCloseChannelandDelegateOnwardand the order ofBestVariant. - Every id
agenticspec sim scoreemits has a direction or is named as no KPI:kpis/catalogue.yamlgains 22 entries (17 refusals of the check asdirection: lower,gate: true;backlog_wait_p50_seconds,steps_failed,wrong_assumptions,operator_wait_shareandagent_time_cost_usdaslower), and the newkpis/counts.yaml(agenticspec-kpi-counts/1) lists the 14 load and flow counts (tasks_arrived,jobs,tokens_inputand others) a search does not optimise.false_completions_shippedandmerge_conflictsstay infields/coding/kpis.yaml. A test fails on an emitted id in none of them. agenticspec ui serveanswers the 410 of an expired cursor and R6 (R126, R127): on fixtures a channel keeps its events from the cursorui/views/source/retention.jsonnames per channel as served (agenticspec-channel-retention/1, alsoretention.jsonof a--fixturesdirectory; the built-in fixtures keepharnessfrom cursor 4 on), and a reconnect from before that is answered 410{"error": "cursor_expired", "cursor": "<c>"}with no event.GET .../api/describedescribes the architecture served: every part of the plane in scope with its copies and the views, commands and feeds of the blocks of the ports the contract binds to it, each marked served, the ingress with every operation, and the new optionalchannelsofDescriptioninui/runtime.openapi.yaml, the retention of each channel ({name, retained_from, expired}); the fixture source states it too.agenticspec ui conform --architecturechecksR6 at <scope>at the architecture and at each part (the parts are the architecture's there) andR2 expired <channel> at <architecture>for each channel whose retention R6 states, so againstui serveboth are checked, not skipped.- The copy of what the cloudspec translator accepts (
bundles/cloudspec-accepts.yaml) now matches cloudspec commitaf104709c228e89942a128b370e536a391ff5a5b, whichcloudspec_commitnames, and states three more facts:interface_ports: true(Interface ports on a unit are accepted),env_forms: [served_names](anenvvalue{served_names: host_port}is accepted) andui_upstream_keys: [unit, port, path](a UI'supstream.secretis not: the translator has no construct that presents an upstream credential).deploy bundleanddeploy checkagainst the copy refuse a UI withui.<ui>.upstream.secretasunit_not_hosted, naming the UI andupstream.secret, and refuse what a copy that lacks the other two facts does not hold. A file without the three new keys isaccepts_unreadable. - A unit that serves an export of an ingress is bound to the Interface ports (R124 to R127):
agenticspec deploy bundlelists under the unit'sportseach Interface port the export's protocol carries and the ingress's interface uses (http:architecture.read,architecture.command,architecture.actions,architecture.describe;event_stream:architecture.feed), each{port, part, instances: 1, settings: {ingress, protocol}};agenticspec deploy checkrefuses a unit whose Interface ports are not those (unit_ports_mismatch). - The runtime UI interface is in the port catalogue (R124, R125, R126, R127):
blocks/ports.jsonhas five ports of the new kindInterfaceon blockarchitecture, one per operation, each with its protocol and its answers asreports:architecture.read(a view at a scope answ...
0.4.1
Fixed
- Release binaries name no path of the machine that built them:
--remap-path-prefixmaps the runner's home, cargo home and checkout to neutral prefixes on every target, andscripts/release-paths.shfails the packaging job when such a path is left. 0.4.0 was tagged but not published, because its binaries carried the build runner's cargo registry path
Added
agenticspec simsimulates more of an architecture: an agent that reaches several model parts splits its calls by itsmodel_shareand each call is priced by its model's route; a runtime part given runs (arunororderlink, or a trigger) executes their steps, model calls and person steps; anon_eventtrigger fires when the simulation emits its event (agentic.work.TaskCompletedand seven more), optionally only for the part itssourcenames, and a trigger may wake a runtime
Changed
agenticspec simreads a part's profile role from itsrole(codingwhen an agent names none);harnessnames the kind of harness only. An agent that answers questions takes its delay fromroles.<role>.answer_seconds, so renaming it changes no result; a profile with the oldagentssection, a model whose route the profile does not price and a runtime that executes runs without aroleare refused with the name of what is missing
Assets
Linux (x86_64, aarch64; glibc and static musl), macOS on Apple silicon and Windows x86_64. The macOS x86_64 archive follows.
agenticspec 0.3.0
Changed
- The tool is named agenticspec: the repository
https://github.com/beyond10x/agenticspec(the old URLs redirect there), the documentationhttps://beyond10x.github.io/agenticspec/, the commandagenticspec, the cratesagenticspec-recordsandagenticspec-types(Rust pathsagenticspec_records,agenticspec_types), the specification systemagenticspec, the release archivesagenticspec-<version>-<target>.tar.gz. Types, functions and their signatures are unchanged; the store stays version 5 - The store is
~/.local/share/agenticspec/sessions.db; a store in~/.local/share/agentspec/or else~/.local/share/sessionspec/is moved there the first time it is opened. The environment variables areAGENTICSPEC_DELEGATES,AGENTICSPEC_UI_DIRandAGENTICSPEC_SYNC_MS;AGENTSPEC_DELEGATESandSESSIONSPEC_DELEGATESare still read whenAGENTICSPEC_DELEGATESis not set
agentspec 0.2.0
Added
- A new live UI, written by hand in Vue over types generated from the specification, with a light and a dark theme: an overview with figures per time slice and a searchable session table, a session page with a timeline per agent, agents, checks, cost and prompt breakdowns and a paged event log, and embed pages; built by
task ui:build(Node.js 22) - Views
figures,session-timelineandsession-event-counts;session-listpages byoffset,session-eventspages newest first bybeforeand filters byagent,kindandnotable task check:app: the app's unit tests and browser tests of layout, accessibility, keyboard use and a screen-only user on the fixtures, with a ratchet inux/baseline.json;task ux:roundmeasures a review round intoux/rounds/- A static Linux binary in each release,
sessionspec-<version>-x86_64-unknown-linux-musl.tar.gz, which needs no glibc of the host; the release workflow checks it is static and runs its--versionin a plain Alpine container
Changed
- The repository is
https://github.com/beyond10x/agentspecand the documentationhttps://beyond10x.github.io/agentspec/; the old repository URL redirects there. The command and the crates keep the namesessionspecfor now - The tool is named agentspec: the command
agentspec, the cratesagentspec-recordsandagentspec-types(Rust pathsagentspec_records,agentspec_types), the specification systemagentspec, the release archivesagentspec-<version>-<target>.tar.gz. Types, functions and their signatures are unchanged - The store is
~/.local/share/agentspec/sessions.db; a store in~/.local/share/sessionspec/is moved there the first time it is opened. The environment variables areAGENTSPEC_DELEGATES,AGENTSPEC_UI_DIRandAGENTSPEC_SYNC_MS;SESSIONSPEC_DELEGATESis still read whenAGENTSPEC_DELEGATESis not set sessionspec servereads every view from tables of the store with one query per request and keeps no rows in memory; on a store of 116 sessions its resident memory measured 84 to 164 MB, where it grew past 1.9 GB beforesessionspec serveruns each sync, the first included, as asessionspec syncchild process, one at a time, and never lifts a transcript itself, so the memory of a re-lift goes back to the system when the child endssynclifts transcripts in chunks bounded by size and returns freed memory after a sync- The store is version 5; opening a store of an older version fills its derived tables again and keeps its wire rows
sessionspec analyzewithout--outwritessessionspec-dashboard.htmlbeside the store instead of the working directory
sessionspec 0.1.1
Changed
- The documentation site holds user documentation: getting started, dashboard, KPIs, queries, patterns and procedures, privacy and the records library; the design notes moved to
design/and are no longer published
Fixed
- Opening a store of another schema version no longer drops its wire rows: only the derived tables are rebuilt, every wire session is projected again from its
wire_steps, and a store whose wire rows are in a format this build cannot read is refused with an error and left unchanged - A long wire session no longer grows without bound: a
WireSessionkeeps the 4,096 most recent response ids, conversation ids and spawn inputs (LINKS_HELD); a call whose link was evicted starts an agent without a parent AppenderHandle::appenddocuments that an empty batch returns true and queues nothing
sessionspec 0.1.0
Added
- An ESS specification of the session IR (
sessionspec.session), the command line (sessionspec.cli) and the read models of the UI (sessionspec.view), with generated types, components and command-line parser - A Claude Code adapter that lifts a session and its sub-agents into IR commands, each prompt with an author and an attribution (
Known,Inferred,NotRecorded) - Redaction of secrets and personal data into aliases; a finding names its class and count, never the value
- KPIs over the published events: models, context length, cache hits and busts, concurrency, autonomy, permission decisions and API list-price cost
sessionspec sync: an incremental SQLite store of the redacted records, KPIs and view rows;query,mine,procedure,kpiandanalyzeread the storesessionspec serve: the views of the UI from the store on 127.0.0.1, the built UI and server-sent events- The sq query language (typed Datalog with sequence, aggregates and certainty) and the checks of
queries/session.sq - Pattern mining of recurring tool-call runs, and the export of a mined procedure as a canon
protocol/1file with loom bindings - The UI as an
ess-ui/1document with synthetic fixtures and headless tests sessionspec-records, the library an LLM gateway links: the wire lift of one finished call, the session hash, the join with a transcript by message id, and a non-blocking appenderSESSIONSPEC_DELEGATESnames the sessions whose messages count as a delegate's prompt- Releases: the
sessionspecbinary for x86_64 and aarch64 Linux as archives withSHA256SUMS, built by the tag workflow