@aiwg/cli 2026.10.9 → 2026.10.10
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/agentic/code/providers/model-capabilities.v1.json +197 -3
- package/bin/aiwg.mjs +8 -0
- package/dist/src/cli/handlers/mc-admission.js +39 -0
- package/dist/src/cli/handlers/mc.js +2 -31
- package/dist/src/cli/handlers/models-help.js +52 -0
- package/dist/src/cli/handlers/models.js +11 -81
- package/dist/src/cli/handlers/use-addon-profile.js +72 -0
- package/dist/src/cli/handlers/use.js +191 -230
- package/dist/src/cli/ui.js +1 -0
- package/dist/src/config/aiwg-config.js +38 -184
- package/dist/src/config/cli-help.js +54 -0
- package/dist/src/config/cli.js +5 -69
- package/dist/src/config/config-normalization.js +10 -0
- package/dist/src/config/worker-activation-gate.js +26 -0
- package/dist/src/config/worker-adoption-cli.js +102 -0
- package/dist/src/config/worker-adoption.js +368 -0
- package/dist/src/config/worker-config-digest.js +14 -0
- package/dist/src/config/worker-group-templates.js +150 -0
- package/dist/src/config/worker-guidance-warning.js +28 -0
- package/dist/src/config/worker-owner-lock.js +152 -0
- package/dist/src/config/worker-parallelism.js +154 -0
- package/dist/src/config/worker-write.js +75 -0
- package/dist/src/decision/telemetry/exporter.js +2 -1
- package/dist/src/decision/telemetry/index.js +1 -0
- package/dist/src/decision/telemetry/mapping.js +43 -0
- package/dist/src/decision/telemetry/otlp-http.js +5 -2
- package/dist/src/decision/telemetry/redaction.js +6 -1
- package/dist/src/decision/telemetry/types.js +3 -0
- package/dist/src/decision/telemetry/worker.js +69 -0
- package/dist/src/lint/rule-activation.js +15 -7
- package/dist/src/lint/runner.js +2 -2
- package/dist/src/mcp/server.mjs +2 -11
- package/dist/src/mcp/stdio-lifecycle.mjs +27 -0
- package/dist/src/mcp/tools/worker-failure-diagnostics.mjs +9 -0
- package/dist/src/mcp/tools/worker-invoke.mjs +6 -6
- package/dist/src/mission-protocol/codecs.js +8 -38
- package/dist/src/mission-protocol/worker-contract-diagnostics.js +62 -0
- package/dist/src/mission-protocol/worker-invocation-types.js +2 -0
- package/dist/src/models/conductor-data-policy.d.mts +8 -0
- package/dist/src/models/conductor-data-policy.mjs +190 -0
- package/dist/src/models/config-loader.js +19 -3
- package/dist/src/models/config-writer.js +27 -0
- package/dist/src/models/model-capabilities.v1.json +197 -3
- package/dist/src/models/provider-policy.js +7 -155
- package/dist/src/models/resolver.js +2 -293
- package/dist/src/models/worker-artifact-binding.mjs +12 -0
- package/dist/src/models/worker-direct-readiness-policy.js +155 -0
- package/dist/src/models/worker-direct-readiness.js +9 -218
- package/dist/src/models/worker-health-readiness.js +105 -26
- package/dist/src/models/worker-installation.mjs +12 -14
- package/dist/src/models/worker-member-references.js +64 -0
- package/dist/src/models/worker-plan.js +317 -0
- package/dist/src/models/worker-selection-policy.js +217 -0
- package/dist/src/models/wrapper-deployment.js +1 -1
- package/dist/src/serve/shared-host-admission-checks.js +116 -0
- package/dist/src/serve/shared-host-scheduler.js +25 -107
- package/dist/src/serve/shared-host-starvation.js +73 -0
- package/dist/src/serve/worker-artifacts.d.mts +4 -0
- package/dist/src/serve/worker-artifacts.mjs +56 -0
- package/dist/src/serve/worker-command-request.js +68 -0
- package/dist/src/serve/worker-invocation-paths.js +144 -0
- package/dist/src/serve/worker-invocation-preparation.js +169 -0
- package/dist/src/serve/worker-invocation.js +24 -291
- package/dist/src/serve/worker-stdin-frame.d.mts +2 -2
- package/dist/src/serve/worker-stdin-frame.mjs +6 -6
- package/dist/src/smiths/context-pipeline/parallelism-section.js +19 -7
- package/package.json +9 -1
- package/schemas/mission-v1.schema.json +20 -19
- package/schemas/models/model-config-compatibility.v1.schema.json +16 -0
- package/tools/agents/providers/claude-post-deploy.mjs +35 -0
- package/tools/agents/providers/claude.mjs +3 -30
- package/tools/agents/providers/codex-post-deploy.mjs +13 -0
- package/tools/agents/providers/codex.mjs +2 -8
- package/tools/agents/providers/conductor-data-guard.mjs +61 -0
- package/tools/agents/providers/rule-delivery.mjs +3 -16
- package/tools/agents/providers/rule-presentation.mjs +38 -0
- package/tools/plugin/package-plugins.mjs +1 -1
- package/tools/ralph-external/lib/claude-adapter.mjs +2 -2
- package/tools/ralph-external/lib/codex-adapter.mjs +3 -3
- package/tools/ralph-external/lib/managed-worker-attempt.mjs +86 -0
- package/tools/ralph-external/lib/provider-adapter.mjs +11 -260
- package/tools/ralph-external/lib/session-attempt.mjs +85 -0
- package/tools/ralph-external/lib/strict-worker-json.mjs +190 -0
- package/tools/ralph-external/lib/worker-artifacts.mjs +209 -0
- package/tools/ralph-external/lib/worker-final.mjs +143 -0
- package/tools/ralph-external/lib/worker-inputs.mjs +55 -0
- package/tools/ralph-external/lib/worker-isolation.mjs +2 -44
- package/tools/ralph-external/lib/worker-launch-cli.mjs +47 -0
- package/tools/ralph-external/lib/worker-native-sandbox.mjs +83 -0
- package/tools/ralph-external/session-launcher.mjs +73 -217
- package/vscode-extension/schemas/aiwg.config.v1.json +161 -2
|
@@ -627,6 +627,11 @@
|
|
|
627
627
|
"pattern": "^[a-z][a-z0-9-]{0,62}$"
|
|
628
628
|
}
|
|
629
629
|
},
|
|
630
|
+
"groupTemplates": {
|
|
631
|
+
"type": "object",
|
|
632
|
+
"propertyNames": { "pattern": "^[a-z][a-z0-9-]{0,62}$" },
|
|
633
|
+
"additionalProperties": { "$ref": "#/definitions/groupTemplate" }
|
|
634
|
+
},
|
|
630
635
|
"groups": {
|
|
631
636
|
"type": "object",
|
|
632
637
|
"additionalProperties": {
|
|
@@ -673,6 +678,13 @@
|
|
|
673
678
|
"minimum": 1,
|
|
674
679
|
"default": 300
|
|
675
680
|
},
|
|
681
|
+
"starvationSeconds": {
|
|
682
|
+
"type": "integer",
|
|
683
|
+
"minimum": 1,
|
|
684
|
+
"maximum": 86400,
|
|
685
|
+
"default": 120,
|
|
686
|
+
"description": "Wait threshold for bounded group/run starvation diagnostics; does not change admission ordering."
|
|
687
|
+
},
|
|
676
688
|
"leaseSeconds": {
|
|
677
689
|
"type": "integer",
|
|
678
690
|
"minimum": 1,
|
|
@@ -1451,6 +1463,98 @@
|
|
|
1451
1463
|
"roles"
|
|
1452
1464
|
]
|
|
1453
1465
|
},
|
|
1466
|
+
"groupTemplate": {
|
|
1467
|
+
"type": "object",
|
|
1468
|
+
"additionalProperties": false,
|
|
1469
|
+
"properties": {
|
|
1470
|
+
"members": {
|
|
1471
|
+
"type": "array",
|
|
1472
|
+
"items": {
|
|
1473
|
+
"$ref": "#/definitions/member"
|
|
1474
|
+
},
|
|
1475
|
+
"minItems": 1,
|
|
1476
|
+
"uniqueItems": true
|
|
1477
|
+
},
|
|
1478
|
+
"fallback": {
|
|
1479
|
+
"type": "array",
|
|
1480
|
+
"items": {
|
|
1481
|
+
"type": "string",
|
|
1482
|
+
"minLength": 1
|
|
1483
|
+
},
|
|
1484
|
+
"minItems": 0,
|
|
1485
|
+
"uniqueItems": true,
|
|
1486
|
+
"default": []
|
|
1487
|
+
},
|
|
1488
|
+
"execution": {
|
|
1489
|
+
"$ref": "#/definitions/execution"
|
|
1490
|
+
},
|
|
1491
|
+
"requiredRoles": {
|
|
1492
|
+
"type": "array",
|
|
1493
|
+
"items": {
|
|
1494
|
+
"enum": [
|
|
1495
|
+
"efficiency",
|
|
1496
|
+
"coding",
|
|
1497
|
+
"reasoning"
|
|
1498
|
+
]
|
|
1499
|
+
},
|
|
1500
|
+
"uniqueItems": true,
|
|
1501
|
+
"default": []
|
|
1502
|
+
},
|
|
1503
|
+
"maxParallel": {
|
|
1504
|
+
"type": "integer",
|
|
1505
|
+
"minimum": 1,
|
|
1506
|
+
"maximum": 50
|
|
1507
|
+
},
|
|
1508
|
+
"template": {
|
|
1509
|
+
"type": "string",
|
|
1510
|
+
"pattern": "^[a-z][a-z0-9-]{0,62}$"
|
|
1511
|
+
},
|
|
1512
|
+
"efforts": {
|
|
1513
|
+
"type": "array",
|
|
1514
|
+
"items": {
|
|
1515
|
+
"type": "string",
|
|
1516
|
+
"minLength": 1
|
|
1517
|
+
},
|
|
1518
|
+
"uniqueItems": true,
|
|
1519
|
+
"minItems": 1
|
|
1520
|
+
},
|
|
1521
|
+
"dataPolicy": {
|
|
1522
|
+
"type": "object",
|
|
1523
|
+
"additionalProperties": false,
|
|
1524
|
+
"properties": {
|
|
1525
|
+
"localOnlyPaths": {
|
|
1526
|
+
"type": "array",
|
|
1527
|
+
"uniqueItems": true,
|
|
1528
|
+
"items": {
|
|
1529
|
+
"type": "string",
|
|
1530
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))[A-Za-z0-9_.@+,-]+(?:/[A-Za-z0-9_.@+,-]+)*$(?![\\s\\S])"
|
|
1531
|
+
},
|
|
1532
|
+
"description": "Literal project-relative local-only files or directory subtrees; deployed conductor guards have limited shell coverage."
|
|
1533
|
+
},
|
|
1534
|
+
"allowedProcessing": {
|
|
1535
|
+
"type": "array",
|
|
1536
|
+
"items": {
|
|
1537
|
+
"enum": [
|
|
1538
|
+
"local",
|
|
1539
|
+
"remote"
|
|
1540
|
+
]
|
|
1541
|
+
},
|
|
1542
|
+
"uniqueItems": true
|
|
1543
|
+
},
|
|
1544
|
+
"allowProductImprovement": {
|
|
1545
|
+
"type": "boolean"
|
|
1546
|
+
},
|
|
1547
|
+
"allowUnknown": {
|
|
1548
|
+
"type": "boolean"
|
|
1549
|
+
},
|
|
1550
|
+
"maxRetentionDays": {
|
|
1551
|
+
"type": "integer",
|
|
1552
|
+
"minimum": 0
|
|
1553
|
+
}
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
},
|
|
1454
1558
|
"group": {
|
|
1455
1559
|
"type": "object",
|
|
1456
1560
|
"additionalProperties": false,
|
|
@@ -1492,10 +1596,65 @@
|
|
|
1492
1596
|
"type": "integer",
|
|
1493
1597
|
"minimum": 1,
|
|
1494
1598
|
"maximum": 50
|
|
1599
|
+
},
|
|
1600
|
+
"template": {
|
|
1601
|
+
"type": "string",
|
|
1602
|
+
"pattern": "^[a-z][a-z0-9-]{0,62}$"
|
|
1603
|
+
},
|
|
1604
|
+
"efforts": {
|
|
1605
|
+
"type": "array",
|
|
1606
|
+
"items": {
|
|
1607
|
+
"type": "string",
|
|
1608
|
+
"minLength": 1
|
|
1609
|
+
},
|
|
1610
|
+
"uniqueItems": true,
|
|
1611
|
+
"minItems": 1
|
|
1612
|
+
},
|
|
1613
|
+
"dataPolicy": {
|
|
1614
|
+
"type": "object",
|
|
1615
|
+
"additionalProperties": false,
|
|
1616
|
+
"properties": {
|
|
1617
|
+
"localOnlyPaths": {
|
|
1618
|
+
"type": "array",
|
|
1619
|
+
"uniqueItems": true,
|
|
1620
|
+
"items": {
|
|
1621
|
+
"type": "string",
|
|
1622
|
+
"pattern": "^(?!.*(?:^|/)\\.{1,2}(?:/|$))[A-Za-z0-9_.@+,-]+(?:/[A-Za-z0-9_.@+,-]+)*$(?![\\s\\S])"
|
|
1623
|
+
},
|
|
1624
|
+
"description": "Literal project-relative local-only files or directory subtrees; deployed conductor guards have limited shell coverage."
|
|
1625
|
+
},
|
|
1626
|
+
"allowedProcessing": {
|
|
1627
|
+
"type": "array",
|
|
1628
|
+
"items": {
|
|
1629
|
+
"enum": [
|
|
1630
|
+
"local",
|
|
1631
|
+
"remote"
|
|
1632
|
+
]
|
|
1633
|
+
},
|
|
1634
|
+
"uniqueItems": true
|
|
1635
|
+
},
|
|
1636
|
+
"allowProductImprovement": {
|
|
1637
|
+
"type": "boolean"
|
|
1638
|
+
},
|
|
1639
|
+
"allowUnknown": {
|
|
1640
|
+
"type": "boolean"
|
|
1641
|
+
},
|
|
1642
|
+
"maxRetentionDays": {
|
|
1643
|
+
"type": "integer",
|
|
1644
|
+
"minimum": 0
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1495
1647
|
}
|
|
1496
1648
|
},
|
|
1497
|
-
"
|
|
1498
|
-
|
|
1649
|
+
"anyOf": [
|
|
1650
|
+
{
|
|
1651
|
+
"properties": { "members": {} },
|
|
1652
|
+
"required": ["members"]
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"properties": { "template": {} },
|
|
1656
|
+
"required": ["template"]
|
|
1657
|
+
}
|
|
1499
1658
|
]
|
|
1500
1659
|
},
|
|
1501
1660
|
"execution": {
|