agentleFS
WenyuChiouWenyuChiou/agent-collab-skills/skills/agent-output-reconciler/SKILL.md

agent-output-reconciler

Skill30 starsChanged 3 months agoMITView on GitHub

Use when multiple agent results must be checked for missing evidence, scope drift, contradictions, and merge conflicts before an acceptance decision.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Verify claimed tests and artifacts from their evidence references.

    line 35
  2. Distinctive:

    Use the task-content evidence review to bind each result to the current task, run/attempt, baseline, and independently observed candidate.

    line 44
  3. Distinctive:

    Write coordination output to the configured scratch area by default.

    line 63
  4. Very specific:

    All numeric limits come from the canonical policy evaluated by agent-collab policy evaluate.

    line 70
  5. Distinctive:

    Do not vote on factual truth.

    line 80
  6. Distinctive:

    Do not hide failed or absent results with optimistic synthesis.

    line 82
  7. Distinctive:

    Do not paste raw logs when a path and bounded excerpt are sufficient.

    line 83
  8. Distinctive:

    Do not modify source files, canonical memory, history, or human decisions.

    line 84
  9. Distinctive:

    Do not commit, merge, push, or approve the round.

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

agent-output-reconciler

Reconcile completed task results into one evidence-based report. This skill describes what happened and what conflicts remain. It does not accept work, merge changes, retry tasks, or write canonical memory.

Inputs

  • the current plan and its task IDs, roles, scopes, dependencies, and success criteria;
  • each task packet, result summary, structured result, and raw-log path;
  • the relevant TaskCheckpoint and latest PolicyDecision;
  • repository diff and test evidence.

Current plans use provider-neutral roles: primary-agent, delegated-executor, reviewer, and synthesizer. Historical provider fields may be parsed for migration only and must not influence current routing.

Workflow

  1. Validate the plan and checkpoint. If either is unreadable, stop and report a blocker. Do not infer missing policy values.
  2. Inventory every planned task. Preserve null, missing, cancelled, declined, degraded, and failed results as distinct states.
  3. Filter unusable payloads before synthesis, while retaining a record of what was filtered and why. Never turn a completed prose result into null merely because an optional structured-output step failed.
  4. Compare actual changed files with each task's declared scope. Record justified transitive changes separately from unexplained drift.
  5. Verify claimed tests and artifacts from their evidence references. A result without evidence remains unverified even if its prose says "success".
  6. Identify file collisions, incompatible assumptions, contradictory findings, dependency-order violations, and unresolved risks.
  7. Compose a reconciliation report using references/reconciliation_template.md.
  8. Hand the report to agent-acceptance-gate. Do not convert a reconciliation recommendation into an acceptance decision.

Use the task-content evidence review to bind each result to the current task, run/attempt, baseline, and independently observed candidate. Preserve stale or wrong-task evidence as unverified. Account for existing dirty state and parallel writers before attributing a delta. An unchanged result needs contract permission, a reason, and current criterion evidence; mtimes alone cannot prove or disprove success. Content identity does not establish semantic correctness or authorize a transitive scope expansion.

Output contract

The report must contain:

  • plan and policy references;
  • per-task role, status, evidence references, files changed, tests, and risks;
  • filtered or missing result records;
  • agreement that is supported by shared evidence;
  • contradictions and file conflicts;
  • recommended next action with explicit blockers.

Write coordination output to the configured scratch area by default. Promote a report into a repository-owned evidence path only when the project explicitly requires a shipping artifact or acceptance record. Scratch output is not implicitly committable.

Policy and context

All numeric limits come from the canonical policy evaluated by agent-collab policy evaluate. Do not copy default budgets into the plan or this skill. Re-evaluate policy after a reconciliation cycle and before any new spawn. Obey the decision's scope: a v2 action stop forbids repeating that action, not safe primary-agent diagnosis; a goal stop preserves the hard gate. Persist a checkpoint before continuing. An eligible v2 slice advances automatically under the same goal, while v1 retains its original stopping behavior.

Safety rules

  • Do not vote on factual truth. Prefer verified evidence and surface disagreement.
  • Do not hide failed or absent results with optimistic synthesis.
  • Do not paste raw logs when a path and bounded excerpt are sufficient.
  • Do not modify source files, canonical memory, history, or human decisions.
  • Do not commit, merge, push, or approve the round.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.