In short.
AutoCode judge is a skill for AI coding assistant builders that guides when an assistant should act or ask, but it does not guarantee approval before spending money or changing production. Its version 6.2.2 instructions pair assistant-generated ratings with the iLang v5.0 Python decision function. The function is inspectable, but favorable ratings can outweigh the documented spending restrictions. Host integration, scoring accuracy and runtime behavior are not established by the supplied evidence; nothing was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage comprises the complete supplied selected folder: skills/judge/SKILL.md and skills/judge/scripts/f_v5.py at revision 970f6ddfffdc667abb6f5cc3f2ff8715d105829e, plus the repository-level LICENSE supplied as an applicable notice. Other AutoCode folders, referenced specifications, host integrations and external services are outside this scope. Findings derive from the supplied text and static calculations. Nothing was executed; selftest outcomes, actual approval enforcement and deployed assistant behavior remain unverified.
The overview
Identity
Judge is the skills/judge folder in ilang-ai/autocode. Its SKILL.md declares version 6.2.2 and describes a judgment layer for deciding when AutoCode acts independently, seeks approval, asks a question or stops. The folder includes scripts/f_v5.py, identified as the iLang v5.0 reference decision function.
The original folder address is [https://github.com/ilang-ai/autocode/tree/main/skills/judge]. The supplied files are pinned to revision 970f6ddfffdc667abb6f5cc3f2ff8715d105829e; they do not establish the behavior of the entire AutoCode project.
Assessment
The useful feature is the separation between an assistant interpreting a situation and a small Python function choosing a response mode. Developers can inspect the thresholds rather than relying entirely on prose instructions.
It is better suited to studying or adapting assistant decision behavior than serving as the sole approval control for consequential tools. The code does not perform actions or enforce consent, and its weighted formula can permit execution despite the spending restrictions described in the skill.
Who it suits
The resource suits developers building or adapting AI coding assistants, particularly assistants that should handle routine local work while involving users in costly or consequential decisions. It also offers concrete examples for people studying agent autonomy.
Beginners can understand the intended outcomes through examples involving local edits, server purchases and deletion. Connecting those outcomes to real tools requires technical integration; the supplied folder does not establish a ready-to-use application or compatibility with a particular assistant host.
Capabilities
The helper returns eight modes: execute automatically, execute with an audit line, request confirmation, advise without acting, ask for clarification, defer to the appropriate decision maker, decline with an alternative, or stop. It also returns a score where applicable and a short explanation of the decision stage.
The instructions describe how to rate situations involving money, production, deletion, uncertain intent and other people's work. They also specify concise user-facing explanations. These are intended assistant behaviors; the helper itself only returns decision data and prints command-line output.
Using it
Requirements
The Python file states Python 3.8 or newer and uses only the standard library. Each decision requires 11 ratings: intent, capability, consequence, relationship, certainty, authority, reversibility, evidence, sovereignty, inertia and externality. The documented range is 0 to 1, with higher values favoring independent action.
An assistant host must interpret the situation, supply those ratings, invoke the helper and enforce its result before taking action. Full AutoCode requirements and host-specific integration requirements are unknown. The referenced PRODUCT-4 and SPEC-v5.0 documents are outside the supplied files.
How decisions work
The assistant assigns the ratings; Python applies the decision rules. The function first rounds ratings to two decimal places. It then checks stop conditions, insufficient certainty or evidence, and insufficient authority, in that order. Missing fields or values that fail ordinary numeric conversion return the clarification mode.
If those checks permit proceeding, the function calculates a weighted score across ten dimensions. Authority is handled separately. Scores strictly above 0.85 select automatic execution; above 0.70 select execution with an audit line; above 0.55 select confirmation; above 0.40 select advice; above 0.25 select decline with an alternative; remaining scores select stop. Authority below 0.55 downgrades either execution mode to confirmation.
Consequence has the largest weight at 20%. Intent, reversibility and sovereignty each contribute 15%. These weights make the function repeatable for a given accepted vector, but do not establish whether the assistant assigned appropriate ratings.
Setup
Obtain SKILL.md and scripts/f_v5.py from the same source revision, preserving their relative paths and the applicable license notice. A host integration would need to load the instructions and call the Python function before relevant tool actions.
From the skill directory, python3 scripts/f_v5.py --selftest invokes the nine embedded example cases. This command is documented here only; it was not executed. The supplied folder does not show an installation procedure or a mechanism that makes these checks mandatory in a running assistant.
Example decision
The supplied purchase example uses this command from the skill directory: python3 scripts/f_v5.py int=0.9 cap=0.9 csq=0.6 rel=0.6 cer=0.8 aut=0.8 rev=0.4 evd=0.7 sov=0.6 ine=0.7 ext=0.9.
Static arithmetic gives a weighted score of 0.6880, which maps to M3 CONFIRM. The intended assistant behavior is to explain the proposed purchase and cost, then wait for approval. This is a calculation from the supplied code, not an observed execution result.
Assessment & evidence
Limitations
The spending rule does not guarantee confirmation. It caps sovereignty at 0.60 and reversibility at 0.40 until approval. If every other dimension is 1.00, the supplied formula produces 0.8500 and selects execution with an audit line. That conflicts with the instruction to wait before spending. This counterexample follows from static arithmetic; it was not executed.
The helper does not reject values outside the documented range or explicitly reject non-finite numbers. Its decisions also depend on the assistant accurately estimating intent, authority and consequences.
The nine embedded cases cover chosen vectors rather than the full range of situations. They do not establish scoring calibration, resistance to misleading inputs, mandatory tool interception or reliable behavior in a deployed assistant.
Design tradeoffs
Separating interpretation from a fixed decision function makes numerical decisions easier to inspect and reproduce. It also exposes disagreements between the written rules and the formula, such as the spending counterexample.
The tradeoff is that subjective judgments become precise-looking numbers without supplied evidence that those numbers are calibrated. A consistent calculation can still produce an unsuitable decision when the ratings or policy boundaries are wrong.
Alternative approaches
No named competing resources or comparative results are supplied, so relative quality and compatibility are unknown.
For workflows requiring approval before every purchase or production change, a tool-level rule requiring explicit authorization would address a different need from this weighted decision function. This is an architectural alternative inferred from the helper's limitations, not an evaluated product comparison.
Source evidence
The instruction source is [https://raw.githubusercontent.com/ilang-ai/autocode/970f6ddfffdc667abb6f5cc3f2ff8715d105829e/skills/judge/SKILL.md]. It establishes intended behavior and the declared skill version.
The implementation is [https://raw.githubusercontent.com/ilang-ai/autocode/970f6ddfffdc667abb6f5cc3f2ff8715d105829e/skills/judge/scripts/f_v5.py]. It establishes the formula, command-line interface and embedded cases, but supplies no observed runtime results.
The license is [https://raw.githubusercontent.com/ilang-ai/autocode/970f6ddfffdc667abb6f5cc3f2ff8715d105829e/LICENSE]. No execution logs, integration demonstrations or independent performance measurements are included.
Access & freshness
Costs
The supplied evidence establishes no subscription price or operating-cost estimate. The helper contains no paid-service calls and uses the Python standard library. Costs for any surrounding assistant, model, hosting or tools remain unknown.
Server prices mentioned in the instructions are illustrative dialogue, not verified prices or an estimate for operating this resource.
License and reuse
The supplied repository-level MIT License names I-Lang Research, iLang Inc. as the 2026 copyright holder. It permits use, modification, redistribution, sublicensing and sale of the software and associated documentation.
Copies or substantial portions must retain the copyright and permission notices. The license disclaims warranties and liability; permission to reuse the files does not establish their operational reliability.
Version and freshness
The files were captured on 2026-11-16 at 08:20:03.328 UTC from revision 970f6ddfffdc667abb6f5cc3f2ff8715d105829e. The skill declares version 6.2.2, while its protocol and decision function are labeled iLang v5.0; these identify different components.
The supplied evidence does not establish the last modification date, later changes or whether this remains the newest revision.
Before adopting it
Start with the pinned instruction file and helper together. Establish how the host generates ratings, invokes the function and prevents tools from acting before required approval.
Before connecting consequential tools, add explicit authorization checks where approval must be unconditional, validate numeric inputs and expand coverage beyond the nine examples. The spending counterexample is a concrete case to address. Keep the MIT notice with redistributed files.
