ultra11y 5.52.0 → 5.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.opencode/plugins/ultra11y.js +1 -1
- package/package.json +1 -1
- package/scripts/ultra11y.mjs +189 -24
- package/skills/review-a11y/SKILL.md +1 -1
- package/skills/review-a11y/scripts/ultra11y.mjs +189 -24
- package/skills/ultra11y/SKILL.md +2 -1
- package/skills/ultra11y/references/orchestration.md +4 -0
- package/skills/ultra11y/references/orchestrators.md +28 -0
- package/skills/ultra11y/scripts/ultra11y.mjs +189 -24
- package/skills/ultra11y/templates/gitlab-ci.yml +1 -1
- package/src/cli.ts +14 -1
- package/src/orchestrate-templates.ts +13 -19
- package/src/orchestrate.ts +226 -13
- package/src/types.ts +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"name": "ultra11y",
|
|
11
11
|
"source": "./",
|
|
12
12
|
"description": "RGAA 4.1.2 accessibility audits on a WCAG 2.2 AA core: automatic review before commit, push and pull request, plus dated, evidenced Markdown, HTML and per-page conformance reports in Claude Code.",
|
|
13
|
-
"version": "5.
|
|
13
|
+
"version": "5.53.0",
|
|
14
14
|
"author": { "name": "maxgfr" },
|
|
15
15
|
"homepage": "https://github.com/SocialGouv/ultra11y",
|
|
16
16
|
"repository": "https://github.com/SocialGouv/ultra11y",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
3
|
"description": "RGAA 4.1.2 accessibility audits, the French State's standard, on a WCAG 2.2 AA core: automatic review before commit, push and pull request, plus dated, evidenced Markdown, HTML and per-page conformance reports. Never declares conforming what it has not verified.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.53.0",
|
|
5
5
|
"author": { "name": "maxgfr" },
|
|
6
6
|
"homepage": "https://github.com/SocialGouv/ultra11y",
|
|
7
7
|
"repository": "https://github.com/SocialGouv/ultra11y",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
3
|
"description": "RGAA 4.1.2 accessibility audits, the French State's standard, on a WCAG 2.2 AA core: automatic review before commit, push and pull request, plus dated, evidenced Markdown, HTML and per-page conformance reports. Never declares conforming what it has not verified.",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.53.0",
|
|
5
5
|
"author": { "name": "maxgfr", "url": "https://github.com/maxgfr" },
|
|
6
6
|
"homepage": "https://github.com/SocialGouv/ultra11y",
|
|
7
7
|
"repository": "https://github.com/SocialGouv/ultra11y",
|
|
@@ -27,7 +27,7 @@ import { fileURLToPath } from "node:url";
|
|
|
27
27
|
// Ownership marker: `ultra11y install --opencode` refuses to overwrite a plugin file that
|
|
28
28
|
// does not carry it, so a user's own ultra11y.js is never clobbered.
|
|
29
29
|
const ULTRA11Y_OPENCODE_PLUGIN = "ULTRA11Y_OPENCODE_PLUGIN";
|
|
30
|
-
const ULTRA11Y_PLUGIN_VERSION = "5.
|
|
30
|
+
const ULTRA11Y_PLUGIN_VERSION = "5.53.0";
|
|
31
31
|
|
|
32
32
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
33
33
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.53.0",
|
|
4
4
|
"description": "Audit d'accessibilité RGAA 4.1.2, le référentiel de l'État : rapport daté, grille des 106 critères, backlog et tickets. Moteur statique, navigateur et jugement IA contre-vérifié. Il ne déclare jamais conforme ce qu'il n'a pas vérifié. Socle WCAG 2.2 AA.",
|
|
5
5
|
"homepage": "https://socialgouv.github.io/ultra11y/",
|
|
6
6
|
"type": "module",
|
package/scripts/ultra11y.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { join as join53, relative as relative6, resolve as resolve18, sep as sep
|
|
|
6
6
|
import { fileURLToPath as fileURLToPath5, pathToFileURL as pathToFileURL3 } from "url";
|
|
7
7
|
|
|
8
8
|
// src/types.ts
|
|
9
|
-
var VERSION = "5.
|
|
9
|
+
var VERSION = "5.53.0";
|
|
10
10
|
var SCHEMA_VERSION = 2;
|
|
11
11
|
function isAdjudicated(by) {
|
|
12
12
|
return by === "agent" || by === "human";
|
|
@@ -73453,13 +73453,11 @@ Return (structured output): \`{ "verdicts": [{ "n", "verdict", "note" }] }\` \u2
|
|
|
73453
73453
|
${footer}`
|
|
73454
73454
|
};
|
|
73455
73455
|
}
|
|
73456
|
-
function runbookMd(
|
|
73456
|
+
function runbookMd(manifest, unrendered = []) {
|
|
73457
|
+
const { phases, run: runAbs } = manifest;
|
|
73457
73458
|
const status = phases.map((p) => `| ${p.name} | \`${p.worklist}\` | ${p.ready ? `ready (${p.items} item(s))` : "not ready"} | \`${p.prerequisite}\` |`).join("\n");
|
|
73458
|
-
const engine = `node ${
|
|
73459
|
-
const
|
|
73460
|
-
const verifyGen = vr?.prerequisite ?? `${engine} verify --report ${verify.report} ${verify.flags} --out ${runAbs}`;
|
|
73461
|
-
const verifyApply = vr?.apply ?? `${engine} verify --apply ${join49(runAbs, "VERIFY.todo.json")} --report ${verify.report} ${verify.flags}`;
|
|
73462
|
-
const std = verify.standard ? ` --standard ${verify.standard}` : "";
|
|
73459
|
+
const engine = `node ${manifest.engine}`;
|
|
73460
|
+
const cmd = (id) => manifest.steps.find((st) => st.id === id)?.command ?? "";
|
|
73463
73461
|
const renderFirst = unrendered.length ? `
|
|
73464
73462
|
> \u26A0\uFE0F **Render before you adjudicate.** ${unrendered.length} criterion(ia) in this run need a rendered page and
|
|
73465
73463
|
> nothing has been snapshotted: no reading of the source can settle them, and every pass over them
|
|
@@ -73490,12 +73488,12 @@ ${status}
|
|
|
73490
73488
|
|
|
73491
73489
|
## The loop (play every role yourself, one item at a time)
|
|
73492
73490
|
|
|
73493
|
-
1. **Audit** (if not done): \`${
|
|
73494
|
-
2. **Adjudicate the residual criteria** \u2014 \`${
|
|
73495
|
-
3. **Report**: \`${
|
|
73496
|
-
4. **Verify the report's claims** \u2014 \`${
|
|
73497
|
-
5. **Gate**: \`${
|
|
73498
|
-
6. **Fix & re-audit**: \`${
|
|
73491
|
+
1. **Audit** (if not done): \`${cmd("audit")}\` \u2192 \`${join49(runAbs, "audit-latest.json")}\`.
|
|
73492
|
+
2. **Adjudicate the residual criteria** \u2014 \`${cmd("adjudicate-worklist")}\` writes \`${join49(runAbs, "ADJUDICATE.todo.json")}\`. For EVERY item, apply \`${join49(runAbs, "orchestration", "agents", "adjudicator.md")}\` yourself (read the evidence, rule C/NC/NA/manual, fill the required justification/findings/reason IN the todo file). Then fold \u2014 gated per verdict, so a refusal costs its own criterion and no other: \`${cmd("adjudicate-fold")}\`. Add \`--ledger .ultra11y/verdicts/<standard>.json\` to RECORD the verdicts that landed, so CI can replay them without a model; \`--strict\` restores the old all-or-nothing fold.
|
|
73493
|
+
3. **Report**: \`${cmd("report")}\`.
|
|
73494
|
+
4. **Verify the report's claims** \u2014 \`${cmd("verify-worklist")}\` writes \`${join49(runAbs, "VERIFY.todo.json")}\` (and \`${join49(runAbs, "VERIFY.context.json")}\`, the context it was built from): the report's non-conformities AND the conformities the adjudication cleared in that audit. For EVERY entry, apply \`${join49(runAbs, "orchestration", "agents", "refuter.md")}\` yourself (open file:line, verdict supported/partial/refuted/unsupported + note IN the todo file). Then: \`${cmd("verify-fold")}\`. Generation and apply carry the SAME \`--in\`, \`--standard\` and conformity source (\`--conformities <file>\` / \`--no-conformities\`, if you used one): a list built from another source covers other claims, and \`--max-verify 0\` does not fix that \u2014 regenerate it. \`--no-conformities\` or an explicit \`--max-verify\` makes a PARTIAL trial; do not present it as covering the audit.
|
|
73495
|
+
5. **Gate**: \`${cmd("gate")}\` must exit 0 before presenting anything.
|
|
73496
|
+
6. **Fix & re-audit**: \`${cmd("fix")}\`, hand-apply the judgment fixes, then loop from step 1 until the gate stays green.
|
|
73499
73497
|
|
|
73500
73498
|
With subagents available, prefer the emitted workflows instead: \`orchestrate --run ${runAbs} --phase <p>\` then \`Workflow({ scriptPath: "${join49(runAbs, "orchestration", "<p>.workflow.mjs")}" })\` \u2014 you stay the sole writer either way.
|
|
73501
73499
|
`;
|
|
@@ -73521,11 +73519,35 @@ function verifyRunContext(runDir) {
|
|
|
73521
73519
|
const run2 = resolve15(runDir);
|
|
73522
73520
|
const ctx = readVerifyContext(run2);
|
|
73523
73521
|
const standard = runStandard(run2);
|
|
73524
|
-
const
|
|
73525
|
-
if (standard)
|
|
73526
|
-
if (ctx?.conformities.source === "file")
|
|
73527
|
-
if (ctx?.conformities.source === "disabled")
|
|
73528
|
-
return {
|
|
73522
|
+
const flagArgs = ["--in", ctx?.in ?? join50(run2, "audit-latest.json")];
|
|
73523
|
+
if (standard) flagArgs.push("--standard", standard);
|
|
73524
|
+
if (ctx?.conformities.source === "file") flagArgs.push("--conformities", ctx.conformities.path);
|
|
73525
|
+
if (ctx?.conformities.source === "disabled") flagArgs.push("--no-conformities");
|
|
73526
|
+
return {
|
|
73527
|
+
report: ctx && ctx.report !== "-" ? ctx.report : REPORT_PLACEHOLDER,
|
|
73528
|
+
flags: flagArgs.join(" "),
|
|
73529
|
+
flagArgs,
|
|
73530
|
+
...standard ? { standard } : {}
|
|
73531
|
+
};
|
|
73532
|
+
}
|
|
73533
|
+
var GLOBS_PLACEHOLDER = "<globs>";
|
|
73534
|
+
var REPORT_PLACEHOLDER = "<report.md>";
|
|
73535
|
+
function engineArgs(run2) {
|
|
73536
|
+
const audit2 = join50(run2, "audit-latest.json");
|
|
73537
|
+
const v = verifyRunContext(run2);
|
|
73538
|
+
return {
|
|
73539
|
+
audit: ["audit", GLOBS_PLACEHOLDER, "--graph", "--out", run2],
|
|
73540
|
+
"adjudicate-worklist": ["verify", "--manual", "--in", audit2, "--out", run2],
|
|
73541
|
+
"adjudicate-fold": ["verify", "--apply", join50(run2, "ADJUDICATE.todo.json"), "--in", audit2, "--out", run2],
|
|
73542
|
+
report: ["report", "--in", audit2, "--out", run2],
|
|
73543
|
+
"verify-worklist": ["verify", "--report", v.report, ...v.flagArgs, "--out", run2],
|
|
73544
|
+
"verify-fold": ["verify", "--apply", join50(run2, "VERIFY.todo.json"), "--report", v.report, ...v.flagArgs],
|
|
73545
|
+
gate: ["check", "--report", v.report, ...v.standard ? ["--standard", v.standard] : [], "--semantic", "--verdicts", join50(run2, "VERIFY.todo.json")],
|
|
73546
|
+
fix: ["fix", GLOBS_PLACEHOLDER, "--write", "--iterate"]
|
|
73547
|
+
};
|
|
73548
|
+
}
|
|
73549
|
+
function renderCommand(engineAbs, args2) {
|
|
73550
|
+
return `node ${engineAbs} ${args2.map((a) => a === GLOBS_PLACEHOLDER ? `"${a}"` : a).join(" ")}`;
|
|
73529
73551
|
}
|
|
73530
73552
|
function listPhases(runDir, engineAbs) {
|
|
73531
73553
|
const run2 = resolve15(runDir);
|
|
@@ -73555,7 +73577,7 @@ function listPhases(runDir, engineAbs) {
|
|
|
73555
73577
|
} catch {
|
|
73556
73578
|
}
|
|
73557
73579
|
}
|
|
73558
|
-
const
|
|
73580
|
+
const args2 = engineArgs(run2);
|
|
73559
73581
|
return [
|
|
73560
73582
|
{
|
|
73561
73583
|
name: "adjudicate",
|
|
@@ -73563,8 +73585,8 @@ function listPhases(runDir, engineAbs) {
|
|
|
73563
73585
|
worklist: adjPath,
|
|
73564
73586
|
items: adjIds.length,
|
|
73565
73587
|
ids: adjIds,
|
|
73566
|
-
prerequisite:
|
|
73567
|
-
apply:
|
|
73588
|
+
prerequisite: renderCommand(engineAbs, args2["adjudicate-worklist"]),
|
|
73589
|
+
apply: renderCommand(engineAbs, args2["adjudicate-fold"])
|
|
73568
73590
|
},
|
|
73569
73591
|
{
|
|
73570
73592
|
name: "verify-report",
|
|
@@ -73572,11 +73594,143 @@ function listPhases(runDir, engineAbs) {
|
|
|
73572
73594
|
worklist: verPath,
|
|
73573
73595
|
items: verIds.length,
|
|
73574
73596
|
ids: verIds,
|
|
73575
|
-
prerequisite:
|
|
73576
|
-
apply:
|
|
73597
|
+
prerequisite: renderCommand(engineAbs, args2["verify-worklist"]),
|
|
73598
|
+
apply: renderCommand(engineAbs, args2["verify-fold"])
|
|
73577
73599
|
}
|
|
73578
73600
|
];
|
|
73579
73601
|
}
|
|
73602
|
+
var EXIT_USAGE = "usage / bad input (missing or unreadable file, unknown flag value)";
|
|
73603
|
+
function buildManifest(runDir, engineAbs, batchSize = BATCH_SIZE2) {
|
|
73604
|
+
const run2 = resolve15(runDir);
|
|
73605
|
+
const args2 = engineArgs(run2);
|
|
73606
|
+
const phases = listPhases(run2, engineAbs);
|
|
73607
|
+
const v = verifyRunContext(run2);
|
|
73608
|
+
const audit2 = join50(run2, "audit-latest.json");
|
|
73609
|
+
const adjTodo = join50(run2, "ADJUDICATE.todo.json");
|
|
73610
|
+
const verTodo = join50(run2, "VERIFY.todo.json");
|
|
73611
|
+
const placeholder = (f) => f === GLOBS_PLACEHOLDER || f === REPORT_PLACEHOLDER;
|
|
73612
|
+
const ready = (inputs) => inputs.every((f) => placeholder(f) || existsSync37(f));
|
|
73613
|
+
const engine = (id, title, inputs, outputs, exit, next) => ({
|
|
73614
|
+
id,
|
|
73615
|
+
kind: "engine",
|
|
73616
|
+
title,
|
|
73617
|
+
command: renderCommand(engineAbs, args2[id]),
|
|
73618
|
+
argv: ["node", engineAbs, ...args2[id]],
|
|
73619
|
+
inputs,
|
|
73620
|
+
outputs,
|
|
73621
|
+
exit,
|
|
73622
|
+
ready: ready(inputs),
|
|
73623
|
+
next
|
|
73624
|
+
});
|
|
73625
|
+
const judgment = (id, ph, role, title, inputs, next) => ({
|
|
73626
|
+
id,
|
|
73627
|
+
kind: "judgment",
|
|
73628
|
+
title,
|
|
73629
|
+
role,
|
|
73630
|
+
contract: join50(run2, "orchestration", "agents", `${role}.md`),
|
|
73631
|
+
worklist: ph.worklist,
|
|
73632
|
+
items: ph.items,
|
|
73633
|
+
batches: toBatches(ph.ids, batchSize),
|
|
73634
|
+
schema: phaseSpec(ph.name).schema,
|
|
73635
|
+
inputs,
|
|
73636
|
+
outputs: [ph.worklist],
|
|
73637
|
+
ready: ph.ready && ph.items > 0,
|
|
73638
|
+
next
|
|
73639
|
+
});
|
|
73640
|
+
const [adj, ver] = phases;
|
|
73641
|
+
const verAudit = v.flagArgs[v.flagArgs.indexOf("--in") + 1];
|
|
73642
|
+
return {
|
|
73643
|
+
kind: "ultra11y-orchestration-manifest",
|
|
73644
|
+
schemaVersion: 1,
|
|
73645
|
+
run: run2,
|
|
73646
|
+
engine: engineAbs,
|
|
73647
|
+
...v.standard ? { standard: v.standard } : {},
|
|
73648
|
+
placeholders: [
|
|
73649
|
+
{ token: GLOBS_PLACEHOLDER, meaning: "the files to audit \u2014 a glob the shell must not expand, or explicit paths" },
|
|
73650
|
+
{ token: REPORT_PLACEHOLDER, meaning: `the Markdown report the \`report\` step writes into ${run2} (<standard>-<date>.md)` }
|
|
73651
|
+
].filter((p) => p.token === GLOBS_PLACEHOLDER || v.report === REPORT_PLACEHOLDER),
|
|
73652
|
+
phases,
|
|
73653
|
+
steps: [
|
|
73654
|
+
engine(
|
|
73655
|
+
"audit",
|
|
73656
|
+
"Audit \u2014 the deterministic finding set",
|
|
73657
|
+
[GLOBS_PLACEHOLDER],
|
|
73658
|
+
[audit2],
|
|
73659
|
+
{ "0": "audit written (no --fail-on, or clean)", "1": "findings at or above --fail-on", "2": EXIT_USAGE },
|
|
73660
|
+
"adjudicate-worklist"
|
|
73661
|
+
),
|
|
73662
|
+
engine(
|
|
73663
|
+
"adjudicate-worklist",
|
|
73664
|
+
"Adjudication worklist \u2014 the criteria the engine could not decide",
|
|
73665
|
+
[audit2],
|
|
73666
|
+
[adjTodo, join50(run2, "ADJUDICATE.md"), join50(run2, "ADJUDICATE.verdicts.json"), join50(run2, "adjudicate")],
|
|
73667
|
+
{ "0": "worklist written (possibly empty: nothing to adjudicate)", "2": EXIT_USAGE },
|
|
73668
|
+
"adjudicate"
|
|
73669
|
+
),
|
|
73670
|
+
judgment(
|
|
73671
|
+
"adjudicate",
|
|
73672
|
+
adj,
|
|
73673
|
+
"adjudicator",
|
|
73674
|
+
"Adjudicate \u2014 fill every item's verdict (C/NC/NA/manual)",
|
|
73675
|
+
[adjTodo, join50(run2, "adjudicate")],
|
|
73676
|
+
"adjudicate-fold"
|
|
73677
|
+
),
|
|
73678
|
+
engine(
|
|
73679
|
+
"adjudicate-fold",
|
|
73680
|
+
"Fold \u2014 the fail-closed gate on the adjudication",
|
|
73681
|
+
[adjTodo, audit2],
|
|
73682
|
+
[audit2],
|
|
73683
|
+
{
|
|
73684
|
+
"0": "at least one verdict landed (refusals, if any, named in rejectedCriteria[] / issues[])",
|
|
73685
|
+
"1": "nothing landed, or --strict and a refusal",
|
|
73686
|
+
"2": EXIT_USAGE
|
|
73687
|
+
},
|
|
73688
|
+
"report"
|
|
73689
|
+
),
|
|
73690
|
+
engine(
|
|
73691
|
+
"report",
|
|
73692
|
+
"Report \u2014 deterministic rendering of the adjudicated audit",
|
|
73693
|
+
[audit2],
|
|
73694
|
+
[REPORT_PLACEHOLDER],
|
|
73695
|
+
{ "0": "report written", "2": EXIT_USAGE },
|
|
73696
|
+
"verify-worklist"
|
|
73697
|
+
),
|
|
73698
|
+
engine(
|
|
73699
|
+
"verify-worklist",
|
|
73700
|
+
"Trial worklist \u2014 the report's non-conformities and the audit's claimed conformities",
|
|
73701
|
+
[v.report, verAudit],
|
|
73702
|
+
[verTodo, join50(run2, "VERIFY.md"), join50(run2, "VERIFY.context.json")],
|
|
73703
|
+
{ "0": "worklist written", "2": EXIT_USAGE },
|
|
73704
|
+
"verify"
|
|
73705
|
+
),
|
|
73706
|
+
judgment("verify", ver, "refuter", "Verify \u2014 rule every claim supported/partial/refuted/unsupported", [verTodo], "verify-fold"),
|
|
73707
|
+
engine(
|
|
73708
|
+
"verify-fold",
|
|
73709
|
+
"Apply the trial \u2014 coverage and grounding gate",
|
|
73710
|
+
[verTodo, v.report, verAudit],
|
|
73711
|
+
[],
|
|
73712
|
+
{
|
|
73713
|
+
"0": "every claim on trial supported or partial, and grounded in source",
|
|
73714
|
+
"1": "a claim refuted, unsupported, unadjudicated, missing or ungrounded",
|
|
73715
|
+
"2": EXIT_USAGE
|
|
73716
|
+
},
|
|
73717
|
+
"gate"
|
|
73718
|
+
),
|
|
73719
|
+
{
|
|
73720
|
+
...engine(
|
|
73721
|
+
"gate",
|
|
73722
|
+
"Gate \u2014 structural and semantic check of the report",
|
|
73723
|
+
[v.report, verTodo],
|
|
73724
|
+
[],
|
|
73725
|
+
{ "0": "report sound and semantic gate green \u2014 it may be presented", "1": "integrity or semantic failure \u2014 do not present it", "2": EXIT_USAGE },
|
|
73726
|
+
null
|
|
73727
|
+
),
|
|
73728
|
+
onFailure: "fix"
|
|
73729
|
+
},
|
|
73730
|
+
engine("fix", "Fix & re-audit \u2014 then loop", [GLOBS_PLACEHOLDER], [], { "0": "fixes applied (or nothing to fix)", "2": EXIT_USAGE }, "audit")
|
|
73731
|
+
]
|
|
73732
|
+
};
|
|
73733
|
+
}
|
|
73580
73734
|
function unrenderedInRun(run2) {
|
|
73581
73735
|
try {
|
|
73582
73736
|
const audit2 = JSON.parse(readFileSync32(join50(run2, "audit-latest.json"), "utf8"));
|
|
@@ -73650,7 +73804,7 @@ function orchestrateRun(runDir, engineAbs, opts = {}) {
|
|
|
73650
73804
|
}
|
|
73651
73805
|
}
|
|
73652
73806
|
const rb = join50(orchDir, "RUNBOOK.md");
|
|
73653
|
-
writeFileSync20(rb, runbookMd(
|
|
73807
|
+
writeFileSync20(rb, runbookMd(buildManifest(run2, engineAbs), unrenderedInRun(run2)));
|
|
73654
73808
|
written.push(rb);
|
|
73655
73809
|
return { exitCode: 0, written, notices, errors: [], phases };
|
|
73656
73810
|
}
|
|
@@ -76118,6 +76272,7 @@ Usage:
|
|
|
76118
76272
|
ultra11y verify --apply <VERIFY.todo.json> --report <md> --in <audit.json> --out <dir> --prune (APPLY the trial: delete refuted non-conformities, send refuted conformities back to \xAB \xE0 \xE9valuer \xBB)
|
|
76119
76273
|
ultra11y verify --summary --verdicts <VERIFY.todo.json> --report <md> --in <audit.json> [--pruned <audit.json>] [--out <dir>] [--json] (read-only bilan of the trial \u2192 TRIAL.md: confirmed, withdrawn/applied, contested engine decisions, coverage, gate)
|
|
76120
76274
|
ultra11y orchestrate --run <dir> [--phase adjudicate|verify-report] [--eco] [--list] [--lang auto|en|fr]
|
|
76275
|
+
ultra11y orchestrate --run <dir> --manifest [--json] (the loop as data: each step's command/argv, inputs, outputs, exit contract, next step \u2014 for any orchestrator)
|
|
76121
76276
|
ultra11y fix <globs\u2026 | -> [--write] [--iterate] [--changed | --since <ref> | --staged] [--safe] [--include <glob>] [--exclude <glob>] [--ext <list>] [--only <ids>] [--jsx] [--json] [--lang auto|en|fr]
|
|
76122
76277
|
ultra11y init [--hook] [--ci] [--baseline] [--fail-on blocking|major|minor]
|
|
76123
76278
|
ultra11y judge --in <audit.json> [--standard <pack>] [--runner api|claude|codex] [--grain batch|criterion] [--max <n>] [--model <id>] [--effort <level>] [--max-budget-usd <n>] [--timeout <s>] [--out <dir>] [--apply] (adjudicate manual criteria \u2014 api needs ANTHROPIC_API_KEY; claude/codex reuse their CLI login; cli aliases claude)
|
|
@@ -76725,6 +76880,8 @@ var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
|
|
|
76725
76880
|
"clean",
|
|
76726
76881
|
"sample",
|
|
76727
76882
|
"eco",
|
|
76883
|
+
// `orchestrate --manifest`: print the loop's step graph as JSON (src/orchestrate.ts buildManifest).
|
|
76884
|
+
"manifest",
|
|
76728
76885
|
"help",
|
|
76729
76886
|
"version",
|
|
76730
76887
|
"allow-remote",
|
|
@@ -79781,6 +79938,14 @@ function cmdOrchestrate(p) {
|
|
|
79781
79938
|
console.log(JSON.stringify({ phases: listPhases(runFlag, engineAbs) }, null, 2));
|
|
79782
79939
|
return 0;
|
|
79783
79940
|
}
|
|
79941
|
+
if (p.flags.manifest === true) {
|
|
79942
|
+
if (!existsSync40(runFlag)) {
|
|
79943
|
+
console.error(`ultra11y orchestrate: run dir not found: ${runFlag}.`);
|
|
79944
|
+
return 2;
|
|
79945
|
+
}
|
|
79946
|
+
console.log(JSON.stringify(buildManifest(runFlag, engineAbs), null, 2));
|
|
79947
|
+
return 0;
|
|
79948
|
+
}
|
|
79784
79949
|
const res = orchestrateRun(runFlag, engineAbs, {
|
|
79785
79950
|
phase: typeof p.flags.phase === "string" && p.flags.phase ? p.flags.phase : void 0,
|
|
79786
79951
|
eco: p.flags.eco === true
|
|
@@ -3,7 +3,7 @@ name: review-a11y
|
|
|
3
3
|
description: "Use to REVIEW changed frontend code for accessibility: staged files, a working diff, branch, or PR; prompts such as 'review a11y', 'is this accessible?', or 'anything to fix before merge?'; and hook or CI findings on a change. Run the bundled install-free engine with cross-file JSX/TSX analysis, then adjudicate candidates and return a severity-ranked WCAG 2.2 AA review with file:line fixes, residual rendering risks, and a verdict. Use `ultra11y` instead for whole-repo audits, dated conformance reports, country standards, PRD backlogs, or authoring accessible markup."
|
|
4
4
|
license: MIT
|
|
5
5
|
metadata:
|
|
6
|
-
version: 5.
|
|
6
|
+
version: 5.53.0
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
# review-a11y — accessibility review of changed code
|