Skip to content

Plan / Interface amendment: complete AGENTS hierarchy MVP contract - #2131

Merged
JAORMX merged 1 commit into
mainfrom
plan/agents-hierarchy-contract-amendment
Oct 6, 2026
Merged

JAORMX merged 1 commit into
mainfrom
plan/agents-hierarchy-contract-amendment

Conversation

@JAORMX

@JAORMX JAORMX commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Plan / Interface amendment

Relates to #2090. Completes the technical contract left open by merged #2092 before productionizing #2110.

Only the existing acceptance plan and ADR 0376 are changed. No new files or runtime implementation. The operator requested this in-place amendment and a separate PR.

Closed contract gaps

  • Extend the existing assembler/discovery/manifest APIs in place, with exact signatures and migration of all wrappers/custom callers; no optional legacy or parallel interface.
  • Specify operator configuration harness_context.project_instruction_max_bytes, default 65,536 bytes, validation and factory/child propagation.
  • Specify ephemeral session ownership and incarnation-keyed server attachment, continuation/compaction retention, cleanup, source-admission revalidation, and restart rediscovery.
  • Replace unjustified fixed probe counts with bounded lexical discovery: at most two reads per newly examined source/directory pair, no rereads, cancellation checks, content/metadata limits, and counted reference-adapter evidence rather than a claimed production latency SLO.
  • Specify client-visible safe advisories through the existing event/projection path.

The agreed MVP remains lazy, source-admitted and non-gating: no repository-wide scan, Shell inference, automatic live refresh, persisted instruction bodies, or new transport operations. Fresh-context children load current admitted guidance; conversation forks inherit a snapshot.

Validation

  • Acceptance-plan checker passed: 14 ACs across five scenarios; no unchecked decisions remain.
  • Acceptance-checker regression fixtures passed.
  • task docs and git diff --check passed.
  • Advisory design review found no correctness or stated-requirement gaps.

The amendment is proposed for review, not a claim that #2110 implements it or that the feature has shipped. Runtime gates belong to #2110.

Specify canonical APIs, configurable limits, live-session ownership, and structurally bounded lazy discovery in the existing plan and ADR.

Co-authored-by: Mecatl <[email protected]>
@JAORMX
JAORMX merged commit 9cf5779 into main Oct 6, 2026
29 checks passed
@JAORMX
JAORMX deleted the plan/agents-hierarchy-contract-amendment branch October 6, 2026 07:58
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Oct 7, 2026
2 tasks
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