Command Palette

Search for a command to run...

Back to skills
skill № 25337

agent-loop-learning-boundary

Handle reusable knowledge that surfaces during a task, record honest Recall outcomes, close the governed Run learning decision, and keep findings separate…

FreeNo executable scripts
vokuby voku★ 33 GitHub stars

Install agent-loop-learning-boundary in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Agent Loop Learning Boundary

Use this skill after implementation and review, before a governed close, when the Run must record its learning outcome. The task may have produced reusable findings, a follow-up, or no durable learning at all.

The boundary is simple: findings are not durable memory. A Run learning close-out records what happened; it does not approve future guidance.

ctx may provide historical evidence for a finding, but it is not another memory system. Treat ctx hits as raw local session material until inspected and checked against current repository evidence.

Fast Path

First resolve repository-owned paths instead of guessing them:

tools/agent-loop/vendor/bin/agent-loop init paths --format=json

After actual implementation and validation, complete the Recall outcome draft and append it through the Loop wrapper. The wrapper resolves the configured Learning root automatically:

tools/agent-loop/vendor/bin/agent-loop recall log-outcome \
  --draft <recall-root>/<task-id>/recall-log.draft.json \
  --by <actor> \
  --commit <sha>

Then record the governed Run learning decision:

tools/agent-loop/vendor/bin/agent-loop workflow learn <task-id> \
  --status findings_recorded|no_durable_learning|follow_up_required \
  --by <actor> \
  --reason "<bounded reason>"

In the governed workflow, Recall is compiled by workflow approve, not by workflow plan. workflow plan only creates or revises candidate Contract intent. The Recall draft therefore exists only after Recall has actually been compiled for the task.

Validate the configured learning root:

tools/agent-loop/vendor/bin/agent-loop learn validate

Neither recall log-outcome nor workflow learn approves durable guidance. workflow close --status done requires the Run learning decision to be present.

The Boundary Rule

finding -> proposal -> reviewed decision -> durable guidance

Each arrow is a gate:

  • A finding is an evidence-backed observation from work. It is not a rule.
  • A proposal is a structured candidate derived from one or more findings. It is still not a rule.
  • A reviewed decision requires the owning learning workflow and a named human actor where approval is required.
  • Durable guidance becomes authoritative only after that governed handoff.

Closing a Run does not promote a finding. review blindspots, Session checkpoints, Recall compilation, and prompt construction do not promote anything either.

When Findings Were Recorded

If the task produced one or more durable-learning candidates, make the Recall outcome truthful, validate the Learning root, and reference the resulting finding IDs in the Run decision:

tools/agent-loop/vendor/bin/agent-loop recall log-outcome \
  --draft <recall-root>/<task-id>/recall-log.draft.json \
  --by <actor> \
  --commit <sha>

tools/agent-loop/vendor/bin/agent-loop learn validate

tools/agent-loop/vendor/bin/agent-loop workflow learn <task-id> \
  --status findings_recorded \
  --finding <finding-id> \
  --by <actor> \
  --reason "<what was learned and where the evidence lives>"

If the host repository uses the proposal pipeline, validate the candidate with the owning learn CLI rather than editing approval state by hand:

tools/agent-loop/vendor/bin/agent-loop learn proposal-validate \
  --proposal <learning-root>/proposals/candidate/proposal.001.json

When a proposal genuinely requires approval, the approving actor must be the real named human gate required by that command. Do not invent a self-approval to keep automation moving.

When There Is No Durable Learning

A local fix that teaches nothing reusable does not justify a manufactured finding. It still requires an explicit Run learning decision:

tools/agent-loop/vendor/bin/agent-loop workflow learn <task-id> \
  --status no_durable_learning \
  --by <actor> \
  --reason "The evidence was task-local and adds no reusable guidance."

Use no_durable_learning when, for example:

  • the behavior is one-off or entirely local;
  • the reusable rule already exists in authoritative guidance;
  • the observation depends on transient repository state;
  • no evidence-backed recurring pattern emerged.

Do not interpret “no durable learning” as permission to skip the workflow learning close-out entirely.

Follow-up Required

If the Run uncovered a concrete learning or ownership action that cannot safely be completed inside the current Contract, record the real reference rather than silently widening scope:

tools/agent-loop/vendor/bin/agent-loop workflow learn <task-id> \
  --status follow_up_required \
  --follow-up <issue-or-task-ref> \
  --by <actor> \
  --reason "<why this cannot be closed as an in-scope finding>"

ctx Evidence Handoff

When a ctx result materially supports, challenges, or explains a finding, record it as bounded agent_history_reference evidence when the Learning schema supp

Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the agent-loop-learning-boundary skill do?

Handle reusable knowledge that surfaces during a task, record honest Recall outcomes, close the governed Run learning decision, and keep findings separate from reviewed durable guidance.

How do I install the agent-loop-learning-boundary skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the agent-loop-learning-boundary skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare agent-loop-learning-boundary with