byan-suitability
Advisory model-suitability ledger — record adversarial verdicts, read learned ratings, human decides downgrades
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Advisory model-suitability ledger — record adversarial verdicts, read learned ratings, human decides downgrades
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
BYAN — Builder of YAN. Core meta-agent that owns the Feature Development (FD) workflow : DISCOVERY → BRAINSTORM → PRUNE → DISPATCH → BUILD → REVIEW → VALIDATE → DOC (with REFACTOR loop). Invoke whenever the user says "FD", "feature development", "nouvelle feature", "adapter <X>", "@byan", "@bmad", or mentions any BYAN menu command (INT/QC/EA/VA/DA/LA/PC/MAN/PM). Applies Merise Agile + TDD + 71 mantras. Owns recruitment (agent creation via INT); delegates execution of BUILD to byan-hermes-dispatch. Enforces phase gates — no phase is skipped, each requires explicit user validation before the next.
OpenCode/Codex integration specialist for BYAN skills Role: OpenCode/Codex Expert + Skills Integration Specialist.
BYAN local project skill. Use when working in the BYAN repo, invoking BYAN agents/workflows/commands, enforcing BYAN Strict Mode, or needing the portable BYAN filesystem map.
Autonomous BYAN dispatcher. Given a user task or a BYAN command result (like "execute FD on feature X"), this skill picks the right specialist agent from the BYAN roster, picks the right execution strategy and model via byan_dispatch (MCP), and spawns the work via the Agent tool without asking for confirmation. Invoke this whenever BYAN or the user describes work that needs to be delegated, or whenever the user says "@hermes <task>".
Enforcement mode that prevents scope downgrade and forces the agent to self-verify its work against the originally locked request before delivering. Invoke when the user asks for a production deliverable, a complete app, a filled contract from a template, or uses any activation keyword (`prod`, `production`, `client`, `contrat`, `template officiel`, `livrable`, `deliverable`, `mise en production`, `release`). Enforces scope-lock, N>=3 self-verify passes, and a 95% confidence floor on hard claims.
Fact-check scientifique BYAN (Demonstrable, Quantifiable, Reproductible). Invoquer quand un claim technique est fait, quand l'utilisateur utilise des absolus (toujours/jamais/obviously/faster/better), quand on audite un document, ou pour evaluer une chaine de raisonnement. Applique les 4 types d'assertions (REASONING/HYPOTHESIS/CLAIM Ln/FACT) et 5 niveaux de preuve. Domaines stricts (security/performance/compliance) = LEVEL-2 minimum.
| name | byan-suitability |
| description | Advisory model-suitability ledger — record adversarial verdicts, read learned ratings, human decides downgrades |
This skill operates the model-suitability ledger: a registry, keyed by
(model x leaf), that learns from outcomes whether a CHEAP model is safe on a
given workflow leaf. It is the learning layer that sits ABOVE the static
conservative default and the linter floor — it does not weaken either. It only
advises; a human decides whether to keep, watch, or demote a downgrade.
.claude/workflows/*.js. Zero auto-edit of routing.workflows-lint.js). The floor still
blocks a protected-leaf downgrade at commit time, regardless of the ledger.Each (model x leaf) pair holds a Beta-Bernoulli posterior over the cheap
model's adequacy rate. The verdict reads the credible interval, not the point
estimate:
keep-cheap — the credible LOWER bound is at or above the keep threshold
(default 0.85). Only sustained success earns this (~30 clean outcomes).demote — the credible UPPER bound is at or below the demote threshold
(default 0.70). Clear evidence the cheap model fails too often.watch — anything in between, including every thin sample. A wide interval
(low n) lands here, so "92% over 3 runs" reads as watch, not keep-cheap.The report surfaces the lower bound and n by design, not a bare percentage,
because the same point estimate means different things at n=3 and n=300.
The signal is the adversarial VALIDATE pass: N skeptics (an odd panel, e.g. 3) each try to REFUTE that the cheap model is adequate on one downgraded leaf. A leaf is flagged (cheap inadequate) when at least half refute.
A .claude/workflows/*.js script cannot call MCP tools or write state (the
sandbox / state-coupling rule). So the wiring is hybrid:
[{ model, leafId, refutedVotes, totalVotes }, ...].verdictsToOutcomes from
_byan/mcp/byan-mcp-server/lib/suitability-feeder.js
(success = the cheap model survived the panel).byan_suitability_record
({ model, leafId, success, source: 'adversarial-pass' }). This is the only
write path to the ledger; record is best-effort and does not throw.byan_suitability_report (optional model filter) — returns advisory
rows, most-actionable first, each with the lower bound, n, and a verdict.node _byan/mcp/byan-mcp-server/bin/byan-suitability.js [--model haiku] [--json]
— the same data, read-only.Today only a handful of exploration leaves are downgraded, and all are already
cheap, so the ledger produces little actionable signal in the short term. This
is foundation — an evidence rail for when the workflow leaf-set grows — not an
immediate token win. Do not oversell a keep-cheap on a thin n.