ace-swarm 2.0.6 → 2.0.7

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.
Files changed (110) hide show
  1. package/README.md +17 -0
  2. package/assets/.agents/skills/landing-review-watcher/SKILL.md +68 -0
  3. package/assets/.agents/skills/problem-triage/SKILL.md +57 -0
  4. package/assets/.agents/skills/problem-triage/agents/openai.yaml +3 -0
  5. package/assets/.agents/skills/skill-auditor/SKILL.md +52 -0
  6. package/assets/.github/hooks/ace-copilot.json +68 -0
  7. package/assets/agent-state/ACE_WORKFLOW.md +66 -0
  8. package/assets/agent-state/INTERFACE_REGISTRY.md +50 -0
  9. package/assets/agent-state/MODULES/gates/gate-typescript-public-surface.json +7 -0
  10. package/assets/agent-state/MODULES/registry.json +10 -2
  11. package/assets/agent-state/MODULES/schemas/ACE_RUNTIME_PROFILE.schema.json +210 -0
  12. package/assets/agent-state/MODULES/schemas/RUNTIME_EXECUTOR_SESSION_REGISTRY.schema.json +290 -0
  13. package/assets/agent-state/MODULES/schemas/RUNTIME_TOOL_SPEC_REGISTRY.schema.json +144 -0
  14. package/assets/agent-state/MODULES/schemas/TRACKER_SNAPSHOT.schema.json +134 -0
  15. package/assets/agent-state/MODULES/schemas/VERICIFY_BRIDGE_SNAPSHOT.schema.json +157 -0
  16. package/assets/agent-state/MODULES/schemas/VERICIFY_PROCESS_POST_LOG.schema.json +92 -0
  17. package/assets/agent-state/MODULES/schemas/WORKSPACE_SESSION_REGISTRY.schema.json +133 -0
  18. package/assets/agent-state/SKILL_CATALOG.md +48 -0
  19. package/assets/agent-state/runtime-executor-sessions.json +5 -0
  20. package/assets/agent-state/runtime-tool-specs.json +5 -0
  21. package/assets/agent-state/runtime-workspaces.json +5 -0
  22. package/assets/agent-state/tracker-snapshot.json +7 -0
  23. package/assets/agent-state/vericify/ace-bridge.json +60 -0
  24. package/assets/agent-state/vericify/process-posts.json +5 -0
  25. package/assets/scripts/copilot-hook-dispatch.mjs +267 -0
  26. package/dist/helpers.d.ts.map +1 -1
  27. package/dist/helpers.js +284 -1
  28. package/dist/helpers.js.map +1 -1
  29. package/dist/problem-triage.d.ts +23 -0
  30. package/dist/problem-triage.d.ts.map +1 -0
  31. package/dist/problem-triage.js +429 -0
  32. package/dist/problem-triage.js.map +1 -0
  33. package/dist/prompts.d.ts.map +1 -1
  34. package/dist/prompts.js +46 -0
  35. package/dist/prompts.js.map +1 -1
  36. package/dist/public-surface.d.ts +30 -0
  37. package/dist/public-surface.d.ts.map +1 -0
  38. package/dist/public-surface.js +310 -0
  39. package/dist/public-surface.js.map +1 -0
  40. package/dist/resources.d.ts.map +1 -1
  41. package/dist/resources.js +148 -0
  42. package/dist/resources.js.map +1 -1
  43. package/dist/runtime-command.d.ts +18 -0
  44. package/dist/runtime-command.d.ts.map +1 -0
  45. package/dist/runtime-command.js +76 -0
  46. package/dist/runtime-command.js.map +1 -0
  47. package/dist/runtime-executor.d.ts +104 -0
  48. package/dist/runtime-executor.d.ts.map +1 -0
  49. package/dist/runtime-executor.js +774 -0
  50. package/dist/runtime-executor.js.map +1 -0
  51. package/dist/runtime-profile.d.ts +98 -0
  52. package/dist/runtime-profile.d.ts.map +1 -0
  53. package/dist/runtime-profile.js +441 -0
  54. package/dist/runtime-profile.js.map +1 -0
  55. package/dist/runtime-tool-specs.d.ts +68 -0
  56. package/dist/runtime-tool-specs.d.ts.map +1 -0
  57. package/dist/runtime-tool-specs.js +424 -0
  58. package/dist/runtime-tool-specs.js.map +1 -0
  59. package/dist/schemas.d.ts +6 -0
  60. package/dist/schemas.d.ts.map +1 -1
  61. package/dist/schemas.js +305 -0
  62. package/dist/schemas.js.map +1 -1
  63. package/dist/shared.d.ts +36 -3
  64. package/dist/shared.d.ts.map +1 -1
  65. package/dist/shared.js +36 -3
  66. package/dist/shared.js.map +1 -1
  67. package/dist/skill-auditor.d.ts +26 -0
  68. package/dist/skill-auditor.d.ts.map +1 -0
  69. package/dist/skill-auditor.js +184 -0
  70. package/dist/skill-auditor.js.map +1 -0
  71. package/dist/skill-catalog.d.ts +60 -0
  72. package/dist/skill-catalog.d.ts.map +1 -0
  73. package/dist/skill-catalog.js +263 -0
  74. package/dist/skill-catalog.js.map +1 -0
  75. package/dist/status-events.d.ts.map +1 -1
  76. package/dist/status-events.js +51 -8
  77. package/dist/status-events.js.map +1 -1
  78. package/dist/tools-agent.d.ts.map +1 -1
  79. package/dist/tools-agent.js +869 -0
  80. package/dist/tools-agent.js.map +1 -1
  81. package/dist/tools-files.d.ts.map +1 -1
  82. package/dist/tools-files.js +212 -1
  83. package/dist/tools-files.js.map +1 -1
  84. package/dist/tools-framework.d.ts.map +1 -1
  85. package/dist/tools-framework.js +86 -0
  86. package/dist/tools-framework.js.map +1 -1
  87. package/dist/tools-skills.d.ts +3 -0
  88. package/dist/tools-skills.d.ts.map +1 -0
  89. package/dist/tools-skills.js +104 -0
  90. package/dist/tools-skills.js.map +1 -0
  91. package/dist/tools.d.ts.map +1 -1
  92. package/dist/tools.js +2 -0
  93. package/dist/tools.js.map +1 -1
  94. package/dist/tracker-adapters.d.ts +74 -0
  95. package/dist/tracker-adapters.d.ts.map +1 -0
  96. package/dist/tracker-adapters.js +777 -0
  97. package/dist/tracker-adapters.js.map +1 -0
  98. package/dist/tracker-sync.d.ts +10 -0
  99. package/dist/tracker-sync.d.ts.map +1 -0
  100. package/dist/tracker-sync.js +84 -0
  101. package/dist/tracker-sync.js.map +1 -0
  102. package/dist/vericify-bridge.d.ts +142 -0
  103. package/dist/vericify-bridge.d.ts.map +1 -0
  104. package/dist/vericify-bridge.js +481 -0
  105. package/dist/vericify-bridge.js.map +1 -0
  106. package/dist/workspace-manager.d.ts +103 -0
  107. package/dist/workspace-manager.d.ts.map +1 -0
  108. package/dist/workspace-manager.js +526 -0
  109. package/dist/workspace-manager.js.map +1 -0
  110. package/package.json +1 -1
@@ -0,0 +1,157 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "ace://schemas/vericify-bridge-snapshot/1.0.0",
4
+ "title": "Vericify Bridge Snapshot",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "version",
9
+ "generated_at",
10
+ "bridge_enabled",
11
+ "workspace_root",
12
+ "runtime_profile_path",
13
+ "bridge_path",
14
+ "process_post_path",
15
+ "sources",
16
+ "active_run_refs"
17
+ ],
18
+ "properties": {
19
+ "version": {
20
+ "type": "integer",
21
+ "const": 1
22
+ },
23
+ "generated_at": {
24
+ "type": "string",
25
+ "format": "date-time"
26
+ },
27
+ "bridge_enabled": {
28
+ "type": "boolean"
29
+ },
30
+ "workspace_root": {
31
+ "type": "string",
32
+ "minLength": 1
33
+ },
34
+ "runtime_profile_path": {
35
+ "type": "string",
36
+ "minLength": 1
37
+ },
38
+ "bridge_path": {
39
+ "type": "string",
40
+ "minLength": 1
41
+ },
42
+ "process_post_path": {
43
+ "type": "string",
44
+ "minLength": 1
45
+ },
46
+ "sources": {
47
+ "type": "object",
48
+ "additionalProperties": false,
49
+ "required": [
50
+ "handoff_registry",
51
+ "todo_state",
52
+ "run_ledger",
53
+ "status_events",
54
+ "runtime_workspaces",
55
+ "runtime_executor_sessions",
56
+ "tracker_snapshot",
57
+ "process_posts"
58
+ ],
59
+ "properties": {
60
+ "handoff_registry": { "$ref": "#/$defs/SourceState" },
61
+ "todo_state": { "$ref": "#/$defs/SourceState" },
62
+ "run_ledger": { "$ref": "#/$defs/SourceState" },
63
+ "status_events": { "$ref": "#/$defs/SourceState" },
64
+ "runtime_workspaces": { "$ref": "#/$defs/SourceState" },
65
+ "runtime_executor_sessions": { "$ref": "#/$defs/SourceState" },
66
+ "tracker_snapshot": { "$ref": "#/$defs/SourceState" },
67
+ "process_posts": { "$ref": "#/$defs/SourceState" }
68
+ }
69
+ },
70
+ "active_run_refs": {
71
+ "type": "array",
72
+ "items": { "$ref": "#/$defs/ActiveRunRef" }
73
+ }
74
+ },
75
+ "$defs": {
76
+ "SourceState": {
77
+ "type": "object",
78
+ "additionalProperties": false,
79
+ "required": [
80
+ "path",
81
+ "exists",
82
+ "record_count",
83
+ "summary"
84
+ ],
85
+ "properties": {
86
+ "path": {
87
+ "type": "string",
88
+ "minLength": 1
89
+ },
90
+ "exists": {
91
+ "type": "boolean"
92
+ },
93
+ "updated_at": {
94
+ "type": "string",
95
+ "format": "date-time"
96
+ },
97
+ "record_count": {
98
+ "type": "integer",
99
+ "minimum": 0
100
+ },
101
+ "summary": {
102
+ "type": "string",
103
+ "minLength": 1
104
+ }
105
+ }
106
+ },
107
+ "ActiveRunRef": {
108
+ "type": "object",
109
+ "additionalProperties": false,
110
+ "required": [
111
+ "run_id",
112
+ "branch_id",
113
+ "lane_id",
114
+ "session_id",
115
+ "status",
116
+ "workspace_path",
117
+ "updated_at"
118
+ ],
119
+ "properties": {
120
+ "run_id": {
121
+ "type": "string",
122
+ "minLength": 1
123
+ },
124
+ "branch_id": {
125
+ "type": "string",
126
+ "minLength": 1
127
+ },
128
+ "lane_id": {
129
+ "type": "string",
130
+ "minLength": 1
131
+ },
132
+ "session_id": {
133
+ "type": "string",
134
+ "minLength": 1
135
+ },
136
+ "status": {
137
+ "type": "string",
138
+ "minLength": 1
139
+ },
140
+ "objective_id": {
141
+ "type": "string"
142
+ },
143
+ "tracker_item_id": {
144
+ "type": "string"
145
+ },
146
+ "workspace_path": {
147
+ "type": "string",
148
+ "minLength": 1
149
+ },
150
+ "updated_at": {
151
+ "type": "string",
152
+ "format": "date-time"
153
+ }
154
+ }
155
+ }
156
+ }
157
+ }
@@ -0,0 +1,92 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "ace://schemas/vericify-process-post-log/1.0.0",
4
+ "title": "Vericify Process Post Log",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "version",
9
+ "updated_at",
10
+ "posts"
11
+ ],
12
+ "properties": {
13
+ "version": {
14
+ "type": "integer",
15
+ "const": 1
16
+ },
17
+ "updated_at": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "posts": {
22
+ "type": "array",
23
+ "items": {
24
+ "type": "object",
25
+ "additionalProperties": false,
26
+ "required": [
27
+ "process_post_id",
28
+ "run_id",
29
+ "agent_id",
30
+ "kind",
31
+ "summary",
32
+ "timestamp",
33
+ "tool_refs",
34
+ "evidence_refs"
35
+ ],
36
+ "properties": {
37
+ "process_post_id": {
38
+ "type": "string",
39
+ "minLength": 1
40
+ },
41
+ "run_id": {
42
+ "type": "string",
43
+ "minLength": 1
44
+ },
45
+ "branch_id": {
46
+ "type": "string"
47
+ },
48
+ "lane_id": {
49
+ "type": "string"
50
+ },
51
+ "agent_id": {
52
+ "type": "string",
53
+ "minLength": 1
54
+ },
55
+ "kind": {
56
+ "type": "string",
57
+ "enum": [
58
+ "intent",
59
+ "progress",
60
+ "blocker",
61
+ "handoff_note",
62
+ "completion"
63
+ ]
64
+ },
65
+ "summary": {
66
+ "type": "string",
67
+ "minLength": 1
68
+ },
69
+ "tool_refs": {
70
+ "type": "array",
71
+ "items": {
72
+ "type": "string"
73
+ }
74
+ },
75
+ "evidence_refs": {
76
+ "type": "array",
77
+ "items": {
78
+ "type": "string"
79
+ }
80
+ },
81
+ "checkpoint_ref": {
82
+ "type": "string"
83
+ },
84
+ "timestamp": {
85
+ "type": "string",
86
+ "format": "date-time"
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
@@ -0,0 +1,133 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "ace://schemas/workspace-session-registry/1.0.0",
4
+ "title": "ACE Workspace Session Registry",
5
+ "type": "object",
6
+ "additionalProperties": false,
7
+ "required": [
8
+ "version",
9
+ "updated_at",
10
+ "sessions"
11
+ ],
12
+ "properties": {
13
+ "version": {
14
+ "type": "integer",
15
+ "const": 1
16
+ },
17
+ "updated_at": {
18
+ "type": "string",
19
+ "format": "date-time"
20
+ },
21
+ "sessions": {
22
+ "type": "array",
23
+ "items": {
24
+ "type": "object",
25
+ "additionalProperties": false,
26
+ "required": [
27
+ "session_id",
28
+ "workspace_path",
29
+ "root_path",
30
+ "status",
31
+ "source",
32
+ "created_at",
33
+ "updated_at",
34
+ "hooks"
35
+ ],
36
+ "properties": {
37
+ "session_id": {
38
+ "type": "string",
39
+ "minLength": 1
40
+ },
41
+ "workspace_path": {
42
+ "type": "string",
43
+ "minLength": 1
44
+ },
45
+ "root_path": {
46
+ "type": "string",
47
+ "minLength": 1
48
+ },
49
+ "status": {
50
+ "type": "string",
51
+ "enum": [
52
+ "active",
53
+ "archived",
54
+ "removed",
55
+ "failed"
56
+ ]
57
+ },
58
+ "source": {
59
+ "type": "string",
60
+ "enum": [
61
+ "manual",
62
+ "executor",
63
+ "test"
64
+ ]
65
+ },
66
+ "objective_id": {
67
+ "type": "string"
68
+ },
69
+ "tracker_item_id": {
70
+ "type": "string"
71
+ },
72
+ "last_error": {
73
+ "type": "string"
74
+ },
75
+ "created_at": {
76
+ "type": "string",
77
+ "format": "date-time"
78
+ },
79
+ "updated_at": {
80
+ "type": "string",
81
+ "format": "date-time"
82
+ },
83
+ "hooks": {
84
+ "type": "object",
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "after_create",
88
+ "before_run",
89
+ "after_run",
90
+ "before_remove"
91
+ ],
92
+ "properties": {
93
+ "after_create": {
94
+ "$ref": "#/$defs/hook_state"
95
+ },
96
+ "before_run": {
97
+ "$ref": "#/$defs/hook_state"
98
+ },
99
+ "after_run": {
100
+ "$ref": "#/$defs/hook_state"
101
+ },
102
+ "before_remove": {
103
+ "$ref": "#/$defs/hook_state"
104
+ }
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+ },
111
+ "$defs": {
112
+ "hook_state": {
113
+ "type": "object",
114
+ "additionalProperties": false,
115
+ "required": [
116
+ "status"
117
+ ],
118
+ "properties": {
119
+ "status": {
120
+ "type": "string",
121
+ "enum": [
122
+ "not_run",
123
+ "ok",
124
+ "failed"
125
+ ]
126
+ },
127
+ "detail": {
128
+ "type": "string"
129
+ }
130
+ }
131
+ }
132
+ }
133
+ }
@@ -0,0 +1,48 @@
1
+ # SKILL_CATALOG
2
+
3
+ ## Objective
4
+ Map role capabilities to reproducible, portable skills and verification checks.
5
+
6
+ ## Portable Skill Contract
7
+
8
+ A skill is production-ready only if:
9
+
10
+ 1. `SKILL.md` is the canonical portable source of truth.
11
+ 2. Frontmatter description says what the skill does and when to use it.
12
+ 3. `SKILL.md` includes:
13
+ - canonical use cases
14
+ - Inputs
15
+ - Workflow/Steps
16
+ - Outputs/Artifacts
17
+ - Failure Policy/Troubleshooting
18
+ 4. The skill exposes a validation surface:
19
+ - trigger canaries
20
+ - at least one functional path with expected evidence
21
+ 5. Long or reference-heavy skills use `references/` for progressive disclosure.
22
+ 6. Any files under `agents/` are optional client overlays only.
23
+ 7. Client overlays must mirror the portable contract, not redefine it.
24
+
25
+ ## Building Blocks
26
+
27
+ | Skill | Primary Role(s) | Entry Criteria | Output Contract |
28
+ |---|---|---|---|
29
+ | `problem-triage` | research, spec, ops | before creating or patching a skill | `PROBLEM_TRIAGE.md` route decision |
30
+ | `skill-auditor` | skeptic, research, ops | before remediation or release of skill changes | `SKILL_AUDIT_REPORT.md` |
31
+ | `state-auditor` | skeptic, ops | before/after each cycle | state coherence report |
32
+ | `schema-forge` | spec, research | new/changed interface | semver schema + changelog |
33
+ | `handoff-lint` | ops, qa | before handoff commit | pass/fail lint report |
34
+ | `memory-curator` | memory | snapshot age > 24h or high drift | reconciled memory artifact |
35
+ | `risk-quant` | skeptic, security | any new risk | probability-impact table + mitigation state |
36
+ | `eval-harness` | eval, qa | release candidate or major changes | eval run output + regression diff |
37
+ | `incident-commander` | observability, ops | SLO breach or gate storm | incident timeline + owner map |
38
+ | `landing-review-watcher` | release, ops, qa | active review / CI / merge loop | `LANDING_REVIEW_WATCH.md` |
39
+ | `release-sentry` | release | promotion request | release decision payload |
40
+
41
+ ## Audit Questions
42
+
43
+ 1. Does the skill still make sense with no `agents/*` overlay present?
44
+ 2. If overlays exist, are they clearly optional and parity-only?
45
+ 3. Does the description contain trigger language rather than generic capability labels?
46
+ 4. Are use cases concrete enough to distinguish this skill from adjacent ones?
47
+ 5. Does the skill expose validation evidence rather than pure prose?
48
+ 6. Should the skill be split into `references/` to stay lean?
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "sessions": []
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "tools": []
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "sessions": []
5
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 1,
3
+ "adapter_kind": "none",
4
+ "updated_at": "1970-01-01T00:00:00.000Z",
5
+ "items": [],
6
+ "comments": []
7
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "version": 1,
3
+ "generated_at": "1970-01-01T00:00:00.000Z",
4
+ "bridge_enabled": false,
5
+ "workspace_root": ".",
6
+ "runtime_profile_path": "agent-state/ACE_WORKFLOW.md",
7
+ "bridge_path": "agent-state/vericify/ace-bridge.json",
8
+ "process_post_path": "agent-state/vericify/process-posts.json",
9
+ "sources": {
10
+ "handoff_registry": {
11
+ "path": "agent-state/handoff-registry.json",
12
+ "exists": false,
13
+ "record_count": 0,
14
+ "summary": "missing"
15
+ },
16
+ "todo_state": {
17
+ "path": "agent-state/todo-state.json",
18
+ "exists": false,
19
+ "record_count": 0,
20
+ "summary": "missing"
21
+ },
22
+ "run_ledger": {
23
+ "path": "agent-state/run-ledger.json",
24
+ "exists": false,
25
+ "record_count": 0,
26
+ "summary": "missing"
27
+ },
28
+ "status_events": {
29
+ "path": "agent-state/STATUS_EVENTS.ndjson",
30
+ "exists": false,
31
+ "record_count": 0,
32
+ "summary": "missing"
33
+ },
34
+ "runtime_workspaces": {
35
+ "path": "agent-state/runtime-workspaces.json",
36
+ "exists": false,
37
+ "record_count": 0,
38
+ "summary": "missing"
39
+ },
40
+ "runtime_executor_sessions": {
41
+ "path": "agent-state/runtime-executor-sessions.json",
42
+ "exists": false,
43
+ "record_count": 0,
44
+ "summary": "missing"
45
+ },
46
+ "tracker_snapshot": {
47
+ "path": "agent-state/tracker-snapshot.json",
48
+ "exists": false,
49
+ "record_count": 0,
50
+ "summary": "missing"
51
+ },
52
+ "process_posts": {
53
+ "path": "agent-state/vericify/process-posts.json",
54
+ "exists": false,
55
+ "record_count": 0,
56
+ "summary": "missing"
57
+ }
58
+ },
59
+ "active_run_refs": []
60
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "version": 1,
3
+ "updated_at": "1970-01-01T00:00:00.000Z",
4
+ "posts": []
5
+ }