Skip to content

Releases

agenticspec 0.8.0

Choose a tag to compare

@b10x-bot b10x-bot released this 01 Dec 20:16
d961e57

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; ingress names an ingress in effect, for an endpoint that is dialled in from outside). A sandbox's egress names parts or endpoints, and its new setting secrets (a list of secret names) the secrets what runs in it may read. A tool or model part names with via the endpoint it is reached through. agenticspec sim check refuses an endpoint whose name is no destination name or is a part's, that is no map, has a key other than summary and ingress (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 KPI endpoint_invalid); a via that names no declared endpoint (via_without_endpoint); and a sandbox whose per part links to a part reached through an endpoint without ingress and whose egress does not name that endpoint (via_not_in_egress). Every catalog result.json gains these KPIs at 0. A nested architecture's endpoints are kept unprefixed and joined with its nesting document's. deploy bundle places no tool with via in a unit, asks the binding for an egress to the endpoint, not the part, of a link to a part with via, and for an egress from the sandbox's per part to each endpoint without ingress it names (egress_undeclared), and for a declaration of each sandbox secret in that part's unit (secret_undeclared); an egress entry to an endpoint with ingress is binding_invalid. egress_targets counts the parts and the endpoints sandboxes name. Docs: "Secrets and egress" in docs/deployment.md and "Endpoints and the secrets of a sandbox" in the generated architecture reference.

  • Tool calls under an authority. A call link from an agent part to a tool part may name under, an authority part that decides each such call, and action_class, the tool category it grants (absent, the tool's category). A tool part takes inputs, of the new setting type inputs: a map from an input's name (^[a-z][a-z0-9_]*$) to string, integer, number or boolean, a trailing ? for an optional one. agenticspec sim check refuses an under that names no authority part (new gate KPI under_not_authority; a budget is no authority over a call) and a part nobody declared (unknown_link_parts); an action_class without under, an under on another link than an agent's call of 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 without under from a part that has a call under an authority (ungoverned_tool_call). The architecture block's Link has under_part_id and action_class: AddLink takes both and refuses an action class without an authority (GrantNeedsAuthority), a part nobody declared or of another architecture, and an under part that is no authority (UnderNotAuthority); authored scenario blocks/scenarios/architecture/link-under-not-authority.yaml. The contract (agenticspec sim contract) states such a link's use inside authority.decision on the authority part and writes a grants: section per authority (default: deny, one rule {from, to, action_class, inputs} per governed link), which --check compares; the trace check reports grants <authority> held, violated by a harness.tool-call to a tool no rule allows, or not checked when the trace records no tool call. A patch writes and removes under and action_class like as. 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.Channel has posting_rule (struct PostingRule: only_for, requires_pick, picker, refuse_unknown_audience; shown in Channels), set by SetPostingRule, which the new actor agentic.channel.ChannelPolicy and agentic.architecture.Deployer may issue, not the channel's opener (configuration; event PostingRuleSet; a rule that requires a pick and names no picker is refused, PickWithoutPicker; a direct or closed channel is refused). A Participant records a pick of one exact text for one channel with RecordPick (entity PostPick, identifier agentic.shared.PostPickId; channel_id, content, picked_by, picked_at; event PostPicked, view PostPicks), refused when the picker named is not the caller's principal or not the picker the channel's rule names (NotThePicker). PostMessage takes the optional pick_id, in_name_of and picked_by and, 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 or Unknown (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 its pick_id (Post, Posted, Posts). The network component accepts SetPostingRule (port role administration). In an architecture document a channel part takes audience (internal, external, private, unknown) and a link the key as, the principal part it posts for: AddLink takes as_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 check refuses the same as unknown_link_parts and the new gate KPI as_not_principal, so every catalog result.json gains that KPI at 0; a nested part's as is renamed like its over, and a patch writes and removes as like over. 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.Participant credential names principal, the principal the party is or its session acts for. SendMessage and PostMessage take the optional sender_principal: with a delegation_id they refuse a missing sender_principal or one other than the caller's principal (delegate-unnamed, NotTheDelegate), a delegation nobody granted (unknown-delegation, UnknownDelegation), one whose delegate is not sender_principal (not-the-delegate, NotTheDelegate) and one that is not active (delegation-not-active, DelegationNotActive). The new command MarkReadInTurn (actor ReadingSession, credential party and session; inputs message_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), both TurnNotTheReaders, and a turn nobody recorded (unknown-turn, UnknownTurn); it emits MessageRead with the turn, as MarkRead does without one. The view Messages has received_in_turn. The new entity agentic.channel.ProofCheck (identifier agentic.shared.ProofCheckId; message_id or post_id, proof, marks, checked_by, checked_at; view ProofChecks) records that a verifier checked the proof a message or post claims: RecordProofCheck (actor Verifier, credential principal; event ProofChecked) 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). The proof of a message or post is its sender's claim. Not checked: that the credential's principal is 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 scenarios blocks/scenarios/channel/delegation-not-the-callers.yaml, read-in-another-turn.yaml and proof-checked.yaml; message-lifecycle.yaml walks the delivery, read and loss of a message, which synthesis on ESS 0.99.22 did not arrange once SendMessage read 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_source records a GuardReading (identifier agentic.time_source.GuardReadingId; guard, subject, answer, read_failure, read_at; view GuardReadings): the answer another system gave to a guard's question, such as whether a run is live on a runtime, as ReadAnswer Yes, No or Unreadable. RecordGuardReading (actor Reader, event GuardReadingRecorded) refuses an unreadable answer without read_failure (ReadFailureMissing) and a reading already recorded (GuardReadingExists). agentic.deployment.InstallRevision takes the optional guard_reading_id, the runner's reading of runs-open: an unknown reading is refused (unknown-reading, UnknownGuardReading), and once the block's own runs allow the install, an Unreadable reading is refused (reading-unreadable, GuardUnreadable) and a Yes (reading-runs-live, RunsOpen); No installs, and an install that names no reading is checked as before. agentic.work holds a ModelHold on a process (identifier agentic.shared.ModelHoldId; process_id, reason, placed_at; Standing, then Lifted; view ModelHolds), placed by PlaceModelHold and lifted by LiftModelHold (actor Requester; events ModelHoldPlaced, ModelHoldLifted; errors ModelHoldExists, ModelHoldNotFound, ModelHoldStateConflict). RecordStep takes the optional process_id, the run's process stated again: a ...

Read more

agenticspec 0.7.0

Choose a tag to compare

@b10x-bot b10x-bot released this 30 Nov 08:07
27c2bdf

Added

  • A time source a runtime reads without being woken by it (R166). The new block agentic.time_source (layer 3, capability; page blocks/3-capability/time-source) holds a TimeSource (identifier agentic.shared.TimeSourceId) with the kind of time it gives (Wall, Simulated) and its resolution: RegisterTimeSource and RetireTimeSource (actor Keeper), and ReadTime (actor Reader), which records a TimeReading with the time it gave and changes nothing else, refused once the source is retired. agentic.architecture.PartKind and agentic.kpi.Block have the variant TimeSource; a part of block time_source takes kind (wall by default, or simulated) and resolution (a duration, 1s by default) and uses no port of the contract. A runtime reads it over a link carrying read; agenticspec sim starts no run from it, and the event log of sim run --events writes the payload field time_read (seconds of simulated time, the line's t_seconds) on each agentic.work.RunStarted of a part that reads a time source, declared on that event and on agentic.work.StartRun as an optional timestamp. agenticspec sim check refuses a link carrying trigger from a time source under trigger_source_not_trigger with the message "a time source is read over a read link, not a trigger source; use an on_schedule trigger for timed starts". Two KPIs in the catalogue: runs_started_by_time_source (a gate, additive) and time_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 architecture work (its flattened parts work.<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's cost_usd and rate_limited_seconds on 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, part had 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 of kpis/counts.yaml, and each entry of kpis/catalogue.yaml marked with the new optional key additive: true (58 of them: counts and sums of money, tokens or seconds, such as cost_usd and tasks_done). agenticspec sim check, deploy bundle and an experiment refuse a share, a ratio or a percentile there (requirement_invalid, naming the KPI and "not additive"). A catalogue entry whose additive is 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_event trigger (R153). A trigger part takes condition, a value of agentic.trigger.Condition (all and any, each a list of comparisons {field, op, value}; the settings table has the type condition), and condition_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 by Equal, NotEqual, Defined or NotDefined is evaluated on each event. A comparison on any other field holds in the share condition_share of 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 committed result.json keeps its bytes. Before, a trigger fired on every event its event_name and source matched, whatever its condition. agenticspec sim check refuses, as architecture_refused: an event_name that no block declares and the simulation does not emit (event_unknown; sim run refuses every event the simulation does not emit, as before), another operator on part (op_unsupported), a comparison on another field without a condition_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 run refuses the same triggers, so no result changes.
  • agenticspec sim run --live streams 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 prints agenticspec 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 of events.jsonl) after it, paced in simulated time (--pace, simulated seconds per second, 60 by default). The feed is the one of agenticspec ui serve: server-sent events, one channel per stream (baseline, shown) with the event's seq as its cursor and Last-Event-ID resume; each event carries its line of events.jsonl and, on the next line, the replay records of its moment, and an end event follows the last one with the records after it. Joined in order, the records of the shown stream are its run in replay.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 --linger seconds (0 by default) when none is connected. Every file it writes is the same bytes as without --live.
  • agenticspec sim run --events also writes replay.json (agenticspec-sim-replay/1), and the index.html it 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 of events.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 of events.jsonl it 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 its cost_usd in 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 marked data-carrying while a crossing of it spans the time shown. Without --events nothing changes: no replay.json, and index.html, result.json and events.jsonl keep their bytes. task check:sim-page runs the page in a browser, a run of 94,473 events included, and holds its work against ux/work/sim-page.json.
  • A nested architecture can be off for part of a run (R160). A part of block architecture takes active, 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, and handback, 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 an order link, otherwise the backlog. After its window ends it works again. The result of a run with active counts handed_back (overall and on the hand-back part) and tasks_open, the tasks still held at the end, so tasks_arrived is tasks_done plus tasks_open when no task is lost; a run without it reports neither, and every committed result keeps its bytes. agenticspec sim check refuses 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 lists active and handback with the nested architecture. The settings table has the type windows.
  • The policy module_link_cycles: refuse of an architecture document makes agenticspec sim check refuse a cycle of links that runs through the borders of two or more nested architectures (module a's workers post to module b's inbox, b's workers post back to a's inbox), read over the flattened document grouped by nested architecture; the refusal module_link_cycles names 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 under allow, the default) nothing changes, and another value is refused as setting_invalid on policies. The rule is a new gate KPI: sim check --json and 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_usd and an agent max_cost (USD, at least 0; an agent's max_cost narrows its harness.session port), the spend cap of one run, beside the caps per day and month. agenticspec sim ends 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 its grant link ends at, and of every part whose model calls pass the gateway or model it ends at; the smallest cap applies. A result reports runs_capped (in its KPIs and per capped part, liste...
Read more

agenticspec 0.6.0

Choose a tag to compare

@b10x-bot b10x-bot released this 30 Nov 02:44
0111a41

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.

agenticspec 0.5.0

Choose a tag to compare

@b10x-bot b10x-bot released this 29 Nov 19:54
b88c958

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 scan release create applies at publication; the release procedure runs it on the archives of the release pull request before the tag.
  • agentic.harness.RequestToolCall refuses a tool the agent revision's tools list does not name (tool-not-listed, ToolNotListed), so a call of a published tool the revision does not list is not recorded. Authored scenario blocks/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.ChannelKind has the variant Event, opened as a topic or a queue (a direct or board event channel is refused as EventChannelIsTopicOrQueue) with an optional retention_seconds. The new actor agentic.channel.Publisher, the runtime, publishes an event of the blocks on it (PublishEvent, a new EventPost with 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 ends Expired). No party posts on an event channel (PostMessage is refused as EventChannelIsPublished). Each subscription of an event topic receives every event (ReceiveEvent moves its cursor); on an event queue one subscription takes each (TakeEvent, a second take is EventStateConflict). ResumeSubscription from a cursor with a dropped event after it is refused as CursorExpired, never skipped. New views EventPosts and ChannelEvents; Channels shows the retention and Subscriptions the cursor. blocks/ports.json gains the Outbound port channel.event-post (PublishEvent, then TakeEvent or ExpireEvent), and channel.subscription takes ReceiveEvent and ResumeSubscription as 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=b of the session page is gone.
  • A human that grants a delegation to itself is refused (GrantDelegation self-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/ and studio/ 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: StartRun refuses a second open run of an assignment (RunAlreadyOpen); SubmitDeliverable refuses an artifact that is no record (ArtifactNotFound) or a record of a store that is not an artifact store (NotAnArtifact); ApproveDecision reads 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; Answer and RecordUnreadableAnswer refuse a delegation nobody granted (UnknownDelegation) or one that is not an active delegation to answer questions (DelegationNotForAnswers); OpenChannel refuses 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: GrantClaim of a claim while a claim of the same pool that joined the queue earlier still waits is refused as NotFirstInQueue. A grant on a full pool for an unknown claim now answers UnknownClaim before PoolFull. An authored scenario walks the order, the unknown claim and the full pool.
  • The root ess-inputs.yaml pins ess 0.99.2 (was the range ess 0.99), so ess at the repository root runs the release CI installs; scripts/check-ess-pin.sh (in task check:scripts) fails on any requires: ess that is a range or differs from the ESS_VERSION of 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.Host may issue ObserveUnit, 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 (FireTrigger is refused as TriggerIsDisabled). A question is no longer withdrawn from its deadline on (Withdraw is refused as DeadlinePassed, as Answer is), so its default is taken. A firing that is queued or skipped also records TriggerFired, as the KPI catalogue and the simulator count it. blocks/ports.json: trigger.schedule waits in Schedule.Enabled, its protocol is EnableSchedule AdvanceSchedule* and CreateSchedule is configuration; authority.decision ends without an approval or a rejection ((DecideRequest | DenyRequest) (ApproveDecision | RejectDecision)?); the intent event of trigger.firing, TriggerFired, is now emitted by every firing that waits. Authored scenarios pin the order of the refusals of CloseChannel and DelegateOnward and the order of BestVariant.
  • Every id agenticspec sim score emits has a direction or is named as no KPI: kpis/catalogue.yaml gains 22 entries (17 refusals of the check as direction: lower, gate: true; backlog_wait_p50_seconds, steps_failed, wrong_assumptions, operator_wait_share and agent_time_cost_usd as lower), and the new kpis/counts.yaml (agenticspec-kpi-counts/1) lists the 14 load and flow counts (tasks_arrived, jobs, tokens_input and others) a search does not optimise. false_completions_shipped and merge_conflicts stay in fields/coding/kpis.yaml. A test fails on an emitted id in none of them.
  • agenticspec ui serve answers the 410 of an expired cursor and R6 (R126, R127): on fixtures a channel keeps its events from the cursor ui/views/source/retention.json names per channel as served (agenticspec-channel-retention/1, also retention.json of a --fixtures directory; the built-in fixtures keep harness from cursor 4 on), and a reconnect from before that is answered 410 {"error": "cursor_expired", "cursor": "<c>"} with no event. GET .../api/describe describes 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 optional channels of Description in ui/runtime.openapi.yaml, the retention of each channel ({name, retained_from, expired}); the fixture source states it too. agenticspec ui conform --architecture checks R6 at <scope> at the architecture and at each part (the parts are the architecture's there) and R2 expired <channel> at <architecture> for each channel whose retention R6 states, so against ui serve both are checked, not skipped.
  • The copy of what the cloudspec translator accepts (bundles/cloudspec-accepts.yaml) now matches cloudspec commit af104709c228e89942a128b370e536a391ff5a5b, which cloudspec_commit names, and states three more facts: interface_ports: true (Interface ports on a unit are accepted), env_forms: [served_names] (an env value {served_names: host_port} is accepted) and ui_upstream_keys: [unit, port, path] (a UI's upstream.secret is not: the translator has no construct that presents an upstream credential). deploy bundle and deploy check against the copy refuse a UI with ui.<ui>.upstream.secret as unit_not_hosted, naming the UI and upstream.secret, and refuse what a copy that lacks the other two facts does not hold. A file without the three new keys is accepts_unreadable.
  • A unit that serves an export of an ingress is bound to the Interface ports (R124 to R127): agenticspec deploy bundle lists under the unit's ports each 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 check refuses 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.json has five ports of the new kind Interface on block architecture, one per operation, each with its protocol and its answers as reports: architecture.read (a view at a scope answ...
Read more

0.4.1

Choose a tag to compare

@b10x-bot b10x-bot released this 28 Nov 03:17
3875c07

Fixed

  • Release binaries name no path of the machine that built them: --remap-path-prefix maps the runner's home, cargo home and checkout to neutral prefixes on every target, and scripts/release-paths.sh fails 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 sim simulates more of an architecture: an agent that reaches several model parts splits its calls by its model_share and each call is priced by its model's route; a runtime part given runs (a run or order link, or a trigger) executes their steps, model calls and person steps; an on_event trigger fires when the simulation emits its event (agentic.work.TaskCompleted and seven more), optionally only for the part its source names, and a trigger may wake a runtime

Changed

  • agenticspec sim reads a part's profile role from its role (coding when an agent names none); harness names the kind of harness only. An agent that answers questions takes its delay from roles.<role>.answer_seconds, so renaming it changes no result; a profile with the old agents section, a model whose route the profile does not price and a runtime that executes runs without a role are 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

Choose a tag to compare

@b10x-bot b10x-bot released this 26 Nov 22:32
eec2f8c

Changed

  • The tool is named agenticspec: the repository https://github.com/beyond10x/agenticspec (the old URLs redirect there), the documentation https://beyond10x.github.io/agenticspec/, the command agenticspec, the crates agenticspec-records and agenticspec-types (Rust paths agenticspec_records, agenticspec_types), the specification system agenticspec, the release archives agenticspec-<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 are AGENTICSPEC_DELEGATES, AGENTICSPEC_UI_DIR and AGENTICSPEC_SYNC_MS; AGENTSPEC_DELEGATES and SESSIONSPEC_DELEGATES are still read when AGENTICSPEC_DELEGATES is not set

agentspec 0.2.0

Choose a tag to compare

@b10x-bot b10x-bot released this 26 Nov 14:56
6128570

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-timeline and session-event-counts; session-list pages by offset, session-events pages newest first by before and filters by agent, kind and notable
  • 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 in ux/baseline.json; task ux:round measures a review round into ux/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 --version in a plain Alpine container

Changed

  • The repository is https://github.com/beyond10x/agentspec and the documentation https://beyond10x.github.io/agentspec/; the old repository URL redirects there. The command and the crates keep the name sessionspec for now
  • The tool is named agentspec: the command agentspec, the crates agentspec-records and agentspec-types (Rust paths agentspec_records, agentspec_types), the specification system agentspec, the release archives agentspec-<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 are AGENTSPEC_DELEGATES, AGENTSPEC_UI_DIR and AGENTSPEC_SYNC_MS; SESSIONSPEC_DELEGATES is still read when AGENTSPEC_DELEGATES is not set
  • sessionspec serve reads 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 before
  • sessionspec serve runs each sync, the first included, as a sessionspec sync child 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 ends
  • sync lifts 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 analyze without --out writes sessionspec-dashboard.html beside the store instead of the working directory

sessionspec 0.1.1

Choose a tag to compare

@b10x-bot b10x-bot released this 26 Nov 06:40
ac6b5d5

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 WireSession keeps 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::append documents that an empty batch returns true and queues nothing

sessionspec 0.1.0

Choose a tag to compare

@b10x-bot b10x-bot released this 26 Nov 04:19
39c551d

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, kpi and analyze read the store
  • sessionspec 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/1 file with loom bindings
  • The UI as an ess-ui/1 document 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 appender
  • SESSIONSPEC_DELEGATES names the sessions whose messages count as a delegate's prompt
  • Releases: the sessionspec binary for x86_64 and aarch64 Linux as archives with SHA256SUMS, built by the tag workflow