Skip to content

docs: runtime feedback G88 to G95, references by name, kinds Model and McpServer - #35

Open
slauger wants to merge 11 commits into
mainfrom
docs/references-model-mcpserver
Open

slauger wants to merge 11 commits into
mainfrom
docs/references-model-mcpserver

Conversation

@slauger

@slauger slauger commented Nov 27, 2026

Copy link
Copy Markdown
Member

Runtime feedback G88 to G95 from comparing the data model of kagent (CNCF project, named as prior art under D21) with the v1alpha4 draft. Details and the gap table are in docs/runtime-feedback.md section 11.

The common thread: AWP has a list kind (ModelCatalog) and required pins to objects the platform owns (modelPolicy.catalog, mcpServers[].catalog.ref, policies.include). A price change, a new tool of a server or a stricter organisation policy then needs a change in every workflow. Kubernetes keeps one object per thing and resolves references by name. This PR proposes that rule and applies it in new Draft AEPs. Nothing is accepted.

New Draft AEPs

  • AEP-0029 references by name: {name, version?, digest?}, version and digest are assertions, the runtime records what it resolved, pins are required by the security profile or a policy. Workflow steps get workflow.digest (G91). Contains the proposed rule for a decision of the project lead.
  • AEP-0030 kind Model: one object per model with limits (enforced), defaults, profiles and provider-neutral parameters; runtime model calls (fallback, summarisation, embeddings, sampling) fall under model policy, data policy and budget (G88). Proposed to supersede AEP-0008; revisits D10.
  • AEP-0031 kind McpServer: one object per MCP server, without URL and credentials, referenced by name. Proposed to replace the kind McpCatalog of AEP-0007.
  • AEP-0032 policy syntax: shorthands as enums (git.push: deny), conditions as match expressions. Next API version.
  • AEP-0033 durations in the Go and Kubernetes format, retention in days. Next API version.

Amendments

  • AEP-0003: outputs with a schema are typed by it in when (3.12).
  • AEP-0021: policy attachment with targetRefs for organisation policies; schedule suspension in the binding with the reserved reason suspended (G90); signatures outside spec as an open question.
  • AEP-0023: secrets[].deliver.header to one target; execution identity with auth.method: workloadIdentity and audiences (G89); declared model and MCP endpoints need no allowTo entry.

Editorial (spec v1alpha4)

  • 3.10: in an object store a reference resolves by name; version and digest are assertions.
  • 8.1: a shorthand true does not allow the action (git.allowPush: true permits no push).
  • 7.5.4: network requirements of a specific use belong in the workflow.

Questions for the project lead

docs/runtime-feedback.md section 12, questions 12 and 13: record "one object per thing, references by name, pins by profile or policy" as a decision (revisiting D10), and whether the change to the accepted AEP-0028 is an erratum of the draft or waits for AEP-0029.

Related issues: #33 (list types in the generated CRDs, G95), #34 (workspaces shared by the steps of one execution, G87).

npm test: 956/956 passed. Older versions, schemas and conformance suites are unchanged.

… not allow (editorial)

Signed-off-by: Simon Lauger <simon@lauger.de>
…d resolution

Signed-off-by: Simon Lauger <simon@lauger.de>
…runtime model calls

Signed-off-by: Simon Lauger <simon@lauger.de>
…ced by name

Signed-off-by: Simon Lauger <simon@lauger.de>
…ures outside spec

Signed-off-by: Simon Lauger <simon@lauger.de>
Signed-off-by: Simon Lauger <simon@lauger.de>
Signed-off-by: Simon Lauger <simon@lauger.de>
Signed-off-by: Simon Lauger <simon@lauger.de>
Signed-off-by: Simon Lauger <simon@lauger.de>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant