SkillsReviewed · s0912758806p

agentic-sop-kit verdict

verdict is a Python skill for developers building agent workflows that converts a reported defect count into pass or reject, but it does not inspect the draft for defects. It uses draft@1 and verdict@1 artifacts and requires the separate sopkit helper.

Researched 16 Nov 2026

In short.

verdict is a small Python skill for developers who need a predictable pass-or-reject step in an agent workflow, but it trusts the supplied defect count instead of evaluating the draft. The visible function converts that count with int(), rejects values above zero and otherwise passes. It delegates artifact handling and command-line execution to sopkit, whose implementation is outside the supplied source. No code was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is complete for plugins/agentic-sop-kit/kit/skills/verdict at revision 11ac66b3c849f734c4d5bb7989888851a2790557: SKILL.md and tool.py, with repository-root LICENSE and NOTICE as related rights evidence. The shared sopkit implementation, other skills, orchestration code and upstream evaluators are excluded. The distributable tool.py is an unchanged source file and still requires sopkit. No code, installation, command-line behavior, integration or benchmark was executed or tested.

The overview

Identity

verdict is a demo skill within agentic-sop-kit in the s0912758806p/agentic-sop-to-work repository. Its documented role is to turn a draft@1 artifact into a verdict@1 artifact that an orchestration layer can use for branching. The resource consists of skills/verdict/SKILL.md and skills/verdict/tool.py under the kit directory.

The original folder is available at [https://github.com/s0912758806p/agentic-sop-to-work/tree/main/plugins/agentic-sop-kit/kit/skills/verdict]. The source snapshot described here is revision 11ac66b3c849f734c4d5bb7989888851a2790557.

Assessment

This is useful when an upstream process already supplies a meaningful defect count and the next step needs a consistent decision. The threshold is explicit, and a missing count triggers a deliberate failure instead of an invented verdict. Its practical fit depends on adopting the artifact interface and obtaining the shared helper; runtime reliability and integration behavior are not established by the supplied files.

Users

The clearest audience is developers connecting review, revision and routing steps in an agent workflow. Beginners need familiarity with running Python commands and reading JSON fields. Experienced developers can use it as a narrow adapter between an upstream defect counter and downstream branch logic. Someone seeking automatic draft review will also need a separate evaluator.

Capabilities

The function reads an upstream artifact, converts data.defects to an integer and constructs output data containing verdict, defects and round. Positive converted counts produce reject; zero and negative converted counts produce pass. An omitted round defaults to 1. The upstream trace value, or an empty list when absent, is passed to the artifact constructor.

If defects is missing, the function writes an error to standard error and raises SystemExit(3). It does not identify defects, repair drafts or perform workflow branching itself.

Using it

Requirements

The documentation declares Python 3.8 or newer and describes python3 as the single tool. Although the visible script uses standard-library imports, it also imports kit from sopkit. The documentation says standalone reuse requires both skills/verdict/ and sopkit/; the verdict folder alone is insufficient.

Input must contain a defects value that int() can convert. If supplied, round must also be convertible. The shared helper's additional requirements and compatibility with the documented minimum Python version are unknown.

Mechanism

The script adds the kit root to Python's import path and imports sopkit.kit. Its run function delegates input reading to kit.read_artifact, applies the threshold, then delegates artifact construction and writing to kit.artifact and kit.write_artifact. Command-line handling is delegated to kit.skill_main.

The verdict field comes from an arithmetic rule without a model decision in the visible function. The orchestration layer must read data.verdict and decide whether to continue or return to an earlier step.

Setup

The documented standalone layout places skills/verdict/ and sopkit/ under a common kit root. Obtain the matching helper from the original repository and retain the accompanying licence notices. No package-manager installation procedure is supplied in these files.

From that kit root, the documented command can be expressed with concrete paths as python3 skills/verdict/tool.py --in /path/to/draft.json --out /path/to/verdict.json. This command was not executed, and its argument parsing depends on the unseen helper.

Example

A code-derived example, not an executed result: after successfully reading input with data equal to {"defects":2,"round":3}, the function constructs output data equal to {"verdict":"reject","defects":2,"round":3}. Input data equal to {"defects":0} produces constructed data equal to {"verdict":"pass","defects":0,"round":1}. The complete output envelope depends on sopkit.

Assessment & evidence

Limitations

A pass means only that the converted count is not positive. It does not establish that a draft is correct, complete or safe. The visible function does not enforce a non-negative integer count: negative values pass, and int() can truncate numeric fractions. For example, a numeric defects value of 0.5 converts to zero and therefore passes.

The missing-field exit is explicit, but invalid values for defects or round have no explicit handling in run. Input artifact-type validation, malformed-file handling, output guarantees and wrapper error behavior are unknown because sopkit is absent. No runtime, performance or end-to-end behavior was tested.

Reasoning

The design separates defect assessment from routing. An upstream evaluator supplies the count, this skill translates it into a decision field, and the orchestrator controls the next step. That gives the verdict field a predictable rule for successfully converted inputs. The resulting decision remains dependent on the upstream count's accuracy and validation.

Alternatives

An inline condition in an existing orchestrator could implement the same threshold when the artifact interface and shared kit integration are unnecessary. This is an architectural alternative inferred from the displayed rule; no competing package was assessed. Workflows that need to discover defects require a separate human, model or programmatic evaluator upstream.

Evidence

The source snapshot contains the verdict folder's complete SKILL.md and tool.py, plus the repository-root LICENSE and NOTICE. The documentation establishes intended use and interfaces; the script establishes the visible threshold, conversions and helper calls. Neither file supplies execution results.

The unchanged implementation is available from its original source at [https://raw.githubusercontent.com/s0912758806p/agentic-sop-to-work/11ac66b3c849f734c4d5bb7989888851a2790557/plugins/agentic-sop-kit/kit/skills/verdict/tool.py]. Shared sopkit code, upstream evaluators and downstream orchestration are outside this source snapshot.

Access & freshness

Costs

No pricing or operating-cost figures are supplied. The MIT licence grants reuse free of charge, and the visible tool.py contains no model or paid-service request. Computing, integration, maintenance and any wider workflow costs remain unknown, as do costs potentially associated with dependencies outside the supplied source.

Rights

The MIT licence permits use, copying, modification, distribution, sublicensing and sale, provided its copyright and permission notices remain in copies or substantial portions. The copyright holder is s0912758806p, dated 2026. The software is supplied without warranty.

The repository NOTICE explicitly addresses copying individual files and skill directories. Retain the copyright and MIT permission text when reusing this skill or tool.py, and preserve attribution to the canonical repository. The NOTICE requests a link to [https://github.com/s0912758806p/agentic-sop-to-work] where practical.

Freshness

The snapshot was captured on 16 November 2026 at 18:39:45.377 UTC from revision 11ac66b3c849f734c4d5bb7989888851a2790557. This identifies the source version covered here; it does not establish the last modification date, a release version or current maintenance activity. Later changes and compatibility updates are unknown.

Actions

Before adopting the skill, obtain and inspect the matching sopkit helper, confirm the artifact contract and decide where counts will be validated. Keep the original source revision and licence notices with copied files.

Verify positive and zero counts, missing defects, negative and fractional values, invalid round values and trace handling in your intended environment. Confirm that the downstream orchestrator routes both pass and reject correctly. These are suggested adoption checks; none was performed here.

Evidence for this report

LICENSEnotice · checked 2026-11-16
NOTICEnotice · checked 2026-11-16