Skip to content

feat(autonomy): per-identity prerequisite sections in the ten v1 routine leaves #2718

Closed

Description

@kyle-sexton

Phase 2 of the routine-capability-detection plan (ADR 0011; planned via #2685). Depends on the
Phase 1 contract document (#2717) being merged.

Under the single-home rule (docs/conventions/topic-docs/README.md §The single-home rule),
per-class facts belong to each class's own leaf — the contract document owns vocabulary and
derivation rules only. Each of the ten v1 leaves under plugins/autonomy/reference/routines/
gains a prerequisites section deriving its identities' needs through the Phase 1 vocabulary.

ADR-0004 incumbent evidence (inlined)

  • "Prerequisite" in the leaves today means only the floor/connector consequence inherited from
    the catalog (plugins/autonomy/reference/routines.md:122-133); no leaf carries per-identity
    repo-needs data, and no other surface may (single-home).
  • Identities exist only as leaf prose: plugins/autonomy/reference/routines/doc-freshness-sweep.md:75-76
    names doc-freshness-sweep/advisory and /docs-change in a paragraph;
    ci-health-review.md:51 likewise.

Work items

  • Per leaf: Access class, isolation floor, connector entitlements (and which rung owns
    each), per-posture divergences — derived through the Phase 1 vocabulary, never by hand.
  • Posture-divergent classes must show different prerequisite sets — the grain argument made
    concrete.
  • The isolation floor and executor_class merge cap are cited from the guardrail slice,
    never re-derived — the latter is security-surface data and never repo-derivable.
  • join: and not-a-routine rows gain nothing (no leaves; out of domain).
  • Version bump: assert the manifest version differs from origin/main AND
    scripts/check-changelog-parity.sh --check-bump origin/main exits 0.

Sanity checks

  • ls plugins/autonomy/reference/routines/*.md | wc -l prints 10 (count floor — a
    zero-match glob must not pass), and
    grep -L '^## Prerequisites' plugins/autonomy/reference/routines/*.md prints nothing.
  • At least one leaf shows per-posture divergence (two postures, two different prerequisite
    sets).

Related

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

    needs-triagestatus: ready

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions