Repository navigation
Conversation
D21 refines D17: open specifications and vendor-neutral foundation projects may be named as sources of ideas, not as dependencies. Spec v1alpha3 section 1.2 and the README name the Open Workflow Specification and agent-sandbox; AEP-0022 names the for task of the Open Workflow Specification as prior art. Signed-off-by: Simon Lauger <simon@lauger.de>
The repository moved from serverlessworkflow to open-workflow-specification. Signed-off-by: Simon Lauger <simon@lauger.de>
Event triggers (G41 to G46), the concept review (G48 to G58) and models (G59 to G61). Each entry names the AEP it belongs to; G44 is raised to must because approval rules on the initiator do not bind a person who starts a run by message. Questions 8 and 9 record the decided AEP cut. Signed-off-by: Simon Lauger <simon@lauger.de>
AEP-0023 defines host syntax, the platform ceiling, enforce or reject, internal destinations denied by default under the security profile unless manifest and ceiling allow them, and model credentials outside steps. AEP-0024 builds event triggers on CloudEvents with filter semantics, deduplication, rate limits and an attested actor. AEP-0025 declares state with classification, retention and sharing. AEP-0021 B4 no longer treats triggers[].source as a value space, and spec v1alpha3 section 12 lists state as untrusted input. Signed-off-by: Simon Lauger <simon@lauger.de>
AEP-0024 names the listen task of the Open Workflow Specification, AEP-0023 names agent-sandbox, both under decision D21 (pull request Signed-off-by: Simon Lauger <simon@lauger.de> #20).
The repository moved from serverlessworkflow to open-workflow-specification. Signed-off-by: Simon Lauger <simon@lauger.de>
Signed-off-by: Simon Lauger <simon@lauger.de>
Section 10 of the runtime feedback lists what a platform with interactive coding agent sessions and an engine for agent steps had to build itself, with evidence from a test installation, and proposes which platform objects become AWP kinds. AEP-0023 gets the cases that share its reason: credentials of tool servers and the approval authority stay outside the execution environment, agents can require a minimum isolation class, and one rule for ceilings (reject, budgets cap). AEP-0024 and AEP-0025 get evidence from sessions. Signed-off-by: Simon Lauger <simon@lauger.de>
…-0027 AEP-0026 adds the kind AgentSession next to WorkflowRun, autonomy levels with a ceiling set by the author, confirm per action and the session events. AEP-0027 adds agents[].engine for coding agents with workspace configuration off by default and declared outputs filled by the engine. Both numbers are to be confirmed. Signed-off-by: Simon Lauger <simon@lauger.de>
…07, 0009, 0013, 0017 and 0021 Runtime feedback G70 to G78 and G84 pointed to existing AEPs. Each one now carries the proposed text and the evidence from the proof of concept: MCP prompts and resources as allow lists with default none and server requests answered by the runtime (AEP-0007, answers open question 3), the resource scope of shell commands (AEP-0002), prompts as tasks of interactive executions (AEP-0005), the origin of audit events and session history as content (AEP-0009), budgets during streaming (AEP-0013), agent requests in sessions (AEP-0017) and bindings for agents (AEP-0021). Signed-off-by: Simon Lauger <simon@lauger.de>
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical gaps in IPv6 destination checks, prompt-action authorization, and per-call confirmations can bypass intended security controls.
10 open issues
Reserve prompts.get to prevent tool permission collisions · New Require brackets for port-qualified IPv6 addresses and CIDRs · New Normalize IPv4-mapped IPv6 before destination checks · New Require fresh approval for every confirm-always call · New Define permission contracts for sampling and roots requests · New Allow declared human input in unattended execution · New Align isolation and autonomy rejection rules · New Scope event deduplication to the target workflow · New Define conflict handling for shared-store constraints · New Define governance controls in the Agent contract · New
What changed in this PR
This documentation PR combines #19 and #20, translating runtime experience into proposed AWP governance and execution contracts for v1alpha3. It adds five draft AEPs without implementing their schemas or runtime behavior; AEP numbers 0026 and 0027 remain subject to maintainer confirmation.
Changes:
- Records runtime feedback G41–G87 covering events, isolation, state, interactive sessions and coding-agent engines.
- Adds AEP-0023–0027 and amends existing proposals for permissions, prompts, audit, streaming budgets and human input.
- Records decision D21 on named prior art and updates specification context and review documentation.
| File | Description |
|---|---|
spec/v1alpha3/README.md |
Adds related work and treats persisted state as untrusted input. |
spec/README.md |
Indexes the five new draft AEPs. |
README.md |
Names related projects as inspiration, not dependencies. |
docs/v1alpha3-review-guide.md |
Updates runtime-feedback coverage and question references. |
docs/runtime-feedback.md |
Records G41–G87, evidence, proposal status and maintainer questions. |
docs/decisions.md |
Adds D21 permitting named, vendor-neutral prior art. |
CHANGELOG.md |
Summarizes the proposals and documentation amendments. |
aep/0027-agent-engine.md |
Proposes engine selection, workspaces, permissions and outputs. |
aep/0026-interactive-execution.md |
Proposes sessions, autonomy, confirmations and lifecycle rules. |
aep/0025-state.md |
Proposes classified, retained and shared state. |
aep/0024-event-triggers.md |
Proposes CloudEvents filtering, deduplication and actor rules. |
aep/0023-step-isolation.md |
Proposes network enforcement, credential isolation and platform ceilings. |
aep/0022-step-iteration.md |
Adds iteration prior art. |
aep/0021-extension-model.md |
Clarifies event sources and adds Agent binding targets. |
aep/0017-human-input.md |
Extends human-input guidance to sessions and engines. |
aep/0013-runtime-clarifications.md |
Adds streaming-budget accounting rules. |
aep/0009-audit-payload-levels.md |
Defines event origins and treatment of arguments and history. |
aep/0007-mcp-connection-catalog.md |
Expands prompt, resource, server-request and resolution rules. |
aep/0005-prompt-kind.md |
Extends reusable prompts to interactive tasks. |
aep/0002-tool-argument-constraints.md |
Defines shell-command resource matching and denial rules. |
Review effort: Balanced
…ilings reject Review of pull request 23: a port appended to an IPv6 address is ambiguous, so allowHosts becomes allowTo with objects as in network policies (host or cidr, except, ports with port, endPort, protocol). IPv4-mapped and IPv4-compatible addresses are normalised before every check, and NAT64 and 6to4 are denied as internal destinations. A platform ceiling never adjusts a manifest: anything above it is rejected, and under a budget ceiling the limit must be declared. Signed-off-by: Simon Lauger <simon@lauger.de>
…ceiling, agent governance Review of pull request 23: actions with confirm: always accept only allowOnce, a level above maxAutonomy or the ceiling is rejected instead of capped, and an Agent can declare dataPolicy, modelPolicy, environments, policies and audit for executions without a workflow; under security an agent with sessions needs audit with contentRetention. Signed-off-by: Simon Lauger <simon@lauger.de>
prompts.get is a reserved tool name like resources.read; sampling and roots requests are always declined until an opt-in is defined; human input in unattended engine steps follows humanInput; deduplication of events is per workflow; retention and maxSize of a shared store must be equal in every declaration. Signed-off-by: Simon Lauger <simon@lauger.de>
Section numbers of AEP-0023 (7.5.8 to 7.5.10), AEP-0026 (7.5.11) and AEP-0027 (5.4.5) no longer collide with AEP-0002. Examples are valid again (no empty environment entry, notifier agent declared, scalar filter value), the engine example uses a neutral type name, leftovers of capping are removed and spec 5.7 is amended, session.started gets its required data, tool sources of a session are identified by server or name, mapped IPv6 CIDRs are rejected, and G63 and G68 are marked as partly shown. Signed-off-by: Simon Lauger <simon@lauger.de>
|
Split into three smaller pull requests after two reviews kept adding rules: #24 (runtime feedback G41 to G87, D21, AEP-0024, AEP-0025), #25 (AEP-0023, cut down, hardening as implementer guidance) and #26 (AEP-0026 and AEP-0027 as concepts, amendments). The answers to the review comments here are carried over; design findings of the second review became open questions. This pull request can be closed. |


Summary
Combines #20 (related work, decision D21) and #19 (runtime feedback and AEP-0023 to AEP-0027) into one pull request, plus amendments to existing AEPs from the latest runtime work: a Kubernetes runtime proof of concept extended to a platform with interactive coding agent sessions, an engine for agent steps, MCP and model gateways outside the sandbox, tenants with ceilings, and audit at the gateway. Supersedes #19 and #20; their commits are included unchanged (rebased on
main).From #20
v1alpha31.2 and the README name the Open Workflow Specification and agent-sandbox.From #19
docs/runtime-feedback.md: G41 to G61 (event triggers, concept review) and G62 to G87 (section 10, interactive sessions and a coding agent engine), with home, evidence and status. Section 10 also proposes which platform objects become AWP kinds (extends K).isolationclass (G67), one rule for ceilings (G68).AgentSession,sessionsopt-in withmaxAutonomy, autonomy levels,confirmper permission entry, session events.agents[].engine, repositories from inputs or events, workspace configuration off by default, declared outputs filled by the engine.New in this pull request: amendments to existing AEPs
shell.executeas simple commands, unsplittable lines denied (G74).Promptas a task of interactive executions (G75).originof audit events, tool arguments and session history as content (G76, G77, G85).Agent.Every implementation status says what ran on a test installation and what is only implemented or a concept.
Test plan
npm test(596/596)check:linksNot to be merged before review.