-
Notifications
You must be signed in to change notification settings - Fork 2
Define optional observational resolution evidence for Resource bindings #60
Copy link
Copy link
Open
Labels
area:agent-specAgent Spec format, parsing, and the agent-spec crate · Set: manualAgent Spec format, parsing, and the agent-spec crate · Set: manualarea:resourceTyped Resource bindings and linked records · Set: manualTyped Resource bindings and linked records · Set: manualorigin:agentFiled or primarily produced by an AI agent · Set: manualFiled or primarily produced by an AI agent · Set: manualstate:needs-researchNeeds research / investigation before scope or approach is clear · Set: manualNeeds research / investigation before scope or approach is clear · Set: manualtype:featureNew user-visible or system capability · Set: manualNew user-visible or system capability · Set: manual
Description
Activity
Metadata
Metadata
Assignees
Labels
area:agent-specAgent Spec format, parsing, and the agent-spec crate · Set: manualAgent Spec format, parsing, and the agent-spec crate · Set: manualarea:resourceTyped Resource bindings and linked records · Set: manualTyped Resource bindings and linked records · Set: manualorigin:agentFiled or primarily produced by an AI agent · Set: manualFiled or primarily produced by an AI agent · Set: manualstate:needs-researchNeeds research / investigation before scope or approach is clear · Set: manualNeeds research / investigation before scope or approach is clear · Set: manualtype:featureNew user-visible or system capability · Set: manualNew user-visible or system capability · Set: manual
Current boundary
Current main already parses and preserves named typed Resource descriptors, exposes them through
st2 agents --json, and keeps Resource-only declaration changes out of task launch identity and healthy-task replacement. Canonical evals consume the same native Agent Spec vector.The remaining question is deliberately narrower: if an owner provides an optional resolver, what trustworthy observational evidence may st2 expose to read-oriented consumers?
Required invariants
A resolver may report candidate states such as
available,missing,unauthorized,unreachable, orunsupported, but the generic envelope must not pretend that one universal taxonomy captures every downstream type. The resolver owner must define what its evidence means and how stale observations are represented.Existing native seam
The portable declaration and inspection seam is already present:
_tagidentifies the downstream type contract;uriis preserved as exact absolute identity;st2 agents --jsonprojects descriptors without resolving them; andThe missing seam is only optional resolution evidence and a trustworthy read-side consumer of it.
Acceptance direction
A future implementation should prove that:
Outside st2's generic contract
Type-specific cardinality, a special
workrole, “no work means idle,” andA -> no holder -> Bhandoff semantics belong to the owning resource type or eval corpus. They are not generic st2 Agent Spec law. Publication, resolution, launch, readiness, and teardown remain distinct states.Open questions
doctor, or a separate read-only surface?Related