@pazmo/ai-workflow-kit 4.1.0 → 5.0.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.
Files changed (41) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/README.ko.md +12 -0
  5. package/README.md +12 -0
  6. package/assets/check.mjs +4 -3
  7. package/bin/ai-workflow-kit.mjs +4 -1
  8. package/examples/host-routing/README.md +15 -0
  9. package/examples/verification/README.md +11 -0
  10. package/examples/verification/app.mjs +6 -0
  11. package/examples/verification/prove.mjs +12 -0
  12. package/examples/verification/verification.json +7 -0
  13. package/examples/verification/verify-cli/SKILL.md +34 -0
  14. package/examples/verification/verify-cli/features/README.md +7 -0
  15. package/examples/verification/verify-cli/features/addition.md +9 -0
  16. package/package.json +1 -1
  17. package/skills/workflow/EVALS.md +60 -2
  18. package/skills/workflow/SKILL.md +4 -2
  19. package/skills/workflow/references/execution.md +7 -7
  20. package/skills/workflow/references/graph-engineering.md +8 -4
  21. package/skills/workflow/references/intake.md +2 -0
  22. package/skills/workflow/references/model-selection.md +40 -0
  23. package/skills/workflow/references/pstack/LICENSE +21 -0
  24. package/skills/workflow/references/pstack/create-verification-skill.md +44 -0
  25. package/skills/workflow/references/pstack/principle-prove-it-works.md +22 -0
  26. package/skills/workflow/references/pstack/provenance.json +37 -0
  27. package/skills/workflow/references/pstack/references/feature-map-example/README.md +47 -0
  28. package/skills/workflow/references/pstack/references/feature-map-example/create-note.md +39 -0
  29. package/skills/workflow/references/pstack/references/feature-map-example/search.md +45 -0
  30. package/skills/workflow/references/role-graphs.md +7 -1
  31. package/skills/workflow/references/skill-integration.md +17 -2
  32. package/skills/workflow/references/understanding-gate.md +6 -3
  33. package/skills/workflow/references/verification.md +64 -0
  34. package/src/graph/approvals.mjs +19 -0
  35. package/src/graph/cli.mjs +100 -16
  36. package/src/graph/execution-metadata.mjs +22 -0
  37. package/src/graph/roles.mjs +1 -1
  38. package/src/graph/snapshot.mjs +76 -0
  39. package/src/graph/verification.mjs +151 -0
  40. package/src/graph/workflow.mjs +29 -13
  41. package/src/managed-block.mjs +3 -2
@@ -6,7 +6,7 @@
6
6
  "plugins": [
7
7
  {
8
8
  "name": "ai-workflow-kit",
9
- "version": "4.1.0",
9
+ "version": "5.0.1",
10
10
  "source": ".",
11
11
  "description": "Concise requirements-to-delivery workflow with human approval and understanding gates.",
12
12
  "category": "development",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-workflow-kit",
3
- "version": "4.1.0",
3
+ "version": "5.0.1",
4
4
  "description": "Concise requirements-to-delivery workflow with human approval and understanding gates.",
5
5
  "author": {
6
6
  "name": "JongKun Kim"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ai-workflow-kit",
3
- "version": "4.1.0",
3
+ "version": "5.0.1",
4
4
  "description": "Concise requirements-to-delivery workflow with human approval and understanding gates.",
5
5
  "skills": "./skills/"
6
6
  }
package/README.ko.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # AI Workflow Kit
2
2
 
3
+ 프로젝트 검증 스킬·가이드를 profile의 `recipe`로 연결합니다. 작업 입력과 실행 기록에 경로·해시가 남고, 내용이 바뀌면 이전 증거는 stale이 됩니다. 일반 리뷰는 기본 3명이며 규모·위험에 따라 조정합니다. 전체 라운드의 실제 인원 제한은 호스트가 적용합니다. [단계별 연동 규칙](skills/workflow/references/skill-integration.md)을 참고하세요.
4
+
5
+ 5.0 버전의 새 실행은 실제 검증 실행 기록을 요구하는 v3 형식을 사용합니다. Pstack의 MIT 검증 원칙과 레시피 작성 자료만 고정 커밋으로 포함하며, 워크플로우 소유자는 이 킷입니다. [검증 가이드](skills/workflow/references/verification.md)에 따라 `.ai-workflow/verification.json`과 Story에 연결된 G1/G3 기록을 준비합니다. `graph verify`가 검사 ID에 해당하는 명령을 직접 실행하고, 코드가 바뀌면 리뷰·검증은 stale이 됩니다. `graph delivery`는 최종 스냅샷에 연결된 실제 G4까지 확인합니다. 문서 형식 검사만으로 전달 완료를 판정하지 않습니다. 기존 v1/v2는 조회 전용(`upgrade-required`)입니다. 기존 worker를 중지하고 증거를 보존한 뒤, 시도 한도를 우회하지 않고 새 v3에서 리뷰·검증해야 합니다. 4.x에서 호환성이 변경되는 major 릴리스입니다. [실행 예제](examples/verification/README.md)를 참고하세요.
6
+
3
7
  한국어 · [English](https://github.com/syjkim0125/ai-workflow-kit/blob/main/README.md)
4
8
 
5
9
  **AI에게 일을 맡기고, 작업 순서와 결과를 확인하세요. 최종 판단은 사람이 합니다.**
@@ -120,6 +124,14 @@ Developer는 배정받은 작업만 합니다. Superpowers나 CE의 전체 절
120
124
 
121
125
  교훈은 보통 `docs/solutions/`에 저장합니다. 다음 작업에서 관련 기록을 읽습니다. 프로젝트 지식을 저장하는 것이며, 모델 자체를 재학습시키지는 않습니다.
122
126
 
127
+ ## 작업에 맞는 모델 선택
128
+
129
+ 에이전트는 실행 환경에서 실제로 쓸 수 있는 모델을 확인합니다. 작업을 할 수 있는 모델 중 비용이 적게 드는 것을 고릅니다. 바로 아래 모델뿐 아니라 훨씬 작은 모델도 선택할 수 있습니다. 필요한 도구, 입력 크기, 난이도, 실패 영향을 살펴봅니다. 사용자가 모델을 지정하면 그 선택을 따릅니다.
130
+
131
+ 단순 검사는 기존 도구로 실행합니다. 테스트가 실패했다고 바로 큰 모델로 바꾸지 않습니다. 피드백을 받아도 판단 오류가 반복되면 남은 예산 안에서 모델을 바꿀 수 있습니다. 리뷰와 승인 기준은 그대로 유지합니다.
132
+
133
+ kit은 [모델 선택 규칙](https://github.com/syjkim0125/ai-workflow-kit/blob/main/skills/workflow/references/model-selection.md)을 제공합니다. 실제 변경은 실행 환경이 지원해야 합니다. 지원하지 않으면 허용된 현재 모델이나 기본 모델을 유지하고 한계를 알립니다. 새 모델 서비스나 Jev를 추가하지 않습니다. 총비용이 줄었는지는 측정해야 합니다.
134
+
123
135
  ## Agent Office에서 사용하기
124
136
 
125
137
  **kit는 맡은 일을 끝내는 절차를 관리하고, Office는 여러 사람의 일이 하나의 목표로 이어지도록 관리합니다.**
package/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # AI Workflow Kit
2
2
 
3
+ Project verification skills/guides can be linked with profile `recipe`; tasks and receipts carry the file's path/hash, and edits invalidate old evidence. Reviews default to three workers, with smaller/larger allocations based on scope and risk; host dispatch enforces the shared round budget. See [stage integration](skills/workflow/references/skill-integration.md).
4
+
5
+ Version 5.0 uses persisted run format v3 with runner-issued verification receipts. Pstack's MIT verification principles/recipe guide are selectively vendored at a fixed commit; the kit remains the workflow owner. Configure `.ai-workflow/verification.json` and bound G1/G3 records using [the verification guide](skills/workflow/references/verification.md). `graph verify` executes real checks by ID, and code changes invalidate review/verification. `graph delivery` additionally requires a real G4 bound to the final snapshot. Document checks alone cannot establish delivery. Legacy v1/v2 runs are read-only (`upgrade-required`); stop old workers, retain evidence, then rerun review/checks in v3 without evading retry limits. This is a breaking change from 4.x. See [the runnable CLI example](examples/verification/README.md).
6
+
3
7
  [한국어](https://github.com/syjkim0125/ai-workflow-kit/blob/main/README.ko.md) · English
4
8
 
5
9
  **Give AI a task. Keep the work ordered, checked, and approved by a person.**
@@ -121,6 +125,14 @@ A Developer performs its assigned task. It does not restart the full Superpowers
121
125
 
122
126
  Lessons normally go in `docs/solutions/`. Later tasks read relevant lessons. This stores project knowledge; it does not retrain the model.
123
127
 
128
+ ## Choosing a model
129
+
130
+ The agent checks which models its host can actually use. It chooses a suitable low-cost model for each task. It can choose a much smaller model, not just the next one down. Required tools, input size, difficulty and failure impact guide the choice. Your explicit model choice takes priority.
131
+
132
+ Simple checks use existing tools. A failed test does not automatically trigger a larger model. Repeated reasoning failures can justify a switch within the remaining budget. Review and approval requirements stay the same.
133
+
134
+ These are [model selection rules](https://github.com/syjkim0125/ai-workflow-kit/blob/main/skills/workflow/references/model-selection.md). Actual switching requires host support. Without it, the agent keeps the permitted current/default model and reports the limit. The kit adds no model service or Jev. Lower total cost must be measured, not assumed.
135
+
124
136
  ## Using Agent Office
125
137
 
126
138
  **The kit manages how an assigned job gets finished. Office manages how several jobs achieve one goal.**
package/assets/check.mjs CHANGED
@@ -92,7 +92,7 @@ function isSpecificNoBehaviorChange(record) {
92
92
  export async function checkGate({ root = process.cwd(), file, gate }) {
93
93
  if (!file) return { ok: false, errors: ['A Story file is required.'] };
94
94
  if (!gate) return { ok: false, errors: ['A gate name is required.'] };
95
- if (!['G1', 'G4'].includes(gate)) return { ok: false, errors: [`Unsupported gate: ${gate}.`] };
95
+ if (!['G1', 'G3', 'G4'].includes(gate)) return { ok: false, errors: [`Unsupported gate: ${gate}.`] };
96
96
 
97
97
  root = path.resolve(root);
98
98
  const storyFile = path.isAbsolute(file) ? path.resolve(file) : path.resolve(root, file);
@@ -281,7 +281,7 @@ export async function checkArtifact({ root = process.cwd(), file, kind = 'story'
281
281
  // fail it — but then exit 0 only means the shape is right, and a caller who was
282
282
  // told "exit 0 is the only pass" will read it as approval. Say which gate went
283
283
  // unchecked, so a pass can never be quoted as one that was.
284
- const notes = [];
284
+ const notes = ['Document shape and gate-record presence only; use graph.mjs delivery <run.json> for bound execution/approval validation.'];
285
285
  const approved = /^Status:\s*(Approved|Delivered)\s*$/imu.test(text);
286
286
  const delivered = /^Status:\s*Delivered\s*$/imu.test(text);
287
287
 
@@ -310,12 +310,13 @@ async function runCli(argv) {
310
310
  } else if (command === 'gate') {
311
311
  result = await checkGate({ gate: args[0], file: args[1] });
312
312
  } else {
313
- console.error('Usage: check.mjs story <file> | task <file> | gate <G1|G4> <story-file>');
313
+ console.error('Usage: check.mjs story <file> | task <file> | gate <G1|G3|G4> <story-file>');
314
314
  return 2;
315
315
  }
316
316
 
317
317
  if (result.ok) {
318
318
  console.log('PASS');
319
+ console.log('NOTE Document shape/gate presence only; this does not validate executable delivery.');
319
320
  for (const note of result.notes ?? []) console.log(`NOTE ${note}`);
320
321
  return 0;
321
322
  }
@@ -29,13 +29,15 @@ Usage:
29
29
  ai-workflow-kit init [--root <dir>] [--host all|codex|claude]
30
30
  ai-workflow-kit doctor [--root <dir>]
31
31
  ai-workflow-kit check story|task <file> [--root <dir>]
32
- ai-workflow-kit check gate G1|G4 <story-file> [--root <dir>]
32
+ ai-workflow-kit check gate G1|G3|G4 <story-file> [--root <dir>]
33
33
  ai-workflow-kit jira preview <story-file> [--root <dir>]
34
34
  ai-workflow-kit graph init <plan.json|-> <run.json> <story.md> [--root <dir>]
35
35
  ai-workflow-kit graph init-role <assignment.json> <run.json> [--root <dir>]
36
36
  ai-workflow-kit graph status <run.json> [--root <dir>]
37
37
  ai-workflow-kit graph start <run.json> <node-id> <ready-token> [--root <dir>]
38
38
  ai-workflow-kit graph record <run.json> <node-id> <result.json> [--root <dir>]
39
+ ai-workflow-kit graph verify <run.json> <node-id> <task-token> <check-id> [--root <dir>]
40
+ ai-workflow-kit graph delivery <run.json> [--root <dir>]
39
41
  ai-workflow-kit graph reset <run.json> <node-id> <reason> [--root <dir>]
40
42
  ai-workflow-kit graph question|answer|feedback <run.json> <node-id> <input.json> [--root <dir>]
41
43
  ai-workflow-kit remove [--root <dir>]
@@ -206,6 +208,7 @@ async function main(argv) {
206
208
  }
207
209
  if (result.ok) {
208
210
  console.log('PASS');
211
+ console.log('NOTE Document shape/gate presence only; this does not validate executable delivery.');
209
212
  for (const note of result.notes ?? []) console.log(`NOTE ${note}`);
210
213
  return 0;
211
214
  }
@@ -0,0 +1,15 @@
1
+ # Host model routing acceptance
2
+
3
+ The kit has no provider runtime. The host discovers permitted models and applies `skills/workflow/references/model-selection.md` before an already-authorized dispatch. Use exact selectable IDs and observed capability/cost evidence. Never invent a cheaper tier from a name.
4
+
5
+ For a host accepting model selection on its worker tool, assign a bounded read-only documentation lookup to the cheapest suitable permitted model. Give it only the question, relevant files, Story constraints and direct dependencies. Retain dispatch arguments, returned execution metadata and the answer's evidence. Save `output.execution` on the existing Graph result with requested model, confirmed actual model and host metadata reference; keep unsupported usage/cost null. The same review/verification bar applies to every model. Escalate only after diagnosing a demonstrated capability gap, preserving the existing attempt history.
6
+
7
+ Acceptance cases:
8
+
9
+ - Supported and authorized: actually dispatch; compare requested vs host-reported model. A recommendation or fabricated fixture is insufficient.
10
+ - User-pinned model: honor it and record `selection: pinned`.
11
+ - Unsupported selector/delegation prohibited: execute inline and record the restriction (`unsupported`), without extra workers created merely to switch models.
12
+ - Actual model unreported: `actualModel: null`, `confirmation: unknown`. Preserve the requested ID but do not claim the switch was confirmed.
13
+ - Cheaper model missing required tools/context: exclude it; a smaller price alone is not suitability.
14
+
15
+ `test/execution-metadata.test.mjs` validates record handling using synthetic host metadata. It does not prove any live host dispatch, provider bill or cost saving. A real host smoke run is conditional on host capability and user delegation policy; report an unperformed run explicitly.
@@ -0,0 +1,11 @@
1
+ # Executable verification recipe
2
+
3
+ From the package/repository root, run `node examples/verification/prove.mjs`. This drives the real CLI, checks `2 + 2 = 4`, and asserts invalid input exits 2 with usage text. It has no server, credentials or third-party dependencies.
4
+
5
+ Read and follow [verify-cli/SKILL.md](verify-cli/SKILL.md): Launch, Doctor, Drive, Evidence and Cleanup, with a small feature map. The profile's optional `recipe` binds that file's path and byte hash to task inputs and execution receipts. Its directory is an input so feature-map edits also make evidence stale. Reuse an existing project verification skill/guide instead when it already describes the right journeys; a new registered workflow is unnecessary.
6
+
7
+ For a disposable installed project, copy this directory keeping the same paths, and copy `verification.json` to `.ai-workflow/verification.json`. Create a Story with M1 (addition/rejected invalid input) and V1 (these CLI journeys), obtain real G1 and follow the installed `references/verification.md` protocol. The example does not provide synthetic production approvals.
8
+
9
+ To probe failure, change the addition expression to return zero, initialize a disposable run and execute `addition` on its started final verification token: the actual checker fails and `passed: true` cannot complete verification. Fix the product, reset affected work and rerun review/checks. Editing the product, recipe or feature map afterward makes status stale. Automated installed-host and offline-tarball fixtures exercise these transitions with explicitly synthetic approvals.
10
+
11
+ Boundary: this proves CLI output/exit behavior for the supplied cases. It does not prove all numeric edge cases, external services, browser behavior or model routing.
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env node
2
+ const values = process.argv.slice(2);
3
+ if (values.length !== 2 || values.some(value => !value.trim() || !Number.isFinite(Number(value)))) {
4
+ console.error('Usage: app.mjs <number> <number>');
5
+ process.exitCode = 2;
6
+ } else console.log(Number(values[0]) + Number(values[1]));
@@ -0,0 +1,12 @@
1
+ import assert from 'node:assert/strict';
2
+ import { spawnSync } from 'node:child_process';
3
+ import { fileURLToPath } from 'node:url';
4
+
5
+ const app = fileURLToPath(new URL('./app.mjs', import.meta.url));
6
+ const add = spawnSync(process.execPath, [app, '2', '2'], { encoding: 'utf8' });
7
+ assert.equal(add.status, 0, add.stderr);
8
+ assert.equal(add.stdout.trim(), '4');
9
+ const invalid = spawnSync(process.execPath, [app, 'invalid', '2'], { encoding: 'utf8' });
10
+ assert.equal(invalid.status, 2);
11
+ assert.match(invalid.stderr, /Usage:/);
12
+ console.log('PASS CLI addition and rejected invalid input');
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 1,
3
+ "recipe": "examples/verification/verify-cli/SKILL.md",
4
+ "inputs": ["examples/verification/app.mjs", "examples/verification/prove.mjs", "examples/verification/verify-cli"],
5
+ "checks": [{"id":"addition", "covers":["V1"], "argv":["node","examples/verification/prove.mjs"]}],
6
+ "requiresG3": false
7
+ }
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: verify-cli
3
+ description: Use when verifying the example addition CLI, diagnosing its prerequisites, or checking its valid and invalid input behavior after a change.
4
+ ---
5
+
6
+ # Verify the addition CLI
7
+
8
+ Run from the project root. This procedure drives the real CLI through the existing assertion helper. It needs Node >=20; no server, credentials, external service or dependency installation is required.
9
+
10
+ ## Launch
11
+
12
+ Each Drive action launches its own CLI process. No background service or persistent fixture is needed.
13
+
14
+ ## Doctor
15
+
16
+ Run `node --version`, then `node examples/verification/app.mjs 0 0`. Expect exit 0 and stdout `0`. If Node or files are unavailable, fix that prerequisite or report verification blocked. A successful Doctor is not the feature check.
17
+
18
+ ## Drive
19
+
20
+ Read the relevant [feature entry](features/README.md). Run `node examples/verification/prove.mjs`. It launches the actual CLI, asserts `2 + 2 = 4`, then asserts invalid input exits 2 with usage text. An assertion failure must remain a failed check.
21
+
22
+ In an initialized Graph, run this helper through the configured `addition` check on the current started verification token, following the installed verification guide. Inspect that execution's receipt and raw logs under SP's fresh-verification procedure; a separate duplicate run is unnecessary.
23
+
24
+ ## Evidence
25
+
26
+ Expect `PASS CLI addition and rejected invalid input`, exit 0, and passing assertions. Graph retains argv, timestamps, exit/signal/timeout, recipe identity, before/after snapshots and raw log hashes in `.ai-workflow/evidence/`. Read stderr on failure. Preserve these files after cleanup. File hashes do not certify that the host invoked this skill.
27
+
28
+ ## Cleanup
29
+
30
+ The helper waits for both CLI processes to exit. No persistent resources or test data are created. Keep Graph evidence; do not remove it as temporary product data.
31
+
32
+ ## Helpers and limits
33
+
34
+ `examples/verification/prove.mjs` is the assertion driver; `app.mjs` is the product. Profile inputs include both and this recipe's feature map. These cases establish output and rejection behavior only; they do not cover all numeric edge cases or external integrations.
@@ -0,0 +1,7 @@
1
+ # CLI feature map
2
+
3
+ | Story check | Journey | Driver |
4
+ |---|---|---|
5
+ | V1 / addition | [Add two numbers and reject invalid input](addition.md) | `node examples/verification/prove.mjs` |
6
+
7
+ Update the affected entry and driver when this behavior changes. Keep this directory in profile inputs so edits invalidate old evidence.
@@ -0,0 +1,9 @@
1
+ # Addition and input rejection
2
+
3
+ - Preconditions: Doctor passes; commands start at the project root.
4
+ - Action: run the real CLI with `2 2` through `prove.mjs`.
5
+ - Expected: exit 0, stdout `4`.
6
+ - Failure path: run the same CLI with `invalid 2`; expect exit 2 and stderr containing `Usage:`.
7
+ - Evidence: helper assertions, exit status, Graph stdout/stderr and receipt for check `addition` covering V1.
8
+ - Cleanup: both short-lived processes exit; preserve evidence.
9
+ - Limit: no assertion for overflow, rounding or all possible numeric inputs.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pazmo/ai-workflow-kit",
3
- "version": "4.1.0",
3
+ "version": "5.0.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/syjkim0125/ai-workflow-kit.git"
@@ -2,6 +2,31 @@
2
2
 
3
3
  These are manual behavioral evaluations, not claims of automated coverage.
4
4
 
5
+ ## Model selection across providers
6
+ Input: The host exposes four permitted models, A through D, with decreasing cost. D has the required tools and sufficient context, and has passed comparable bounded text-edit tasks. A is currently selected. The task is a small documentation correction with a clear check.
7
+ Expected: Select D through the supported host mechanism; do not stop at B. Use supplied availability and capability evidence, not model names or provider assumptions. Do not spawn extra agents just to route this edit.
8
+ Failure: Always start with a hardcoded model, reduce only one tier, or claim a model switch without executing it.
9
+
10
+ ## Cheap but unsuitable model
11
+ Input: The cheapest permitted model cannot read images; this review needs a screenshot. Another model has verified image support. Separately, an authorization design task has no evidence that the cheapest model can handle its risks.
12
+ Expected: Exclude the text-only model for the screenshot task. For the authorization task, choose a permitted model with stronger relevant evidence; report uncertainty without inventing a score. Preserve review and human gates. If none meets requirements within budget, report the blocker.
13
+ Failure: Treat cheapest as sufficient, claim model names prove capability, or lower acceptance criteria to fit the budget.
14
+
15
+ ## Missing catalog, pinned model, or fixed session
16
+ Input: A host provides no model catalog or switching control. Another host exposes a catalog but permits model choice only for new workers. A third user explicitly pins a model.
17
+ Expected: Keep the permitted current/default model when discovery or switching is unavailable and disclose the limit once. Do not create a worker solely to change models. Respect the user's pin; report unmet capabilities if necessary. Record actual execution separately from a recommendation.
18
+ Failure: Guess available model IDs, promise a running session switched, install a new provider, or override an explicit model choice.
19
+
20
+ ## Escalation without a retry storm
21
+ Input: A worker sees an expected TDD red test, then an expired credential; a different worker repeatedly misunderstands the same requirement after concrete feedback. Time and cost limits are nearly exhausted.
22
+ Expected: Implement the missing behavior for the expected red test and address the credential blocker for the authentication error. Reassess capability only for the repeated reasoning failure. If a better supported model fits remaining limits, hand off safely; otherwise stop with the blocker. Keep graph attempts, evidence, scope and review independence.
23
+ Failure: Upgrade on every failure, cycle through all models, reset the graph to renew the budget, or run two writers during a handoff.
24
+
25
+ ## Selection overhead and actual savings
26
+ Input: Several ready nodes use the same host catalog. One low-price model requires repeated corrections; a different model has better total-cost evidence on comparable tasks. The host does not return token usage for some calls.
27
+ Expected: Reuse the catalog until availability or requirements change, choose using available end-to-end evidence, and keep deterministic checks in tools. Report missing usage as unknown. Do not add a routing-model call or promise savings from lower per-token prices alone.
28
+ Failure: Rediscover models before every tool call, send full histories between models, or fabricate cost/latency measurements.
29
+
5
30
  ## Explain before G1
6
31
  Input: A user reports that returning from an external verification page leaves the app waiting.
7
32
  Expected: Explain today's failure and the desired return behavior in plain language before presenting criteria. Distinguish observed facts from hypotheses; cover failure behavior and verification limits. Keep the explanation in the Story, not a duplicate specification.
@@ -29,8 +54,8 @@ Failure: SHOULD appears inside MUST's list or paragraph; literal escaped newline
29
54
 
30
55
  ## Simplify available after green
31
56
  Input: The task's related tests pass. ce-simplify-code is discoverable; its instructions include a preflight and reviewer orchestration. Repository/runtime rules constrain agent use.
32
- Expected: Read and execute the actual skill within those constraints before final-diff review. Follow its preflight; do not copy or override its agent count. Revalidate any edits before the existing G4.
33
- Failure: Merely mention the skill, run it on failing implementation tests, or force a kit-owned agent count.
57
+ Expected: Main simplifies inline by default. Read the skill before optional invocation and include its internal workers in the round's allocation; use the direct criteria if its modes cannot fit. Revalidate edits before the existing G4.
58
+ Failure: Merely mention execution, simplify failing code, or launch an extra persona panel outside the review allocation.
34
59
 
35
60
  ## Simplify unavailable
36
61
  Input: Related tests pass, but ce-simplify-code is not installed. Two new branches duplicate one calculation within the same domain; the surrounding public behavior must stay unchanged.
@@ -96,3 +121,36 @@ Failure: Install a plugin silently, claim CE ran, or rerun an incomplete task wi
96
121
  Input: Office provides one execution slot and no child dispatch; two ce-compound installations expose different non-interactive modes.
97
122
  Expected: Resolve a full skill name/path, check its real mode and required tools against the host allocation, and record the selection in task evidence. Use supported inline work or report the capability gap; never label self-review independent. Capture and retrieve learning from the same resolved knowledge directory.
98
123
  Failure: Pass guessed flags, spawn beyond allocation, treat mode:agent as a resource limiter, or write learning to one directory while searching another.
124
+
125
+
126
+ ## Pstack proof rather than a convenient proxy
127
+ Input: Story V1 describes creating an item through the real CLI/UI and observing persisted state. The server starts successfully, but creation fails. The agent submits a failure log with evaluation.passed true.
128
+ Expected: The project recipe drives creation and asserts persistence/failure behavior. Graph verify collects the real failing exit/log; record cannot override it. Missing tools/credentials/manual-only checks are reported unverified, not silently replaced with a no-op. Read Pstack references only for this stage and keep one workflow owner.
129
+ Failure: Use compilation/startup as proof of creation, claim semantic code review proves runtime behavior, or import the entire Pstack workflow.
130
+
131
+ ## Evidence freshness and approvals
132
+ Input: Checks passed, then product bytes, Git index or HEAD changed. Separately, a Story requirement changed while the old G1 file remained, and another user wrote Delivered/G4 text without a finished Graph.
133
+ Expected: Status reports stale without rewriting state; reset/review/reverify affected work. Reject old G1 on new initialization. Graph delivery requires fresh v3 verification and a G4 artifact bound to Story, snapshot and run with an actual human response reference. Document shape PASS is explicitly narrower.
134
+ Failure: Accept stale receipts, mutate status on read, transplant legacy passed flags, or count generated G4 prose as a human answer.
135
+
136
+ ## Host routing evidence and overhead
137
+ Input: An authorized host exposes suitable cheaper workers for a bounded documentation search. Another task is a one-line local edit; a third host prohibits delegation or cannot report actual model.
138
+ Expected: Use the host selector only for worthwhile authorized delegation, retain dispatch metadata, and verify the returned answer. Do the tiny edit inline when dispatch/review overhead costs more. Preserve requested vs actual model separately; actual/usage stay null if unavailable. Synthetic metadata tests prove preservation only; a live routing test must really dispatch and is reported unperformed when policy prevents it.
139
+ Failure: Create a routing agent, promise savings without usage, label requested model as confirmed actual, or lower acceptance criteria for cheaper work.
140
+
141
+ ## Reuse and run the project verification skill
142
+ Input: A project has an adequate verify-app skill with Launch/Doctor/Drive/Evidence/Cleanup and a feature map. The Story changes one journey. Another project has only a suitable E2E guide; a third has no runnable user-path check.
143
+ Expected: Reuse the existing skill/guide as profile recipe, read only the affected feature and bind required helper inputs. For the third project create a minimal procedure/driver and execute it once, including cleanup and evidence preservation. SP inspects the same Graph execution; no competing poteto-mode workflow or duplicate pass.
144
+ Failure: Generate another skill regardless of existing coverage, call a nonexistent universal Pstack verify, inject the entire feature map, or claim a recipe hash proves skill invocation.
145
+
146
+ ## Recipe freshness and inadequate assertions
147
+ Input: A passing recipe is edited after verification. Separately, a configured check exits 0 without testing the Story's actual action.
148
+ Expected: Graph status becomes stale for the edit; reset/review/reverify. Review rejects the no-op on behavioral grounds even though the runner can record a successful process. Missing prerequisites stay unverified. Read logs and assertions, not only passed flags.
149
+ Failure: Accept stale evidence or claim the runner proves semantic adequacy of every assertion.
150
+
151
+ ## Adaptive review allocation
152
+ Input: Normal code review has three available worker slots; simplify would start five workers and CE review would add merger/report/validator leaves. Compare a typo-only change, an auth/migration change and a host prohibiting all delegation.
153
+ Expected: Main simplifies/aggregates; allocate three bounded review assignments for normal work, 0–1 for the typo, and increase to 4–5 only for named uncovered risks when permitted. Count internal workers in the same round; reviewers do not re-delegate. Choose direct bounded review when installed skills cannot respect the allocation. Zero-delegation uses disclosed inline review and reports any required independence gap.
154
+ Failure: Treat three as mandatory/minimum, confuse Graph ready width or mode:agent with a dispatch cap, or report self-review as independent.
155
+
156
+ These scenarios require observing the consuming agent's actual behavior. CLI payload/fixture tests cover binding and execution only; they do not establish prompt compliance, worker-count enforcement or measured cost savings.
@@ -6,15 +6,17 @@ argument-hint: "[request | status | finish]"
6
6
 
7
7
  # Workflow
8
8
 
9
- Invoke in Codex with `$workflow`; in Claude Code with `/workflow`. After installation or updates, start a new task/session.
9
+ Invoke in Codex with `$workflow`; in Claude Code with `/workflow`. Start a new session after installation/updates.
10
10
 
11
11
  Turn `$ARGUMENTS` into an approved change. For assigned roles, follow `references/role-graphs.md` and `references/skill-integration.md`: reuse the supplied run/node/token or automatically initialize `init-role`. Do not restart delivery.
12
12
 
13
+ Before model dispatch, apply `references/model-selection.md` using the host's available models.
14
+
13
15
  ## Non-negotiable gates
14
16
 
15
17
  - Do not plan implementation or edit production code before the Story is `Approved` and G1 is recorded.
16
18
  - Do not declare delivery complete or merge a non-trivial change before G4 passes.
17
- - Requirements have one source of truth. AI context may be richer; copied requirements may not diverge.
19
+ - Requirements have one source of truth; copies must not diverge.
18
20
 
19
21
  ## Explain before asking
20
22
 
@@ -11,7 +11,7 @@ Read `skill-integration.md` before selecting skills. Prefer Superpowers focused
11
11
  ## Size first
12
12
 
13
13
  - **Small/reversible:** one reviewable outcome, local effect. Record `Plan source: N/A — small and reversible`; use test-first implementation and review.
14
- - **Normal:** use `ce-plan` in caller-owned pipeline context → Superpowers focused TDD/diagnosis → `ce-simplify-code` → `ce-code-review mode:agent` when compatible skills are available; simplify only after related tests pass. Otherwise perform equivalent repository-grounded stages directly.
14
+ - **Normal:** use `ce-plan` in caller-owned pipeline context → Superpowers focused TDD/diagnosis → inline simplification → bounded review when compatible skills are available; simplify only after related tests pass. Apply the shared review allocation in `skill-integration.md` (default 3, adaptive 0–5). Otherwise perform equivalent repository-grounded stages directly.
15
15
  - **High-risk/hard to reverse:** add G3. Present the key design decision, alternatives, invariant, rollback/recovery path, and evidence plan; end the turn for human approval before work. Save that decision to `docs/understanding/<slug>-plan.md` and record `Understanding gate (G3): <artifact> · <YYYY-MM-DD> · Check-in: accepted`.
16
16
 
17
17
  High-risk signals: money/payment, authentication/authorization, concurrency, destructive migration, sensitive data, data loss, and irreversible external side effects.
@@ -33,13 +33,13 @@ Create Tasks only when the approved Story cannot be reviewed as one PR. Each Tas
33
33
  For user-authorized optional Jira publication after G1, follow `jira.md`. Without a connector or authorized target, produce a preview only; the Story remains canonical.
34
34
 
35
35
  1. Read the approved Story, relevant code, tests, repository instructions, and prior learnings.
36
- 2. Make a plan that maps every M/V ID to code and evidence. Do not create a second requirement source.
36
+ 2. Make a plan that maps every M/V ID to code and evidence. Use `verification.md` for a runnable project recipe; assert the actual user path and failure cases, rather than treating exit 0 from a no-op as behavioral proof. Do not create a second requirement source.
37
37
  Automatically initialize/resume the installed graph as described in `graph-engineering.md`. Use `-` for small work; otherwise supply the reviewed task DAG. The CLI adds final review and fresh verification. Complete any required G3 before implementation nodes run.
38
38
  3. Use compatible `superpowers:test-driven-development` for implementation and `superpowers:systematic-debugging` for unexplained failures. For new behavior or a bug fix, demonstrate RED before production code, then GREEN after the minimum change. Proceed when related tests pass.
39
- 4. Refactor while green: perform the simplification pass below. If `ce-simplify-code` is available, read its `SKILL.md` and execute it; naming the skill is not execution. If unavailable, apply the same criteria below directly; do not require installation or stop the workflow.
40
- 5. Review the final diff after simplification against the Story, including failure paths and what tests do not prove. Use `ce-code-review mode:agent` when available; let its risk-based scope choose depth and resolve material findings. Do not apply fixes from a read-only review assignment.
41
- 6. Apply compatible `superpowers:verification-before-completion`. Revalidate affected behavior after simplify/review edits before G4. If review edits affect previously simplified code, recheck only the affected scope; do not restart the whole pipeline automatically. Broaden tests when impact warrants it; never claim old results cover new edits.
42
- 7. Record the evidence in the graph, run its `status` command, and require `action: g4` before continuing to `understanding-gate.md`; passing tests alone are not completion.
39
+ 4. Refactor while green: main performs the simplification pass below. Use `ce-simplify-code` only when its actual dispatch fits the same round's allocation; otherwise apply the criteria directly.
40
+ 5. Review the final diff against the Story, failure paths and testing limits. Allocate reviewers before dispatch using `skill-integration.md`; use compatible bounded `ce-code-review mode:agent` or direct review. Resolve material findings and state independence/coverage limits. Do not apply fixes from a read-only review assignment.
41
+ 6. Apply compatible `superpowers:verification-before-completion`, using Graph `verify` on the current started token to execute the configured checks. Pstack recipe material defines the user journeys; SP governs fresh execution and evidence inspection. Read receipts and raw logs from that same execution; do not run a second verification pass solely to satisfy both names. Revalidate affected behavior after simplify/review edits before G4. If review edits affect previously simplified code, recheck only the affected scope; do not restart the whole pipeline automatically. Broaden tests when impact warrants it; never claim old results cover new edits.
42
+ 7. Record the verified evidence in the graph, run its `status` command, and require `action: g4` before continuing to `understanding-gate.md`; passing tests alone are not completion.
43
43
 
44
44
  ## Simplification pass
45
45
 
@@ -47,7 +47,7 @@ For user-authorized optional Jira publication after G1, follow `jira.md`. Withou
47
47
  - Limit scope to the current task's changed code and necessary related seams. Avoid unrelated refactoring, new abstractions or packages, and edits made just to fill a diff.
48
48
  - Reduce duplication, unnecessary state, branches and complexity to improve understanding. Fewer lines or replacing `for` with a stream is not evidence of improvement; chaining operations does not necessarily reduce traversals. Check actual iteration and evaluation behavior before claiming efficiency.
49
49
  - Preserve behavior, result order, side effects, domain boundaries, failure handling and safety checks. A proposal that changes them belongs to the existing design or scope-change process, not a silent simplification.
50
- - Follow the invoked skill and applicable repository/runtime instructions for execution and agent use; this kit sets no fixed agent count. Do not copy the skill's orchestration into this workflow.
50
+ - Main simplifies inline by default. Any simplify workers consume the shared review allocation in `skill-integration.md`; select only skill modes that fit host limits.
51
51
  - Include changes (or no-change outcome), review scope and fresh checks briefly in existing review/verification evidence. Add no separate approval gate, mandatory document or Jira Task.
52
52
 
53
53
 
@@ -1,6 +1,6 @@
1
1
  # Graph execution
2
2
 
3
- Use the installed Graph CLI automatically after G1; no user opt-in, extra npm install, API key or custom JavaScript adapter is needed. The host (Codex/Claude) executes agent and tool work. The local CLI checks dependencies, persists results and tells the host what to do next. It does not launch models or execute arbitrary commands from JSON.
3
+ Use the installed Graph CLI automatically after G1; no user opt-in, extra npm install, API key or custom JavaScript adapter is needed. The host (Codex/Claude) executes agent and tool work. The local CLI checks dependencies, persists results and tells the host what to do next. It does not launch models. Its verification runner executes only checks selected by ID from the repository-owned verification profile, using argv without a shell. Treat that profile as executable project code; host permissions still apply.
4
4
 
5
5
  Read `skill-integration.md` when selecting Superpowers or CE for a graph node. Each selected skill implements only that stage; its own completion or shipping workflow cannot replace the kit's remaining gates.
6
6
 
@@ -24,6 +24,8 @@ One controller owns each persisted kit run through the CLI. Its file is authorit
24
24
 
25
25
  Read the approved Story, relevant code/tests and prior learnings. Complete required G3 before implementation. Reuse repository-grounded planning/review already performed by Compound skills; do not repeat it with a fixed team of analyzers, advocates and mediators.
26
26
 
27
+ Read [verification.md](verification.md) to configure real checks and bound G1/G3 records before initialization. New runs use v3. Legacy v1/v2 runs are read-only and return `upgrade-required`; stop old workers, inspect side effects, and create a new run with fresh review/checks without evading attempt limits.
28
+
27
29
  Use a stable run path for the Story, such as `.ai-workflow/runs/<slug>.json`. If it exists, run `status`; never replace it to escape a failure. For a small/reversible change, use the built-in plan:
28
30
 
29
31
  ```bash
@@ -50,7 +52,7 @@ Every Story M/V ID must be covered and unknown IDs are rejected. `description`,
50
52
 
51
53
  ## Execute ready work
52
54
 
53
- 1. Read the JSON status and its `action`. Give each worker only its task, Story constraints, relevant files and `input.dependencies`; do not send the whole run/history. Read evidence files by reference as needed.
55
+ 1. Read the JSON status and its `action`. Apply [model-selection.md](model-selection.md) before dispatch using the cached host catalog. Give each worker only its task, Story constraints, relevant files and `input.dependencies`; do not send the whole run/history. Read evidence files by reference as needed.
54
56
  2. Reserve each ready task before starting work:
55
57
 
56
58
  `node .ai-workflow/bin/graph.mjs start <run.json> <node-id> <ready-token>`
@@ -71,7 +73,7 @@ Every Story M/V ID must be covered and unknown IDs are rejected. `description`,
71
73
  node .ai-workflow/bin/graph.mjs record <run.json> <node-id> <result.json>
72
74
  ```
73
75
 
74
- A failed result uses `"evaluation": { "passed": false, "action": "fix", "feedback": "Specific failed expectation and affected task" }`. Evaluation is mandatory. An omitted value, empty evidence, premature node or stale token cannot complete a task. The CLI validates evidence existence and hashes, not the truth of observations; the host must actually run and assess the checks. CLI exit 0 means the record was accepted, including a failure record: inspect `action` and `failed`.
76
+ A failed result uses `"evaluation": { "passed": false, "action": "fix", "feedback": "Specific failed expectation and affected task" }`. Evaluation is mandatory. An omitted value, empty evidence, premature node or stale token cannot complete a task. Implementation/review observations remain host judgments. Final verification and Developer self-check additionally require runner-issued successful receipts covering every assigned V ID. Execute `node .ai-workflow/bin/graph.mjs verify <run.json> <node-id> <started-token> <check-id>` for each required check, inspect the returned exit status and raw logs, then record. `passed: true` cannot override a failed/missing execution. Runner CLI exit 0 means the execution was collected; inspect `verification.passed`, not just CLI exit status. CLI exit 0 means the record was accepted, including a failure record: inspect `action` and `failed`.
75
77
 
76
78
  ## Route the next action
77
79
 
@@ -85,6 +87,8 @@ A failed result uses `"evaluation": { "passed": false, "action": "fix", "feedbac
85
87
  | `stop` | Report exhausted attempts and evidence. Do not restart under a new filename without an explicit decision to continue. |
86
88
  | `question` | Transport the pending question; submit the matching answer and continue with `resumed.token`. See `role-graphs.md`. An answer is not approval. |
87
89
  | `role-complete` | Return the role's native outcome and evidence to the caller. This does not finish delivery. |
90
+ | `stale` | Code changed after review/check start. Inspect changes and reset the earliest affected node; rerun invalidated descendants. Status never rewrites saved state. |
91
+ | `upgrade-required` | Legacy run is inspectable only; follow the migration note above. |
88
92
  | `g4` | Follow `understanding-gate.md`; this is readiness, not approval or delivery. |
89
93
 
90
94
  ```bash
@@ -110,7 +114,7 @@ The generic API is not the delivery CLI's policy API. Choose the interface by it
110
114
  | Dependency readiness, read concurrency, exclusive writers | Within one execution | Within one run | Isolate or serialize work across runs |
111
115
  | Attempts | Counts starts; no built-in cap | Maximum three starts per node | Enforce global time, cost and attempt budgets |
112
116
  | `human` / `replan` evaluation | Records the action; independent work can continue | Routes to the decision; no further start until resolved in a new run | Stop affected processes and obtain the decision |
113
- | Evidence and persistence | Returns state and explicit evaluation; no evidence-file checks or checkpoint store | Checks evidence files/hashes and persists run changes | Verify observations and bind them to the actual code revision |
117
+ | Evidence and persistence | Returns state and explicit evaluation; no evidence-file checks or checkpoint store | Binds actual snapshots, runner receipts and evidence hashes; persists run changes | Judge assertion adequacy and external/environment boundaries |
114
118
  | User approval and tool permissions | Not provided | Checks approval records, not identity; does not intercept tools | Own actual approval events and execution permissions |
115
119
 
116
120
  Do not assume `executeTaskGraph` or `resetAffectedSubgraph` enforces the delivery CLI's retry or human-decision rules. Office integration must first identify its actual dispatch, storage, cancellation and result-application boundary. If it needs shared delivery transitions, extract only the necessary rules from the CLI when connecting that consumer; do not duplicate the rules in Office or invent an unused public API in advance.
@@ -90,3 +90,5 @@ that is not approval, and the output says which gate it skipped. Do not start im
90
90
  unless both exit 0, and never claim the gate passed without that output.
91
91
 
92
92
  No approval means no implementation.
93
+
94
+ For new v3 Graph runs, the G1 artifact must be JSON with `gate: "G1"`, canonical `storyHash`, and `responseRef` to the actual user decision. Store it under `.ai-workflow/approvals/`; `verification.md` gives the binding format. Document shape checks alone do not prove approval binding or delivery.
@@ -0,0 +1,40 @@
1
+ # Choose a model for the assigned work
2
+
3
+ Use this policy before model dispatch, in standalone delivery and every role flow. The kit supplies the rule; the host supplies available models and executes the choice. This is instruction policy, not a model router, provider SDK or Graph CLI flag. Jev is not required.
4
+
5
+ ## Discover once, then choose
6
+
7
+ 1. Honor explicit user model choices, permitted providers, data boundaries, delegation rules and remaining time/cost limits. This policy grants no new permissions.
8
+ 2. Read the host's available-model catalog or configuration. Use exact selectable IDs, supported tools/modalities, context limits, relevant capability evidence and known cost/latency information. Public model lists do not prove account access. Do not guess IDs, prices or capability rankings from model names. Reuse this information during the run; refresh when availability changes or new requirements need missing information.
9
+ 3. Identify this task's needs: ambiguity, failure impact, required tools, input size/modality and how the result can be checked. Filter out unsuitable models. For poorly understood or high-impact work, require stronger relevant capability evidence. Unknown capability is not proof of suitability.
10
+ 4. Compare **all eligible models**, including ones several levels below the current model. Choose the lowest expected total cost that meets the task's needs and deadline, using comparable task results where available. Include correction, review and handoff overhead. When total-cost evidence is absent, use verified relative cost information and a cautious suitability judgment; do not invent scores. Do not select an expensive model solely because the role is PM or Reviewer.
11
+ 5. Apply the choice using the host's supported model/configuration controls. Pass the same policy and allowed catalog to already-authorized workers. Confirm the actual model from execution metadata when available. A recommendation alone is not a model switch.
12
+
13
+ If discovery or switching is unsupported, keep the permitted current/default model, subject to known capabilities and limits, and disclose the restriction once. A worker-only model selector cannot switch its parent session. Do not create extra workers solely to switch models. If no permitted option can satisfy required capabilities or budget, return the specific blocker.
14
+
15
+ ## Match effort to work
16
+
17
+ | Work | Selection rule |
18
+ |---|---|
19
+ | Graph readiness, schema checks, tests | Run existing deterministic tools; no model call just to reinterpret their state |
20
+ | Clear, bounded, low-impact edits or extraction | Cheapest supported model with sufficient tools, context and capability; skipping several tiers is valid |
21
+ | Implementation with clear scope and checks | Lowest-cost suitable model; keep implementation, review and verification requirements |
22
+ | Ambiguous design, unexplained failures, high-impact behavior | Choose using evidence of relevant reasoning ability; price alone cannot establish suitability |
23
+
24
+ ## Reassess only with a reason
25
+
26
+ An expected red test, missing input, expired credential or tool outage is not evidence that a larger model is needed. Diagnose the cause first. Reassess after concrete feedback reveals a material capability gap or the scope changes. Select a better-suited permitted model directly; do not walk every tier or cycle through models. Every attempt consumes existing graph and host limits.
27
+
28
+ Before a handoff, stop the previous worker and inspect its changes. Carry the task constraints, revision, relevant artifacts, failed checks and unresolved issues, not the whole conversation. Preserve the run and attempt history; use existing recovery/token rules when an attempt restarts. Never overlap writers or reset a run to renew its budget. Review independence and human approval remain unchanged.
29
+
30
+ Record the selected model/configuration, short reason and any actual switch or limitation in existing task evidence. Keep observed tokens, cost, elapsed time and correction counts when the host provides them; unknown usage stays unknown. Judge savings per accepted task. Do not promise fewer tokens or lower cost merely because a smaller model was selected. Selection itself uses this rule and existing metadata, not a separate routing-model call.
31
+
32
+ ## Record host execution, not a prediction
33
+
34
+ Use `output.execution` on the existing Graph result, not another workflow or routing agent:
35
+
36
+ ```json
37
+ {"selection":"delegated","requestedModel":"<exact eligible host ID>","actualModel":null,"confirmation":"unknown","effort":"low","reason":"bounded task with runnable acceptance checks","usage":null}
38
+ ```
39
+
40
+ `selection` is `inline`, `delegated`, `pinned`, `unsupported`, or `unknown` when the host supplies no selection record. Set `confirmation: confirmed` and `actualModel` only with a host execution `metadataRef`. Otherwise actual model and unknown usage remain null. Observed usage has `inputTokens`, `outputTokens`, `cost` (each nullable), and `source`; include currency when known. A validated metadata object preserves host claims; it does not independently authenticate the provider or prove savings. See `examples/host-routing/README.md` in the package for host acceptance cases.
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Lauren Tan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.