General-purpose coding policy for Baruch's AI agents
91%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
These preconditions bind the exceptions named in rules/script-delegation.md.
Applies when a script locates another plugin's skill script, or relies on another plugin script's non-JSON stdout, for an installed plugin or one authored in its own verified repository.
A script that calls its runtime's interfaces (host IPC task files, MCP tools, a provider API) is integration code outside this section. It reads and writes each interface in the shape the interface owner's existing contract defines, and the owner's tests cover that shape. This section adds no authority beyond the owner's contract.
Preconditions (all required):
The provider declaration does not replace an invoking skill or reference's contract under
rules/script-as-black-box.md. Every other command block follows Scripts Are Real Files
and Script Requirements unchanged.
jbaruch/coding-policy owns the scoped helper contract for skills/release/** and skills/learning-pass/scripts/learning-delivery.py consumers.
These co-shipped targets live under skills/release/:
| Target | Input → successful output |
|---|---|
resolve-publish-run.sh | owner, repository, source commit, workflow and optional ref → JSON database_id |
confirm-tessl-landed.sh | workspace, plugin, captured baseline and run id → landed version plus newline |
verify-moderation-cleared.sh | workspace, plugin and published version → JSON moderation verdict |
fleet_publish_wait.py | consumer repository, merged source SHA and optional central run id → JSON source-bound run selection after bounded enqueue waiting |
fleet_publish_resolver.py | consumer repository, merged source SHA and optional central run id → JSON source-bound central run selection |
fleet_publish_confirm.py | consumer repository, merged source SHA, baseline and central run id → JSON exact-version publication confirmation |
The consumer resolves only the host-installed jbaruch/coding-policy provider;
caller data cannot choose a replacement root or executable. Resolve an
installation-root alias once, then validate the actual provider manifest's
name, version, declared release skill and declared authority rule. Each target
must be a regular contained file under that same provider. Refuse linked
target components, missing files and provider/target substitution before
execution. Retain the verified provider identity across the readback sequence.
The helpers retain their own watch budgets and publication gates. Their input,
output, exit-code and recovery contracts are canonical in
skills/release/references/PUBLICATION.md; the confirmation helper's successful
version stdout also follows Version Stdout below.
A successful lookup never substitutes for successful source-bound publication,
registry advance or moderation. Readback grants no approval of changed bytes.
The historical central fleet readers co-ship fleet_publish_resolver.py and
fleet_publish_confirm.py under the same verified release provider. Their JSON
selection and confirmation contracts are declared in their docstrings and
skills/release/references/fleet-publication.md. Neither changes the legacy
version-stdout helper contract. Central source identity is separate from the
workflow's own commit; resolve and retain both through confirmation.
Provider regressions live in tests/release/tests/test_resolve_publish_run.sh,
tests/release/tests/test_release_helpers.sh and
tests/release/tests/test_verify_moderation_cleared.sh. Consumer lookup and
link/substitution refusal coverage lives in jbaruch/nanoclaw-admin
tests/test_learning_delivery.py.
Applies to skills/release/registry-baseline.sh and
skills/release/confirm-tessl-landed.sh when the wrapper's whole output is the
version or verified unpublished baseline its caller passes to the next gate command.
Preconditions (all required):
unpublished requires verified registry absence or a supported empty versions response; authentication failures and indeterminate reads never prove absence.Every other release script retains the JSON-producing requirement.
Applies to skills/release/lib/bounded-run.sh when a caller runs a script or an
existing third-party tool under a wall-clock budget.
Preconditions (all required):
Every other skill script retains the JSON-producing requirement.
.tessl-plugin
rules
skills
adopt-fork-pr
coding-contracts
references
migrate-to-plugin
onboard-repo
release
hooks
references