instar 1.3.321 → 1.3.323
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/README.md +1 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +34 -0
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/intent.d.ts.map +1 -1
- package/dist/commands/intent.js +17 -0
- package/dist/commands/intent.js.map +1 -1
- package/dist/core/AgentReadinessScorer.d.ts +54 -0
- package/dist/core/AgentReadinessScorer.d.ts.map +1 -0
- package/dist/core/AgentReadinessScorer.js +110 -0
- package/dist/core/AgentReadinessScorer.js.map +1 -0
- package/dist/core/IntentTestHarness.d.ts +58 -0
- package/dist/core/IntentTestHarness.d.ts.map +1 -0
- package/dist/core/IntentTestHarness.js +119 -0
- package/dist/core/IntentTestHarness.js.map +1 -0
- package/dist/core/OrgIntentIdentityLayer.d.ts +37 -0
- package/dist/core/OrgIntentIdentityLayer.d.ts.map +1 -0
- package/dist/core/OrgIntentIdentityLayer.js +125 -0
- package/dist/core/OrgIntentIdentityLayer.js.map +1 -0
- package/dist/core/OrgIntentManager.d.ts +3 -0
- package/dist/core/OrgIntentManager.d.ts.map +1 -1
- package/dist/core/OrgIntentManager.js +4 -2
- package/dist/core/OrgIntentManager.js.map +1 -1
- package/dist/core/PostUpdateMigrator.d.ts.map +1 -1
- package/dist/core/PostUpdateMigrator.js +38 -0
- package/dist/core/PostUpdateMigrator.js.map +1 -1
- package/dist/scaffold/templates.d.ts.map +1 -1
- package/dist/scaffold/templates.js +9 -0
- package/dist/scaffold/templates.js.map +1 -1
- package/dist/server/CapabilityIndex.d.ts.map +1 -1
- package/dist/server/CapabilityIndex.js +9 -0
- package/dist/server/CapabilityIndex.js.map +1 -1
- package/dist/server/routes.d.ts.map +1 -1
- package/dist/server/routes.js +70 -0
- package/dist/server/routes.js.map +1 -1
- package/package.json +1 -1
- package/src/data/builtin-manifest.json +63 -63
- package/src/scaffold/templates.ts +9 -0
- package/upgrades/1.3.322.md +56 -0
- package/upgrades/1.3.323.md +54 -0
- package/upgrades/side-effects/exo3-g1-ci-greening.md +42 -0
- package/upgrades/side-effects/exo3-g2-ci-greening.md +35 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Upgrade Guide — vNEXT
|
|
2
|
+
|
|
3
|
+
<!-- assembled-by: assemble-next-md -->
|
|
4
|
+
<!-- bump: minor -->
|
|
5
|
+
|
|
6
|
+
## What Changed
|
|
7
|
+
|
|
8
|
+
Adds **agent-readiness scoring** — Salim Ismail's EXO 3.0 "task decomposition
|
|
9
|
+
matrix," made runnable. Score a task or workflow on its **coordination-vs-judgment
|
|
10
|
+
ratio** to tell whether it's a good agent candidate:
|
|
11
|
+
|
|
12
|
+
- **Coordination work** (routing, approvals, scheduling, status-tracking,
|
|
13
|
+
prescriptive/standardized steps) is what agents do best → agent-ready.
|
|
14
|
+
- **Judgment work** (ambiguity, exceptions, relationships, no-playbook calls)
|
|
15
|
+
→ stays human.
|
|
16
|
+
|
|
17
|
+
New surface:
|
|
18
|
+
|
|
19
|
+
- `POST /agent-readiness/score` `{ "task": {description} }` or
|
|
20
|
+
`{ "workflow": {steps:[...]} }` → `{ coordinationSignals, judgmentSignals,
|
|
21
|
+
coordinationRatio, overallReadiness (0-100), recommendation, reason, matched }`.
|
|
22
|
+
`recommendation` is `deploy-agent` (75+) / `agent-with-oversight` (55-74) /
|
|
23
|
+
`hybrid` (40-54) / `human-led` (<40).
|
|
24
|
+
- A `/agent-readiness` skill so agents reach for it proactively before delegating
|
|
25
|
+
work or deciding what to automate.
|
|
26
|
+
|
|
27
|
+
Deterministic + advisory — it answers a question, never blocks. Pairs with the
|
|
28
|
+
MTP Protocol's `/intent/org/test-action` (is it agent-ready AND does our purpose
|
|
29
|
+
endorse it?).
|
|
30
|
+
|
|
31
|
+
## What to Tell Your User
|
|
32
|
+
|
|
33
|
+
Your agent can now grade any task or workflow on whether it's a good fit for an agent at all. Ask it to "score this task for agent-readiness" and you get a 0-100 readiness score with a plain recommendation: hand it to an agent, agent-with-oversight, split it, or keep it human. The logic mirrors how EXO 3.0 thinks about delegation — coordination-heavy work (routing, scheduling, status-chasing) is agent-ready; judgment-heavy work (ambiguity, exceptions, relationships) stays with people. Useful the moment you're deciding what to automate next.
|
|
34
|
+
|
|
35
|
+
## Summary of New Capabilities
|
|
36
|
+
|
|
37
|
+
- `POST /agent-readiness/score` — score `{task}` or `{workflow}`; returns coordination/judgment signals, `overallReadiness` 0-100, and a `deploy-agent` / `agent-with-oversight` / `hybrid` / `human-led` recommendation. Deterministic + advisory, never blocks.
|
|
38
|
+
- `/agent-readiness` skill — the proactive entry point before delegating work or choosing what to automate.
|
|
39
|
+
- Pairs with `POST /intent/org/test-action`: is it agent-ready AND does the org's purpose endorse it?
|
|
40
|
+
|
|
41
|
+
## Evidence
|
|
42
|
+
|
|
43
|
+
Three-tier coverage, all green, `tsc --noEmit` clean (0 errors):
|
|
44
|
+
|
|
45
|
+
- Unit — `AgentReadinessScorer.test.ts` (6): coordination-dominant → deploy-agent,
|
|
46
|
+
judgment-dominant → human-led, mixed → hybrid, no-signal default, and a
|
|
47
|
+
substring-false-match guard (log vs logical).
|
|
48
|
+
- Integration — `agent-readiness-routes.test.ts` (4): the route over the real
|
|
49
|
+
HTTP pipeline (400 on neither task nor workflow; task + workflow scoring).
|
|
50
|
+
- E2E — `agent-readiness-lifecycle.test.ts` (3): boots a real server on a real
|
|
51
|
+
port and confirms the feature is alive (200, not 404/503) end-to-end.
|
|
52
|
+
|
|
53
|
+
Skill registered in `installBuiltinSkills` (auto-installs for new + updated
|
|
54
|
+
agents, non-destructive); CLAUDE.md scaffold template documents the endpoint.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Side-effects — EXO 3.0 G1 (#785) CI greening on post-rebase main
|
|
2
|
+
|
|
3
|
+
## Change set
|
|
4
|
+
|
|
5
|
+
- `tests/e2e/mtp-protocol-test-action-lifecycle.test.ts` — teardown `fs.rmSync`
|
|
6
|
+
→ `SafeFsExecutor.safeRmSync` (lint-no-direct-destructive compliance; test-only).
|
|
7
|
+
- `upgrades/next/mtp-protocol-exo3.md` — adds `## What to Tell Your User` +
|
|
8
|
+
`## Summary of New Capabilities` (fragment validation + Repo Invariants).
|
|
9
|
+
- `tests/unit/feature-delivery-completeness.test.ts` — registers
|
|
10
|
+
'MTP Protocol — the two EXO 3.0 tests' in `featureSections`.
|
|
11
|
+
- `src/core/PostUpdateMigrator.ts` — adds the `'**MTP Protocol — the two EXO
|
|
12
|
+
3.0 tests'` shadow marker to `migrateFrameworkShadowCapabilities` markers[]
|
|
13
|
+
(mirrors the section to AGENTS.md / GEMINI.md).
|
|
14
|
+
|
|
15
|
+
## Side effects considered
|
|
16
|
+
|
|
17
|
+
- **Shadow mirror growth**: Codex/Gemini agents gain one more mirrored section
|
|
18
|
+
on their next migration run. Idempotent (`appended.includes(marker)` guard);
|
|
19
|
+
marker omits trailing punctuation so it matches both the template variant
|
|
20
|
+
("…tests (Phase 5).") and the migrator variant ("…tests."). Risk: none beyond
|
|
21
|
+
a few hundred bytes in shadow files.
|
|
22
|
+
- **Slice bounding**: the marker participates in the next-marker boundary scan
|
|
23
|
+
for OTHER sections' slices. Because the MTP section sits adjacent to other
|
|
24
|
+
bold-marker sections, including it actually IMPROVES slice precision (the
|
|
25
|
+
same reason the markers list exists — see the Secret Drop regression note in
|
|
26
|
+
the migrator).
|
|
27
|
+
- **No runtime behavior change**: no route, no migration logic, no scheduler,
|
|
28
|
+
no messaging path touched. The only src edit is data (one marker string).
|
|
29
|
+
- **Test-only deletions**: SafeFsExecutor in e2e teardown routes through the
|
|
30
|
+
audited funnel; tmpdir-scoped, recursive+force semantics unchanged.
|
|
31
|
+
|
|
32
|
+
## Verification
|
|
33
|
+
|
|
34
|
+
- `tests/unit/feature-delivery-completeness.test.ts` + the MTP e2e: 73/73 green locally.
|
|
35
|
+
- `node scripts/check-repo-invariants.mjs` → "Repository invariants hold."
|
|
36
|
+
- `node scripts/lint-no-direct-destructive.js` → clean.
|
|
37
|
+
- `tsc --noEmit` → 0 errors.
|
|
38
|
+
|
|
39
|
+
## Rollback
|
|
40
|
+
|
|
41
|
+
Revert this single commit; the feature commit (da33b79a7) and merge commit
|
|
42
|
+
(bf8022b1b) are untouched by it.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Side-effects — EXO 3.0 G2 (#791) CI greening on post-rebase main
|
|
2
|
+
|
|
3
|
+
## Change set
|
|
4
|
+
|
|
5
|
+
- `src/server/CapabilityIndex.ts` — new `agentReadiness` CAPABILITY_INDEX entry
|
|
6
|
+
(prefix `/agent-readiness`, static `configured: true`, one endpoint).
|
|
7
|
+
- `src/core/PostUpdateMigrator.ts` — migrateClaudeMd gains the Agent-Readiness
|
|
8
|
+
Scoring section (content-sniffed, idempotent) + the shadow marker
|
|
9
|
+
`'**Agent-Readiness Scoring (EXO 3.0'` in migrateFrameworkShadowCapabilities.
|
|
10
|
+
- `tests/unit/feature-delivery-completeness.test.ts` — registers the section in
|
|
11
|
+
featureSections (enforces template + migrator + shadow parity).
|
|
12
|
+
- `upgrades/next/agent-readiness-scoring.md` — adds the two user-facing
|
|
13
|
+
sections fragment validation requires.
|
|
14
|
+
|
|
15
|
+
## Side effects considered
|
|
16
|
+
|
|
17
|
+
- **/capabilities response grows** by one block; builder is pure/static (no
|
|
18
|
+
ctx dependency — the route is a stateless scorer behind a dynamic import),
|
|
19
|
+
so no probe-path cost or null-ctx risk.
|
|
20
|
+
- **Existing agents' CLAUDE.md grows** one section on next migration
|
|
21
|
+
(idempotent via `content.includes` sniff on a distinctive phrase that matches
|
|
22
|
+
both template and migrator variants: 'Agent-Readiness Scoring (EXO 3.0').
|
|
23
|
+
- **Shadow files** (AGENTS.md/GEMINI.md) mirror the section; marker bounded by
|
|
24
|
+
the next-marker scan like its siblings.
|
|
25
|
+
- **No scorer behavior change**: AgentReadinessScorer and its route untouched.
|
|
26
|
+
|
|
27
|
+
## Verification
|
|
28
|
+
|
|
29
|
+
- feature-delivery-completeness + capabilities-discoverability + agent-readiness
|
|
30
|
+
unit/integration/e2e suites green locally; `check-repo-invariants` holds;
|
|
31
|
+
`tsc --noEmit` 0 errors.
|
|
32
|
+
|
|
33
|
+
## Rollback
|
|
34
|
+
|
|
35
|
+
Revert this single commit; the feature commits are untouched by it.
|