Skip to content

agenticspec 0.8.0

Latest

Choose a tag to compare

@b10x-bot b10x-bot released this 01 Dec 20:16
· 2 commits to main since this release
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 step of a run that follows a process and does not name it is refused (wrong-process, StepProcessMismatch), and while a hold on that process stands an Agent step is recorded only as Skipped (model-step-held, ModelStepHeld); other kinds are recorded as before. The network component of blocks/components.yaml accepts PlaceModelHold, an intent. Not checked: that a reading's guard is runs-open and its subject the runtime installed on, and that a reading is fresh. Authored scenarios blocks/scenarios/deployment/guard-reading-install.yaml and blocks/scenarios/work/model-hold.yaml.

  • A subscription's online window, stored, and a control act joined to what it produced (R151). agentic.channel.Subscription has online_for_seconds, the window after the last heartbeat in which its party counts as online (absent, the reader's own threshold); Subscribe takes it as an optional input and refuses a window below 1 s (online-window-not-positive, OnlineWindowNotPositive), and Subscribed and the view Subscriptions carry it. The new entity agentic.channel.ControlAct (identifier agentic.shared.ControlActId, view ControlActs) joins a control post a party clicked to the task, run or decision the click produced, or says it asked a question (asked_question). The new command RecordControlAct (actor Participant, event ControlActRecorded) records it after the runtime carried the click out; it refuses a party other than the caller (NotTheCaller), an act that produced nothing (ControlActProducedNothing) and a post never posted (UnknownPost), and does not check that the task, run or decision exists. agentic.question.Question has control_act_id, the click that asked it, which Ask takes as an optional input and QuestionAsked and the view Questions carry. Whether a party is online is not a view field: it compares now with a stored time plus a stored integer, which ESS 0.99.22 does not state (UNMAPPED in the block). Authored scenarios blocks/scenarios/channel/online-window-stored.yaml, online-window-refused.yaml, online-window-absent.yaml and click-joins-run.yaml.

  • The session lift writes harness rows (R154). agenticspec blocks lift also writes one agentic.harness.HarnessSession per main agent and sub-agent (role, depth, opened_at, the parent's session for a sub-agent; Ended), one agentic.harness.Turn per model turn (usage, context_tokens, at) and one agentic.harness.ToolCall per tool call (input; verdict, decider and output as the transcript records them; Denied, Completed, Failed or Requested), so the harness_session_id, sent_by_call and received_in_turn of the other lifted rows name written rows. New rules block_session, block_turn and block_call in queries/blocks.sq, queried after the seven there; a side call writes no harness row, and a turn's inference and a call's tool stay not_recorded.

  • A model part has its own price (R156). The model setting price, of the new setting type price, maps exactly the token classes of agentic.model.TokenPrice (input, cache_read, cache_write, output) to numbers of at least 0, in USD per million tokens, and takes no per; agenticspec sim check refuses a missing class, an extra key, a negative or non-numeric price (setting_invalid). The simulator prices a metered call to such a part by it, so two models on one route cost what each states; the profile's route price applies only to a part without price, and only then is a route the profile does not price refused. A model whose billing is not metered still costs nothing per token. Under optimize: all the search keeps a part's price fixed; a place its author marks inside it ({value, vary}) is still searched.

  • Outside readers of a runtime's durable state (R158): a runtime part with durable_state: true may name the programs outside the runtime that read that state, state_readers: [<name>, ...] (a non-empty list of texts), as it names its outside writers. The deployment bundle's claim of the <part>-state volume lists them as readers; its access and mount are unchanged, and the claim grants a reader nothing. agenticspec sim check refuses state_readers that is not a non-empty list of texts, or that stands without durable_state: true (setting_invalid). A runtime part without state_readers gives the same bundle bytes as before. Docs: "Durable state" in docs/deployment.md.

  • A model policy names its sub-agents' route, and a process its route need (R148). agentic.harness.ModelPolicy has the optional sub_agent_route, the route a sub-agent of a session under the policy takes when its spawn names none (relation sub_agent to agentic.model.Route), which the harness applies; RegisterModelPolicy takes it and refuses one the policy does not rank (SubAgentRouteNotRanked, outcome sub-agent-route-not-ranked) or ranks above its ceiling (SubAgentRouteAboveCeiling, outcome sub-agent-route-above-ceiling), and ModelPolicyRegistered and the view ModelPolicies carry it. agentic.process.Process has needs_model (false for a process whose steps make no model call, such as one whose programs all have a model budget of 0) and the optional route_id, the route its runs take (relation route to agentic.model.Route); PublishProcess takes both as optional inputs, stores needs_model as true when left out, and refuses a route on a process that needs no model (RouteForModelFreeProcess, outcome route-without-model); ProcessPublished and the view Processes carry both. agentic.work.StartRun reads the process its process_id names: it refuses a route for a run of a process that needs no model (ProcessNeedsNoModel, outcome process-needs-no-model) and a route other than the one the process names (NotTheProcessRoute, outcome not-the-process-route). SpawnSubAgent does not set a sub-agent's route from the policy: the guard would read the policy through the parent session, a second related row, noted as UNMAPPED in the block (ESS 0.99.22). Authored scenarios blocks/scenarios/harness/sub-agent-route.yaml, sub-agent-route-optional.yaml, blocks/scenarios/work/model-free-process.yaml, process-route.yaml and ended-run-refuses.yaml (an ended run refuses EndRun, SuspendRun and ResumeRun, which synthesis no longer reaches).

  • Instruction levels, ranks and a revision rule in the knowledge block (R149). agentic.knowledge.KnowledgeScope has the variant UserGlobal, an item for every agent its owner runs, in every organization and repository, above Organization; it names no repository. A KnowledgeItem holds rank (at least 0; among items of one scope and kind, a higher rank is read first and wins), editor (the one principal who may revise it; absent, any author), main_thread_only and needs_approval, each a field of the Knowledge view. PublishKnowledge takes them as optional inputs (rank 0 and both flags false when left out) and refuses a rank below 0 (negative-rank, NegativeRank). ReviseKnowledge refuses an item never published (no-such-item, KnowledgeNotFound), a revision by another principal than the item's editor (not-the-editor, NotTheEditor), by a sub-agent session of an item revised from a main thread only (sub-agent-not-main-thread, SubAgentMayNotRevise), and of an item that needs approval without an approval of the new content's digest (approval-not-of-this-change, ApprovalNotOfThisChange). The revising principal, whether its session is a sub-agent and the digest the owner's approval named are stated by the caller; the knowledge block (layer 3) checks none of them against a harness session or an authority decision. Authored scenarios blocks/scenarios/knowledge/user-global-instruction.yaml, revise-rule.yaml, revise-without-rule.yaml and knowledge-refusals.yaml.

  • A binding names how its target serves Ingress objects. target.ingress is none (the target serves none) or {class: <name>} (the target's name for its ingress controller, non-empty and without whitespace); deploy bundle carries it unchanged in the bundle's binding document, where a translator reads it, and gives the class no meaning of its own. Before, the binding check refused the key (target: unknown key `ingress`); any other form is now refused with target: ingress is none or {class: <name>}. A binding without it bundles as before. Docs: the target row of the binding table in docs/deployment.md.

  • A change request carries the forge's terms (R147). In the source-control pack, agentic.scm.change.ChangeRequest holds review_ref (the forge's own reference, such as !42), draft, review_requested, depends_on (the change requests that must merge first; recorded and shown, a merge does not read them), armed and armed_by, each a field of the ChangeRequests view; OpenChangeRequest takes review_ref, draft and depends_on as optional inputs. New commands SetDraft and RequestReview (actor Contributor) and ArmMerge and DisarmMerge (actor Merger), each refused on a change request that is not open; ArmMerge and MergeChangeRequest refuse a draft (ChangeRequestIsDraft). RecordChecks answers merge-due and emits MergeDue when the checks of an armed change request pass. ChecksVerdict has the variant Running, a pipeline started and not completed.

  • A workspace can be removed (R147). agentic.workspace.Workspace has the terminal state Removed and the field archive, the store record of the archive it can be recovered from, shown in the Workspaces view. RemoveWorkspace (actor Keeper) is refused while a lease on the workspace is live (LeasesLive); RequestLease and GrantLease refuse a removed workspace (WorkspaceIsRemoved).

  • Budgets per process, nested budgets, reservations and recorded overruns (R142). agentic.authority.BudgetOwnerKind has Process. A Budget names timezone (an IANA zone name a Day or Month window follows; absent, UTC), parent (the budget it sits under) and enforced_by (the part that holds the cap, such as a gateway), all taken by OpenBudget and carried by BudgetOpened and the view Budgets; OpenBudget refuses a parent never opened (no-such-parent, BudgetNotFound) and a limit above the parent's (child-over-parent, ChildOverParent). The new command RecordOverrun (actor Meter) records a total past the limit of an Open budget, for a cost already paid: the budget is Exhausted, overrun_total holds the total and spent keeps the last total within the limit (BudgetOverran, BudgetExhausted); a total not past the limit is refused (no-overrun, NoOverrun). The new entity Reservation (identifier agentic.shared.ReservationId, view Reservations) holds an amount reserved before a paid step: ReserveSpend, BookReservation (with basis, agentic.authority.SpendBasis: Measured or Reservation) and ReleaseReservation (actor Meter; events SpendReserved, ReservationBooked, ReservationReleased), and a book or release of a reservation no longer Reserved is refused (ReservationStateConflict). Not specified yet: a reservation past the headroom is not refused, and a child's spend is not counted in its parent's.

  • Budget windows, model-call budgets, joined starts and route terms (M20, M23). An agentic.authority.Budget names window_start, the start of its current window: the instant OpenBudget opened it, then the start each reset names (BudgetOpened, the view Budgets). The new command agentic.authority.ResetBudget (actor Meter; budget_id, window_start, at) opens the next window of a Call, Day or Month budget: spent is 0 and an Exhausted budget is Open again (event BudgetReset); it refuses a Total budget (BudgetNotWindowed) and a window that does not start after the current one (WindowNotAfter). Exhausted stays terminal, with the reset as its one way out. BudgetResource has the variant ModelCalls. agentic.runtime.StartInstance on a workload with an instance Pending or Running joins it: outcome joined, event InstanceJoined naming that instance, and no second instance. An agentic.model.Route names auth (RouteAuth: None, ApiKey, OAuthToken, CloudIdentity) and billing (RouteBilling: PerToken, Subscription, ComputeTime, Free); DefineRoute takes both and refuses a route without either (RouteAuthMissing, RouteBillingMissing), and RouteDefined and the view Routes carry them. Authored scenarios blocks/scenarios/authority/budget-window-reset.yaml, budget-reset-refusals.yaml, model-call-budget.yaml, blocks/scenarios/runtime/start-joins-running-instance.yaml and blocks/scenarios/model/route-auth-and-billing.yaml.

  • Model policies, unique session names and a decider per permission mode in the harness block (M27). agentic.harness.ModelPolicy (identifier agentic.shared.ModelPolicyId, command RegisterModelPolicy, view ModelPolicies) ranks the routes it knows (routes, a list of RankedRoute {route_id, rank}) and names ceiling_route, one of them (CeilingNotRanked otherwise). OpenSession takes the optional model_policy_id and refuses an unknown policy (UnknownModelPolicy); a sub-agent takes its parent's. The new command RequestRoute (event RouteRequested) sets an open session's requested_route and, under a policy, refuses a route ranked above the policy's ceiling (RouteAboveCeiling) and a route the policy does not rank (RouteNotInPolicy); the route is unchanged. The new command NameSession (event SessionNamed) gives a session its name and refuses a name another open session has (SessionNameInUse); an ended session's name is free. A PermissionMode may name its decider (such as Classifier), and a session opened in it, or spawned from such a session, keeps it. RequestToolCall takes the optional mode_decider, the decider of the calling session's mode as the calling harness states it, and the call keeps it; DecideToolCall refuses a decision by another decider of a call whose mode_decider is Classifier (DeciderNotOfMode, outcome wrong-decider). A sub-agent's requested_route is not held to the ceiling, a mode_decider other than Classifier is recorded but not enforced, and RequestToolCall does not check mode_decider against the session: each noted as UNMAPPED in the block (ESS 0.99.22). Authored scenarios blocks/scenarios/harness/model-policy-ceiling.yaml, session-name-in-use.yaml and classifier-mode-decides.yaml.

  • The grammar of a trigger's condition and intake, and a subject policy that refuses a second firing (M28). CreateTrigger refuses a condition with no comparison, a comparison whose field is not a path of names joined by . (empty, a leading or trailing ., .. or a space) or whose value does not match its operator (a value for Defined and NotDefined, none for the others) as InvalidCondition, and an intake whose input is not a name or whose field is not a path, or that names one input twice, as InvalidIntake. agentic.trigger.SubjectPolicy has the variant Refuse: FireTrigger refuses a firing for a subject key whose earlier firing of the trigger has not ended (Fired or Started) as SubjectFiringOpen, and records nothing. A Firing keeps its trigger's subject_policy (and the view Firings shows it), which the refusal reads. The grammar is checked by ESS, in the guards of CreateTrigger, and stated on agentic.trigger.IntakeField. Authored scenarios blocks/scenarios/trigger/grammar-refused.yaml and subject-firing-open.yaml; schedule-queue-and-skip.yaml walks cause-missing of FireTrigger, which synthesis no longer reaches.

  • A claim holds several units of a pool and gives up after a wait limit (R143). agentic.resource.Claim has units (at least 1) and wait_until (an optional instant). RequestClaim takes the optional units, stored as 1 when left out and refused below 1 as no-units, NoUnits, and the optional wait_until, the request time plus the claimant's wait limit. Pool.held counts the units held, and the new Pool.free the units not held (CreatePool sets it to capacity). GrantClaim refuses a claim of more units than are free as too-few-free-units, TooFewFreeUnits (the claim stays queued); PoolFull still answers first when every unit is held. The new command ExpireWait (actor Scheduler) ends a queued claim whose wait_until has passed: it moves to the new terminal state WaitExpired (transition give_up) and emits ClaimWaitExpired; it is refused as no-wait-limit, NoWaitLimit, for a claim without wait_until, as wait-not-over, WaitNotOver, before it, and as ClaimStateConflict for a claim not queued. The pool is not touched. The view Claims has units and wait_until, Pools has free. That held plus free equals capacity, and that wait_until is the request time plus the wait limit, are not checked (ESS 0.99.22 compares no sum of stored values), noted as UNMAPPED. Authored scenarios blocks/scenarios/resource/claim-default-unit.yaml, claim-units-held.yaml, claim-units-refused.yaml, claim-units-after-release.yaml, claim-units-expired.yaml, claim-units-killed.yaml, claim-of-four-for-a-run.yaml, wait-limit.yaml, wait-not-over.yaml and wait-no-limit.yaml.

  • A binding names a nested architecture as one part of its packing (R164). Under packing.units, a nested architecture's part named in a unit's parts or in external: (external: [work], {name: work, kind: agent, parts: [work]}) stands for its flattened parts (work.inbox, work.gateway, ... and those of architectures nested in it), in the order of the flattened document; a reach given to it is the reach of each of them. The bundle's packing member holds the flattened parts, so its digest is that of the binding that lists them, and its binding member keeps the module's name as written. A module swapped for one with the same border needs no change of the binding. Before, deploy bundle refused the name (packing: external: `work` is not a part of the document). Docs: "Packing" in docs/deployment.md.

  • A delegate can control another principal's sessions, and a delegated act names what it acted on (R136). agentic.delegation.DelegatedAction has the variants ControlSession (stop, restart, brief or type into a session of the delegator), Commit and Push. ActUnderDelegation takes subject, a new agentic.delegation.Subject (kind, such as harness_session, and id), and DelegatedActionTaken carries it. agentic.harness.EndSession takes requested_by (the principal that asks: the session's own, or a delegate), and SessionEnded carries it. RecordRestart takes brief (agentic.shared.Content), ordered_by and requested_by; SessionRestarted, the restarting HarnessSession and the view HarnessSessions carry them. A requested_by that is neither the session's principal nor the delegate of an active ControlSession delegation is not refused yet: ESS 0.99.22 cannot read a caller value in a related-row guard, noted as UNMAPPED above EndSession. Authored scenarios blocks/scenarios/delegation/control-session-under-delegation.yaml and delegated-actions-listed.yaml.

  • Standing grants (R137). An agentic.authority.Grant may have no expires_at: such a grant is open-ended and stands until it is revoked, and GrantAuthority takes expires_at as optional. A grant names act (agentic.authority.Act: Commit, Push, Merge, Tag, Release, Post, Other) beside its action class, and a grant without it covers every act of the class. Its condition is an agentic.shared.Condition, the form a trigger's condition has, no longer text. DecideRequest takes act and cases (the item the request acts on and the flags of its subject, by name), and refuses as grant-does-not-cover (NoGrantCovers) a request whose act is not the grant's or whose cases its excludes name. A decision records its act (Decision, DecisionRecorded, the view Decisions). The condition is still checked by the evaluator that names the grant. An authority part takes the settings act, condition (type condition), excludes (a list of names) and open_ended; agenticspec sim check refuses a condition written as text and an open-ended grant that names expires_after (setting_invalid). Authored scenarios blocks/scenarios/authority/open-ended-grant.yaml and grant-act-and-excludes.yaml.

  • Decision kinds set by policy (R138): which decisions never take a default is decided by a policy, not by the asker. The question block holds a DecisionKind (identifier agentic.shared.DecisionKindId; name, no_default, answer_until_default, recommended_separate, proof), registered by agentic.question.RegisterDecisionKind, which only the new actor agentic.question.Policy may issue; the view DecisionKinds lists them. Ask takes decision_kind and refuses an unknown kind (UnknownDecisionKind) and a default option or deadline on a kind with no_default (DefaultForbiddenForKind); TakeDefault refuses a question of such a kind (NoDefaultForKind); Answer takes an answer after the deadline under a kind with answer_until_default while no default was taken. A question copies its kind's no_default and answer_until_default when it is asked. An architecture document declares its kinds under the top-level key decision_kinds:, a question part names one with the setting decision_kind, and agenticspec sim check refuses a kind the document does not declare (decision_kind_unknown) and a default on a part of a kind with no_default: true (setting_invalid).

  • Approver rules on a grant (R139). agentic.authority.Grant takes approver_rule (NamedPrincipal, HumanNotRequester or NotAuthor), named_approver and attribution, all optional; GrantAuthority refuses a NamedPrincipal grant without a named approver. ApproveDecision takes the required input approver_principal, records it as the decision's approved_by_principal, and refuses ApproverNotPermitted when the approver is the requester under HumanNotRequester, not the named approver under NamedPrincipal, or the request's author_id under NotAuthor. The authority restates the rule on DecideRequest; nothing yet checks it against the grant.

  • A firing records its plan, and a skip its reason: the firings of one tick are a sweep (R152). A sweep is the firings of one tick, one per subject: the scheduler fires the trigger once per subject with the tick and the subject's key. agentic.trigger.Firing has plan (an agentic.shared.Name, what the scheduler chose to do for the subject in the process's own word, such as merge or fix) and skip_reason, both shown in the view Firings. FireTrigger takes the optional input plan and keeps it on every firing it records, fired, queued or skipped at the limit; TriggerFired carries it. SkipFiring sets the firing's skip_reason, and FiringSkipped carries reason; a firing FireTrigger skips at its limit keeps no reason. Authored scenarios blocks/scenarios/trigger/sweep-plans-per-subject.yaml and plan-on-queued-and-skipped.yaml.

  • The simulator takes a runtime's steps and their kinds from the process it follows (R155). A runtime part takes the setting process, the process part whose program its runs follow; a process part takes agent_steps and person_steps, how many of its steps are agent steps (a turn of the role with a model call) and person steps (a question over the running part's question link); the rest are program steps, each a turn's turn_seconds with no model call. Such a run takes the process's steps and the process's role when it names one, does not read the role's task_turns, questions_per_task or step chain, and reports program_steps beside run_steps, model_calls and person_steps. A process that names neither keeps every step a turn of the role and reports program_steps 0. agenticspec sim check refuses (setting_invalid) a process that names no process part and agent_steps plus person_steps above steps; sim run refuses a part whose process has person steps and that has no question link.

Changed

  • ESS 0.99.27 is the pinned release (was 0.99.22): every requires: ess, the ESS_VERSION, SHA-256 and both cache keys of pages.yml and release.yml, AGENTS.md, and the files that record the release (blocks/ports.json, the contracts and digests over it, bundles/, the code ess generate writes). The specification format stays ess/37. It synthesizes 1319 scenarios of the blocks (was 1286) and 1223 of the whole system (was 1192), all passing: the MarkDelivered, MarkRead, MarkReadInTurn and MarkLost scenarios R140's guard not-the-delegate cost are synthesized again, but MarkReadInTurn read (ESS-SYNTH-003, walked by read-in-another-turn.yaml) and MarkLost unknown (ESS-SYNTH-008). agentic.scm.change.ApproveHead/outcome/review-of-other-head is arranged with a review of the change request it approves, so packs/known-synthesis-defects.txt lists nothing. The binding delete-record-on-approval still has no synthesized scenario (ESS-SYNTH-010) and stays in blocks/known-synthesis-refusals.txt.
  • A model unit is admitted. The copy of what the cloudspec translator accepts (bundles/cloudspec-accepts.yaml) now matches cloudspec commit e5c5c62dc9533451b0500b69af6323748b282ce4: unit_kinds gains model and roles gains model-server. deploy bundle and deploy check against the copy admit a packing unit of kind model, whose bundle writes code: {role: model-server}; cloudspec maps it to a stateless service and runs the image its deployment binding binds to that role. A store unit is still refused as unit_not_hosted. Docs: the accepted list in docs/deployment.md.
  • Breaking: agenticspec sim check reads a link's as: a document whose link names under as no part, or a part that is not a principal, was accepted and is refused (unknown_link_parts, as_not_principal) (R141).
  • Breaking: every agentic.channel.Participant credential names the required attribute principal, the principal the party is or its session acts for (R140).
  • Breaking: agentic.channel.MarkRead no longer takes turn_id and no longer records received_in_turn; its MessageRead carries no turn_id. A reader that names its turn calls MarkReadInTurn as a ReadingSession, which checks the turn is one of its own (R140).
  • Breaking: agentic.channel.SendMessage and PostMessage refuse a delegation_id unless sender_principal names the caller's principal and the delegation's delegate, and refuse an unknown or inactive delegation; before, any delegation id was recorded unchecked (R140).
  • agentic.channel.Beat stamps the subscription's last_beat_at ({generated: true, present: true}); before, an implementation could leave it absent. The authored scenario blocks/scenarios/channel/online-window-stored.yaml asserts it on Subscriptions.
  • Breaking: agentic.work.RecordStep refuses a step of a run that follows a process unless the step names that process in its new input process_id (wrong-process, StepProcessMismatch); a worker that records steps of such a run sends the run's process_id with each (R150).
  • Breaking: agentic.work.StartRun refuses a run whose process_id names a process nobody published (UnknownProcess, outcome no-such-process); before, it started the run (R148). A run that names no process is not checked.
  • Breaking: agentic.knowledge.ReviseKnowledge takes the required inputs editor (the principal of the revising session) and by_sub_agent (whether that session is a sub-agent), and the optional approved_digest (R149).
  • Breaking: agentic.authority.DecideRequest takes the required input cases, a list of names; a caller with nothing narrower than the scope sends cases: []. The condition types Condition, Comparison and ComparisonOp moved from agentic.trigger to agentic.shared, so a grant (layer 6) can use them; a trigger's condition reads them there.
  • Breaking: agentic.authority.ApproveDecision takes the required input approver_principal, the person or delegate who approves (R139).
  • Breaking: agentic.harness.OpenSession and agentic.harness.SpawnSubAgent no longer take the input name, and the events SessionOpened and SubAgentSpawned no longer carry it; a caller names a session with the new command NameSession after it opens (M27).
  • Breaking: agentic.trigger.SkipFiring takes reason, why the dispatcher skips the firing, and refuses a skip without one before it reads the firing (outcome reason-missing, error SkipReasonMissing naming the firing_id); nothing changes. A dispatcher that skipped by firing_id alone sends a reason too (R152).
  • A graph larger than its view opens at a readable zoom (R157). The rendered page and the architecture pages of the docs site open such a graph at the larger of Fit and 75 % (the view carries data-open-min="0.75"), so a part name is drawn at 10 px or more and the view pans; before, it opened at Fit, and the 37-part fixture opened near 43 %, its part names near 6 px. A graph whose Fit is above 75 % still opens whole, a graph that fits its view at its natural size; Fit, zoom and actual size stay one tool away, and until one is used a resized view opens again by the same rule.

Fixed

  • An agent with a review link that a trigger wakes finishes as many tasks as one fed from the backlog (R163). A task its reviewer rejects is reworked before the copy takes a new firing, as a backlog-fed copy reworks it before its next arrival: a copy whose kind has a returned task takes no waiting firing, and a run that takes all (takes: all) ends instead of taking its next item. Before, a copy that ended a run took the next firing at once, so under load a rejected task waited until the channel ran dry: four workers and a verifier woken by an on_message trigger on a queue finished 60.5 tasks a day over seeds 1 to 4 of the coding profile, against 88.75 fed from the backlog; now 88.75 both ways. Only an architecture whose triggered agent has a review link runs differently; every committed result.json keeps its bytes.