Repository navigation
Description
Summary
Track the intentional API/ABI break introduced by host-side skill delegation and the first delegated native executor. The current implementation adds a required authorizer to SkillDelegationContext::createRoot, changes public layouts/signatures used by ToolRegistry, OrchestratorContext, TSStore::QueryOptions, and GraphIndexManager::boundedBfs, and adds bounded Gorilla decoding and delegated asset-impact registration. The feature remains opt-in; RAG is not covered.
Use Cases
- A host creates a delegation root only after its authorization policy approves each exact grant for the authenticated principal and tenant.
- A host invokes the first native delegated executor for one bound graph and metric while accounting shared candidate and content-byte budgets.
Proposed Solution
Treat this as a deliberate breaking API/ABI change for the next MAJOR release (v3.0.0 target; release timing TBD). Keep the current fail-closed delegation contract, exact resource grants, and shared metering. Document required source changes and the mandatory rebuild of binary consumers. Do not claim physical storage-I/O admission or RAG enforcement.
Alternatives Considered
- Preserve the previous binary ABI by redesigning the public context and tool-registry integration; deferred because the selected strategy is an intentional MAJOR change.
- Keep the implementation without a breaking-change record or migration guidance; rejected by
VERSIONING.md.
Target Version / Milestone
Target Version: v3.0.0
Acceptance Criteria / Copilot Tasks
- Link this issue from
CHANGELOG.mdand record the affected API/ABI surfaces under the Unreleased breaking-change notes. - Publish a migration guide under
docs/migration/covering required host authorizer updates, delegated registration, and binary rebuilds. - Confirm all public API comments and module contracts agree on authorization, resource metering, error behavior, and the absence of RAG/physical-I/O enforcement.
- Run focused graph, Gorilla/TSStore, and LLM tests plus the relevant build targets before release; record exact commands and results.
- Ensure release/version planning treats the incompatible API/ABI change as MAJOR and keeps the implementation opt-in.
- Ensure all existing tests pass and new tests are added where appropriate.
Supply-Chain Details (if applicable)
- Dependency changes in scope: None
- SBOM update requirement: None
- Dependency source authenticity: N/A
vcpkg.jsonbuiltin-baselineimpact: None- Release artifact impact (SBOM + checksum evidence): No dependency/artifact change identified
Release / SOC Details (if applicable)
If this feature affects packaging, deployment, publication, or customer exposure, add the applicable release work as explicit acceptance criteria above and link the required evidence. Otherwise record "N/A".
N/A for packaging changes; release must call out the major API/ABI break and the opt-in status.
Additional Context
- Canonical policy:
VERSIONING.md§9 requires a MAJOR bump, abreaking-changeissue, a CHANGELOG link, and a migration guide. - API evidence:
include/llm/ai_orchestrator.h,include/llm/skill_delegation_context.h,include/index/graph_index.h,include/timeseries/tsstore.h,include/timeseries/gorilla_simd.h, andinclude/llm/asset_impact_analysis_tool.h. - C++ tests are present in
tests/graph/test_graph_bounded_bfs.cpp,tests/test_gorilla_simd.cpp,tests/llm/test_ai_orchestrator.cpp, andtests/llm/test_skill_registry.cpp; build/CTest evidence is still pending.
Activity