@azure-id/orc 1.1.0 → 1.2.1
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/CHANGELOG.md +2663 -2437
- package/README.md +665 -694
- package/bin/cli.js +658 -2
- package/bin/verify-contracts.js +63 -1
- package/bin/verify-package.js +573 -568
- package/package.json +1 -1
- package/templates/hooks/README.md +202 -0
- package/templates/hooks/orc-statusline.js +552 -9
- package/templates/skills/_shared/phases/execution.md +2 -0
- package/templates/skills/_shared/return-validation.md +222 -145
- package/templates/skills/orc/SKILL.md +241 -237
- package/templates/skills/orc-doc/SKILL.md +484 -480
- package/templates/skills/orc-fast/SKILL.md +216 -214
- package/templates/skills/orc-mini/SKILL.md +246 -243
- package/templates/skills/orc-quick/SKILL.md +347 -345
- package/templates/skills/orc-wiki/SKILL.md +174 -170
package/bin/verify-contracts.js
CHANGED
|
@@ -384,6 +384,44 @@ const CONTRACTS = [
|
|
|
384
384
|
binFiles: ["bin/cli.js"],
|
|
385
385
|
files: ["skills/_shared/extra-dispatch.md"],
|
|
386
386
|
},
|
|
387
|
+
{
|
|
388
|
+
// v1.2.0. A Task error does not kill the subagent behind it. Every lane's
|
|
389
|
+
// retry rule assumed it did, and one graded /orc-quick entry put THREE
|
|
390
|
+
// opus-5-low executors on one task for 266 minutes combined. The guard is
|
|
391
|
+
// only real if every lane that re-dispatches carries the same sentence and
|
|
392
|
+
// the CLI keeps the command it names.
|
|
393
|
+
name: "a re-dispatch is refused over a live attempt (v1.2.0)",
|
|
394
|
+
token: "a lane that re-dispatches over a live attempt",
|
|
395
|
+
binFiles: ["bin/cli.js"],
|
|
396
|
+
files: [
|
|
397
|
+
"skills/_shared/return-validation.md",
|
|
398
|
+
"skills/_shared/phases/execution.md",
|
|
399
|
+
"skills/orc/SKILL.md",
|
|
400
|
+
"skills/orc-doc/SKILL.md",
|
|
401
|
+
"skills/orc-wiki/SKILL.md",
|
|
402
|
+
"skills/orc-quick/SKILL.md",
|
|
403
|
+
"skills/orc-mini/SKILL.md",
|
|
404
|
+
"skills/orc-fast/SKILL.md",
|
|
405
|
+
],
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
// The command the contract above names. A rename on either side silently
|
|
409
|
+
// turns the guard into prose nobody can run.
|
|
410
|
+
name: "the in-flight read is ONE command (v1.2.0)",
|
|
411
|
+
token: "orc run inflight",
|
|
412
|
+
binFiles: ["bin/cli.js"],
|
|
413
|
+
files: [
|
|
414
|
+
"hooks/README.md",
|
|
415
|
+
"skills/_shared/return-validation.md",
|
|
416
|
+
"skills/_shared/phases/execution.md",
|
|
417
|
+
"skills/orc/SKILL.md",
|
|
418
|
+
"skills/orc-doc/SKILL.md",
|
|
419
|
+
"skills/orc-wiki/SKILL.md",
|
|
420
|
+
"skills/orc-quick/SKILL.md",
|
|
421
|
+
"skills/orc-mini/SKILL.md",
|
|
422
|
+
"skills/orc-fast/SKILL.md",
|
|
423
|
+
],
|
|
424
|
+
},
|
|
387
425
|
{
|
|
388
426
|
// The field a resumed return owes. Absent on a resume slice is MALFORMED,
|
|
389
427
|
// and `restarted` on a non-empty preexisting[] is a finding — both are
|
|
@@ -805,6 +843,10 @@ const CONTRACTS = [
|
|
|
805
843
|
files: [
|
|
806
844
|
"agents/orc-trace-writer-haiku-4-5.md",
|
|
807
845
|
"hooks/orc-trace.js",
|
|
846
|
+
// v1.2.1: the statusline READS the pointer to decide which run `status:`
|
|
847
|
+
// is about. "The newest file" would be a different, wrong answer during
|
|
848
|
+
// a lane suspend, when two traces are live and only one is the run.
|
|
849
|
+
"hooks/orc-statusline.js",
|
|
808
850
|
"skills/_shared/lane-suspend.md",
|
|
809
851
|
"skills/context-combiner/SKILL.md",
|
|
810
852
|
"skills/orc-aftermath/SKILL.md",
|
|
@@ -868,6 +910,18 @@ const CONTRACTS = [
|
|
|
868
910
|
"skills/_shared/phases/trace.md",
|
|
869
911
|
],
|
|
870
912
|
},
|
|
913
|
+
{
|
|
914
|
+
// v1.2.1 — the statusline's phase rail. The CLI COMPUTES the phase list
|
|
915
|
+
// (labels, order, motif kind) and stamps it at install; the hook RENDERS it
|
|
916
|
+
// and derives nothing, the same way `orc ui` renders the Flow stepper. The
|
|
917
|
+
// two halves live in two files, so a rename of the manifest silently blanks
|
|
918
|
+
// `status:` unless it fails here.
|
|
919
|
+
name: "statusline phase rail (v1.2.1 — orc-lane-rails.json)",
|
|
920
|
+
token: "orc-lane-rails.json",
|
|
921
|
+
binFiles: ["bin/cli.js"],
|
|
922
|
+
files: [
|
|
923
|
+
"hooks/README.md","hooks/orc-statusline.js"],
|
|
924
|
+
},
|
|
871
925
|
{
|
|
872
926
|
// v0.32.0: the hook's zero-model-dependence phase segmentation. Producer
|
|
873
927
|
// (the hook) and both consumers (retro skill + its miner) must agree on the
|
|
@@ -885,6 +939,11 @@ const CONTRACTS = [
|
|
|
885
939
|
// v0.42.0: the combiner is segmented as its own PHASE-EDGE family INSIDE the
|
|
886
940
|
// analyze trace — the reason it needs no lane of its own.
|
|
887
941
|
"skills/context-combiner/SKILL.md",
|
|
942
|
+
// v1.2.1: the statusline READS these edges to render `status:`. It is the
|
|
943
|
+
// deterministic floor under that segment — the model-narrated verb can
|
|
944
|
+
// only refine it — so a rename of this verb would silently blank the one
|
|
945
|
+
// segment on line 2 that changes minute to minute.
|
|
946
|
+
"hooks/orc-statusline.js",
|
|
888
947
|
],
|
|
889
948
|
},
|
|
890
949
|
{
|
|
@@ -909,6 +968,7 @@ const CONTRACTS = [
|
|
|
909
968
|
token: "orc wiki sync",
|
|
910
969
|
binFiles: ["bin/cli.js"],
|
|
911
970
|
files: [
|
|
971
|
+
"hooks/README.md",
|
|
912
972
|
"agents/orc-wiki-scanner-opus-4-8-high.md",
|
|
913
973
|
"agents/orc-wiki-scanner-opus-5-med.md",
|
|
914
974
|
"agents/orc-wiki-scanner-sonnet-5-high.md",
|
|
@@ -948,6 +1008,7 @@ const CONTRACTS = [
|
|
|
948
1008
|
name: "wiki UNREGISTERED state (v0.18.0 — docs without a manifest ≠ no wiki; sync, never re-scan)",
|
|
949
1009
|
token: "UNREGISTERED",
|
|
950
1010
|
files: [
|
|
1011
|
+
"hooks/README.md",
|
|
951
1012
|
"hooks/orc-statusline.js",
|
|
952
1013
|
"skills/orc-wiki/README.md",
|
|
953
1014
|
"skills/orc-wiki/references/phases/phase-0.md",
|
|
@@ -1452,6 +1513,7 @@ const CONTRACTS = [
|
|
|
1452
1513
|
name: "wiki freshness tier enum (v0.11.0 — FRESH/AGING/STALE, computed on read)",
|
|
1453
1514
|
token: "AGING",
|
|
1454
1515
|
files: [
|
|
1516
|
+
"hooks/README.md",
|
|
1455
1517
|
"hooks/orc-statusline.js",
|
|
1456
1518
|
"skills/_shared/gotchas.md",
|
|
1457
1519
|
"skills/_shared/interview.md",
|
|
@@ -3343,7 +3405,7 @@ const BUDGETS = [
|
|
|
3343
3405
|
// 4 of 31 lanes. The shrinking in this release happens by moving prose to
|
|
3344
3406
|
// `_shared/phases/` (W11–W13) or to a lane's own `references/phases/`, which
|
|
3345
3407
|
// is what orc-wiki did this wave: 352 → 172.
|
|
3346
|
-
{ file: "skills/orc-mini/SKILL.md", maxLines:
|
|
3408
|
+
{ file: "skills/orc-mini/SKILL.md", maxLines: 253 },
|
|
3347
3409
|
// v0.39.0: deliberate raises 195→201 / 179→182 — the analyst gains hard rules
|
|
3348
3410
|
// 2b (a source it did not author is FOREIGN input) and 4a (the read ladder);
|
|
3349
3411
|
// fast gains the ladder as a slice line. Both are hard rules by nature: they
|