In short.
Accept is a skill for developers adding a final gate to agent workflows, but it trusts an upstream verdict rather than evaluating the draft itself. The visible Python function refuses any verdict other than pass, converts the round count to an integer and writes an accepted@1 artifact marked DRAFT. It copies existing trace entries and adds a reference for the round count. Python 3.8 or newer and the separate sopkit helper are required. The helper implementation was not supplied, and nothing was executed, so runtime behavior remains unverified.
Researched and written by an AI model and checked by a second AI model. How it works
The scope covers SKILL.md and tool.py in plugins/agentic-sop-kit/kit/skills/accept, together with repository-root LICENSE and NOTICE, at revision 11ac66b3c849f734c4d5bb7989888851a2790557. The shared sopkit implementation, other skills, workflow configuration, hooks and repository-wide behavior are outside the supplied scope. No code was executed. Installation, helper validation, actual process exit behavior, file creation and end-to-end workflow behavior remain unverified.
The overview
identity
Accept is a terminal skill in agentic-sop-kit, within the s0912758806p/agentic-sop-to-work repository. The selected resource consists of SKILL.md, which describes its interface, and tool.py, which implements the gate. Its declared input is verdict@1 and its output is accepted@1.
The original folder is [https://github.com/s0912758806p/agentic-sop-to-work/tree/main/plugins/agentic-sop-kit/kit/skills/accept]. The supplied snapshot is pinned to revision 11ac66b3c849f734c4d5bb7989888851a2790557.
assessment
Its useful feature is a verdict check inside the terminal step itself. A rejected draft routed here by mistake still encounters a refusal in the visible function. This can protect against an incorrect workflow branch, provided the upstream verdict accurately represents the draft.
Acceptance remains an intermediate result: the output explicitly carries draft_status=DRAFT, and the documentation requires human review. The selected folder is not independently runnable because its shared sopkit dependency is outside the supplied files. No installation or execution was performed.
users
The clearest audience is developers assembling agent workflows that pass structured JSON artifacts between steps. It suits a process where another component has already judged a draft and a final component must enforce that decision.
Beginners need to understand that accepted means the upstream verdict passed; it does not mean the draft has been independently checked or approved for publication. Experienced developers will need to inspect the shared helper and decide whether its artifact handling matches their pipeline.
capabilities
The visible function reads an artifact, checks data.verdict and refuses anything other than the exact string pass. On refusal, it prints an error to standard error and raises SystemExit(3) before reaching its output-writing call.
For a passing verdict, it constructs data containing accepted=true, rounds as an integer and draft_status=DRAFT. It copies the upstream trace and appends a round-count entry whose locator is data.round. No draft evaluation or model call appears in this file.
Using it
requirements
Both the documentation and dependency declaration specify Python 3.8 or newer. The visible tool uses Python standard-library modules and imports kit from a local sopkit package.
The documented reusable unit is skills/accept/ together with sopkit/, rather than the accept folder alone. Requirements imposed by sopkit, supported operating systems and compatibility with particular assistants are unknown from the supplied files.
mechanism
The script adds the kit root, two directories above its own folder, to Python's import path and imports sopkit.kit. Its run function calls kit.read_artifact, obtains the data object and compares its verdict field with pass.
After that check, int(data.round) supplies the round count, defaulting to 1 when the field is absent. The function builds accepted@1 through kit.artifact and writes it through kit.write_artifact. Command-line handling is delegated to kit.skill_main; the implementations of these helper functions are not supplied.
setup
Obtain the accept folder and the matching sopkit package, preserving the documented kit layout. Use the pinned revision to keep the instructions, implementation and helper aligned, and retain the required licence notices.
From the kit root, the documented command takes this form: python3 skills/accept/tool.py --in /path/to/verdict.json --out /path/to/accepted.json. These paths are illustrative. The complete input envelope and file-handling behavior need confirmation from sopkit before integration.
example
Consider an otherwise valid verdict@1 artifact with data.verdict set to pass and data.round set to 2. The visible function is written to produce accepted@1 with data.accepted=true, data.rounds=2 and data.draft_status=DRAFT, while copying the existing trace and adding a reference to data.round.
Changing the verdict to reject reaches the refusal branch before this function calls the writer. This is an illustration derived from the code, not an executed example; helper behavior and actual output files remain unverified.
Assessment & evidence
limitations
The tool does not inspect the draft or establish whether an upstream pass is correct. Although verdict@1 is the documented input, the visible function does not itself check the schema field. Any schema validation performed by kit.read_artifact is unknown.
The round count is converted with int without a visible positive-range check. A missing round defaults to 1, yet the added trace entry still points to data.round. Existing trace entries are copied without visible verification. Handling of malformed artifacts, conversion failures, existing output files and write failures depends partly on the unavailable helper.
reasoning
An internal verdict check makes sense when workflow routing can be edited or misconfigured: the terminal step verifies the condition instead of assuming its caller selected the correct branch. That benefit follows directly from the placement of the comparison before output construction.
The protection is narrow. It can reject a non-pass verdict delivered to the wrong step, but it cannot distinguish a justified pass from an incorrect one. Its suitability therefore depends on trustworthy upstream evaluation, compatible artifact handling and a separate human-review process.
alternatives
For a simple pipeline, an alternative design is to put the same verdict comparison directly in the final writer. That would avoid this helper dependency, but the developer would need to implement the draft marker, artifact format and trace handling.
A workflow branch alone would not reproduce accept's additional check inside the terminal step. The supplied files do not establish named alternatives, compatibility comparisons or performance advantages.
evidence
The supplied sources include the full selected SKILL.md and tool.py, plus the repository-root LICENSE and NOTICE. The documentation establishes the intended interface; the Python file supports the implementation findings. Neither establishes successful runtime behavior.
The original captured implementation is available at [https://raw.githubusercontent.com/s0912758806p/agentic-sop-to-work/11ac66b3c849f734c4d5bb7989888851a2790557/plugins/agentic-sop-kit/kit/skills/accept/tool.py]. Its supplied SHA-256 is 32ad8ee52ff7fee187f7215c0582ba8ae329812b838172d005b22e52ca5b43ed. The shared helper and runtime results are not among the supplied evidence.
Access & freshness
costs
The MIT licence grants permission to use and redistribute the software free of charge. The selected files specify no paid service, API key or model usage, and the visible tool contains no model call.
Actual setup, execution and maintenance costs are unknown. Costs of upstream evaluation, the surrounding agent workflow or any dependencies cannot be established from this folder.
rights
The repository's MIT licence permits use, copying, modification, distribution, sublicensing and sale, subject to retaining the copyright and permission notice in copies or substantial portions. It provides the software without warranty.
NOTICE explicitly addresses reuse of individual files and skill directories. It asks users to retain attribution and, where practical, link to the canonical repository [https://github.com/s0912758806p/agentic-sop-to-work]. The source-link request is stated separately from the MIT notice requirement.
freshness
The supplied snapshot was captured on 2026-11-15 at 19:40:32.814 UTC and identifies revision 11ac66b3c849f734c4d5bb7989888851a2790557. These findings apply to that revision.
The selected files do not establish a release version or subsequent repository changes. The @1 suffixes identify artifact schemas; they do not establish a software release number. Current compatibility beyond the supplied snapshot is unknown.
actions
Before integration, obtain and inspect sopkit from the same revision. Confirm its schema validation, command-line handling, error propagation and output-writing behavior, then map verdict@1 and accepted@1 to the surrounding workflow.
Check passing, rejected and missing verdicts, malformed round values, absent round fields and invalid trace data. Confirm that successful output remains DRAFT and reaches human review. These are recommended adoption checks; none was performed here.
