Skip to content

refactor(core): define reusable agent and transport capability contracts #24

Closed

Description

@abruption

Current roadmap — 2026-10-13 KST

This section supersedes older milestone/version/priority statements below. Existing acceptance criteria, evidence limits and historical records remain applicable. Versioned milestones are provisional planning targets, not committed dates or implementation/live-test/merge/release authorization. P1 means a milestone prerequisite/current-release item; P2 a planned extension/research track; P3 later dependent work.


Python routes agents through a versioned internal adapter contract. TS hard-codes Claude/Codex dispatch in the executable; its package root exports only pure protocol helpers. MCP, Antigravity and device receivers need a reusable execution boundary without importing a module that immediately runs the CLI.

Scope and completion criteria

  • Define typed agent identity, discovery, submission, capability and execution-context contracts for internal adapters and local/SSH transports.
  • Separate parsing/process exit/output from execution; preserve protocol helpers and explicitly choose which additional APIs are public versus internal.
  • Preserve strict validation, writer revalidation, sanitized errors, partial outcomes, submission-versus-consumption semantics and exactly one dispatch attempt.
  • Registration must not grant destinations or permissions. Optional dependencies must not load on ordinary core paths; external arbitrary plugin loading is outside this change.
  • Run existing TypeScript conformance/transport/package tests and add a test-only adapter contract fixture plus import-without-side-effects coverage.

Dependencies and priority

Dependencies: None; implement within the existing guarded local/SSH contract.

Planning priority: P1 (P1 = foundational/common workflow; P2 = subsequent or optional capability). Milestone is a planning group, not a release or deployment approval.

Evidence

Compared Python 1.0.2 (47c2371) with TS 0.1.0 (0edc4f8), both main heads verified on 2026-09-27.

Activity

  1. added
    enhancement
    on Sep 27, 2026
  2. added
    priority:P1
    on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpriority:P1

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions