/nanoclaw-e2e:typesafe-triagefrom nanoclaw-e2e
Dry-run label triage for nanocoai/nanoclaw issues and pull requests using the TypeSafe System One decision API. Proposes area, kind, priority and triage labels with confidence, compares them with the existing labels, and writes nothing to GitHub. Use to preview or evaluate automated triage, or to replay the offline fixture without a key.
Ships in nanoclaw-e2e. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Fetch the most recently updated open issues and pull requests, ask TypeSafe one fan-out request per item, gate every answer on confidence, and print proposed labels next to the labels the item already carries. The script is read-only towards GitHub. Applying labels is a separate, human decision.
Entry point: typesafe-triage.py (Python 3.10+, standard library only). Offline fixture: nanoclaw-sample.json. Details of the questions, gate and output: docs/typesafe-triage.md.
gh label list -R nanocoai/nanoclaw (the area/*,
kind/*, priority/* and triage/* families and their descriptions).CONTRIBUTING.md (issue forms, "exactly one area/*", maintainer-only
priority, triage/needs-repro meaning) and .github/labeler.yml (path to area
mapping used for the area rubrics)..github/PULL_REQUEST_TEMPLATE.md, marker nanoclaw-pr-template:v2,
whose section headings the script checks for content.POST https://api.typesafe.ai/v1/systemone, model
jev-latest, question types noul, choice, score
(API reference,
confidence,
speculative fan-out).Re-check the rubrics when the label set or the labeler mapping changes.
gh authenticated with read access to the target repository (live mode only).TYPESAFE_API_KEY exported in the shell (live mode only). The script reads it
from the environment at request time, never from a file, and never prints it.
Do not put the key in .env, a fixture, or any file inside a repository.Offline demonstration, no key and no network:
python3 skills/typesafe-triage/scripts/typesafe-triage.py \
--fixture skills/typesafe-triage/fixtures/nanoclaw-sample.json
Live dry run against nanocoai/nanoclaw (30 issues, 20 PRs; nothing is written):
export TYPESAFE_API_KEY=... # from your password manager, this shell only
python3 skills/typesafe-triage/scripts/typesafe-triage.py --record /tmp/triage-record.json
--record saves the fetched items and raw responses so the same run can be
replayed later with --fixture. Raw answers for every run land in
skills/typesafe-triage/output/ (gitignored) or --output-dir. Item bodies are
included there; keep the directory private.
Flags: --repo, --issues, --prs, --area-threshold (0.6),
--kind-threshold (0.6), --priority-threshold (0.6), --noul-threshold (0.7),
--model, --timeout, --json.
One row per proposal. Verdict compares the proposal with the existing labels:
AGREE (already present), DISAGREE (a different label from the same
area/, kind/ or priority/ family is present), NEW (that family is
absent), SKIP (not applicable, for example needs_repro on a feature
request). Below the confidence gate the proposal is triage/unresolved with the
model's top answer in parentheses, so a maintainer sees what it leaned towards
without the script guessing.
The summary reports agreement per question over compared items only (agree / (agree + disagree)), the number of items with at least one gated question, token usage and wall time.
--record run and the agreement summary.priority/* is maintainer-set. The default 0.6 gate comes from the first live
run on nanoclaw (50 items): at 0.8 it withheld 34 of 48 priority proposals, at
0.6 it withheld 13 with every fired proposal agreeing with the existing label,
and at 0.5 disagreements appeared.partial names the failing item).What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub nanocoai/nanoclaw-oss-dev-tools --plugin nanoclaw-e2e10 skills in this plugin
/e2e-channelsFind the test credentials each NanoClaw messaging channel needs (Slack, Telegram, Discord, Teams and the rest), from a file, NC_E2E_* environment variables or ~/.nanoclaw-e2e/channels/, and report every channel as ready or skipped with the missing variable named. Use before a channel E2E run, to see which channels can be tested, or to fill local credential files from 1Password./e2e-exe-devProvision an exe.dev VM and run a headless NanoClaw install on it end to end — Node/pnpm, Docker, OneCLI, vault secret, agent image, service, a cli-channel agent — then assert the same ping round-trip the setup wizard uses. Use to test a branch or PR on a real machine, to reproduce an install failure, or to bake a reusable base VM. Triggers on "e2e test on exe.dev", "install nanoclaw on a vm", "headless install", "test this branch end to end", "exe.dev"./e2e-