Skip to content

feat(agent): add a portable learning-capture gate #482

Description

@ss-o

Problem

Non-trivial agent sessions can discover reusable decisions, failures, patterns,
and workflow improvements, but the current policy does not provide a consistent
classification step before completion. Valuable findings can remain in chat,
while indiscriminate automatic capture would create noise and competing sources
of truth.

Proposed outcome

  • require a lightweight learning and reuse review before non-trivial work is
    claimed complete
  • keep the mandatory rule in AGENTS.md
  • place detailed classification and destination rules in one canonical runbook
  • provide an advisory reusable skill through progressive disclosure
  • preserve explicit consent for private memory
  • keep hooks optional and non-writing
  • evaluate the workflow after 30 non-trivial tasks or four weeks, whichever
    occurs first

Acceptance criteria

  • every supported runtime receives the mandatory rule without depending on a
    hook or skill
  • No durable learning is a valid silent result
  • useful candidates are routed to existing canonical owners
  • no central append-only learning log is created
  • no hook automatically writes memory, policy, issues, or documentation
  • public and private instruction validators pass

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions