@interf/compiler 0.7.3 → 0.9.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 (302) hide show
  1. package/README.md +123 -89
  2. package/TRADEMARKS.md +1 -1
  3. package/agent-skills/interf-actions/SKILL.md +71 -0
  4. package/agent-skills/interf-actions/references/cli.md +190 -0
  5. package/apps/compiler-ui/.next/server/app/index.html +1 -0
  6. package/apps/compiler-ui/.next/static/XWKL548yXD_UOG4ID9G3J/_buildManifest.js +11 -0
  7. package/apps/compiler-ui/.next/static/XWKL548yXD_UOG4ID9G3J/_clientMiddlewareManifest.js +1 -0
  8. package/apps/compiler-ui/.next/static/XWKL548yXD_UOG4ID9G3J/_ssgManifest.js +1 -0
  9. package/apps/compiler-ui/.next/static/chunks/03~yq9q893hmn.js +1 -0
  10. package/apps/compiler-ui/.next/static/chunks/06z~l3kwb891e.js +1 -0
  11. package/apps/compiler-ui/.next/static/chunks/08g7lvje.te.u.js +1 -0
  12. package/apps/compiler-ui/.next/static/chunks/08m7vf5asqlsm.js +91 -0
  13. package/apps/compiler-ui/.next/static/chunks/0_i-3_5l9t2qe.js +1 -0
  14. package/apps/compiler-ui/.next/static/chunks/0b-ywny_j0g~0.js +1 -0
  15. package/apps/compiler-ui/.next/static/chunks/0b52v41o1gixx.js +1 -0
  16. package/apps/compiler-ui/.next/static/chunks/0fgt_8knmicoz.js +124 -0
  17. package/apps/compiler-ui/.next/static/chunks/0gpzgsv0w.q~m.js +31 -0
  18. package/apps/compiler-ui/.next/static/chunks/0ilwfezfvu6~-.js +1 -0
  19. package/apps/compiler-ui/.next/static/chunks/0n51hrfoufc7g.js +1 -0
  20. package/apps/compiler-ui/.next/static/chunks/0ti_66mx7~w2-.js +5 -0
  21. package/apps/compiler-ui/.next/static/chunks/0xxmf45eskdt~.css +1 -0
  22. package/apps/compiler-ui/.next/static/chunks/0y5z3t-z1c8ks.js.map +5 -0
  23. package/apps/compiler-ui/.next/static/chunks/13g~4mamjft.c.css +3 -0
  24. package/apps/compiler-ui/.next/static/chunks/14wtz~vq25~qq.js +1 -0
  25. package/apps/compiler-ui/.next/static/chunks/turbopack-109rtik40vwh5.js +1 -0
  26. package/apps/compiler-ui/.next/static/chunks/turbopack-10e~t1yzi4svj.js +1 -0
  27. package/apps/compiler-ui/.next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +1 -0
  28. package/apps/compiler-ui/.next/static/media/GeistMono_Variable.p.17jn9btb_52pq.woff2 +0 -0
  29. package/apps/compiler-ui/.next/static/media/Geist_Variable-s.p.0-te~ja_gpvcf.woff2 +0 -0
  30. package/apps/compiler-ui/.next/static/media/worker.102zas1s52_pf.js +109 -0
  31. package/builtin-workflows/interf/README.md +8 -8
  32. package/builtin-workflows/interf/compile/stages/shape/SKILL.md +4 -4
  33. package/builtin-workflows/interf/compile/stages/structure/SKILL.md +1 -1
  34. package/builtin-workflows/interf/improve/SKILL.md +1 -1
  35. package/builtin-workflows/interf/use/query/SKILL.md +1 -1
  36. package/builtin-workflows/interf/workflow.json +8 -8
  37. package/builtin-workflows/interf/workflow.schema.json +1 -1
  38. package/dist/cli/commands/check-draft.d.ts +5 -4
  39. package/dist/cli/commands/check-draft.js +18 -17
  40. package/dist/cli/commands/compile-controller.d.ts +3 -0
  41. package/dist/cli/commands/compile-controller.js +53 -45
  42. package/dist/cli/commands/compile.js +83 -27
  43. package/dist/cli/commands/compiled-flow.d.ts +3 -0
  44. package/dist/cli/commands/compiled-flow.js +9 -7
  45. package/dist/cli/commands/control-path.d.ts +11 -0
  46. package/dist/cli/commands/control-path.js +72 -0
  47. package/dist/cli/commands/create-workflow-wizard.d.ts +6 -0
  48. package/dist/cli/commands/create-workflow-wizard.js +191 -77
  49. package/dist/cli/commands/create.js +54 -40
  50. package/dist/cli/commands/default.js +4 -3
  51. package/dist/cli/commands/doctor.js +5 -5
  52. package/dist/cli/commands/executor-flow.js +1 -1
  53. package/dist/cli/commands/init.js +326 -76
  54. package/dist/cli/commands/list.js +8 -7
  55. package/dist/cli/commands/preparation-selection.d.ts +6 -0
  56. package/dist/cli/commands/preparation-selection.js +11 -0
  57. package/dist/cli/commands/reset.js +3 -3
  58. package/dist/cli/commands/source-config-wizard.d.ts +4 -3
  59. package/dist/cli/commands/source-config-wizard.js +175 -197
  60. package/dist/cli/commands/status.js +116 -8
  61. package/dist/cli/commands/test-flow.d.ts +1 -1
  62. package/dist/cli/commands/test-flow.js +31 -31
  63. package/dist/cli/commands/test.d.ts +4 -0
  64. package/dist/cli/commands/test.js +95 -58
  65. package/dist/cli/commands/verify.js +7 -7
  66. package/dist/cli/commands/web.d.ts +11 -0
  67. package/dist/cli/commands/web.js +373 -0
  68. package/dist/cli/index.d.ts +2 -1
  69. package/dist/cli/index.js +3 -1
  70. package/dist/index.d.ts +4 -2
  71. package/dist/index.js +3 -1
  72. package/dist/packages/agents/lib/execution.js +4 -2
  73. package/dist/packages/agents/lib/executors.d.ts +1 -0
  74. package/dist/packages/agents/lib/executors.js +1 -0
  75. package/dist/packages/agents/lib/render.d.ts +2 -2
  76. package/dist/packages/agents/lib/render.js +10 -9
  77. package/dist/packages/agents/lib/shells.d.ts +3 -11
  78. package/dist/packages/agents/lib/shells.js +45 -96
  79. package/dist/packages/agents/lib/types.d.ts +1 -0
  80. package/dist/packages/compiler/compiled-paths.d.ts +4 -1
  81. package/dist/packages/compiler/compiled-paths.js +7 -1
  82. package/dist/packages/compiler/compiled-pipeline.d.ts +7 -0
  83. package/dist/packages/compiler/compiled-pipeline.js +15 -4
  84. package/dist/packages/compiler/compiled-schema.js +1 -1
  85. package/dist/packages/compiler/compiled-stage-plan.d.ts +2 -2
  86. package/dist/packages/compiler/compiled-stage-plan.js +4 -4
  87. package/dist/packages/compiler/compiled-stage-runner.d.ts +5 -0
  88. package/dist/packages/compiler/compiled-stage-runner.js +50 -2
  89. package/dist/packages/compiler/compiled-target.d.ts +1 -1
  90. package/dist/packages/compiler/compiled-target.js +2 -2
  91. package/dist/packages/compiler/lib/schema.d.ts +161 -1
  92. package/dist/packages/compiler/lib/schema.js +87 -1
  93. package/dist/packages/compiler/raw-snapshot.d.ts +9 -2
  94. package/dist/packages/compiler/runtime-acceptance.js +1 -1
  95. package/dist/packages/compiler/runtime-contracts.js +2 -2
  96. package/dist/packages/compiler/runtime-prompt.js +6 -6
  97. package/dist/packages/compiler/runtime-reconcile.js +3 -3
  98. package/dist/packages/compiler/runtime-runs.js +3 -0
  99. package/dist/packages/compiler/runtime-types.d.ts +1 -0
  100. package/dist/packages/compiler/state-health.js +1 -1
  101. package/dist/packages/compiler/state-view.js +2 -2
  102. package/dist/packages/compiler/validate-compiled.js +11 -9
  103. package/dist/packages/execution/adapters.d.ts +15 -0
  104. package/dist/packages/execution/adapters.js +1 -0
  105. package/dist/packages/execution/events.d.ts +8 -0
  106. package/dist/packages/execution/events.js +16 -0
  107. package/dist/packages/execution/index.d.ts +9 -0
  108. package/dist/packages/execution/index.js +6 -0
  109. package/dist/packages/execution/lib/schema.d.ts +1554 -0
  110. package/dist/packages/execution/lib/schema.js +319 -0
  111. package/dist/packages/local-service/action-values.d.ts +23 -0
  112. package/dist/packages/local-service/action-values.js +31 -0
  113. package/dist/packages/local-service/client.d.ts +119 -0
  114. package/dist/packages/local-service/client.js +356 -0
  115. package/dist/packages/local-service/index.d.ts +15 -0
  116. package/dist/packages/local-service/index.js +11 -0
  117. package/dist/packages/local-service/lib/schema.d.ts +7355 -0
  118. package/dist/packages/local-service/lib/schema.js +636 -0
  119. package/dist/packages/local-service/routes.d.ts +27 -0
  120. package/dist/packages/local-service/routes.js +32 -0
  121. package/dist/packages/local-service/runtime.d.ts +134 -0
  122. package/dist/packages/local-service/runtime.js +2841 -0
  123. package/dist/packages/local-service/server.d.ts +17 -0
  124. package/dist/packages/local-service/server.js +572 -0
  125. package/dist/packages/project-model/index.d.ts +2 -1
  126. package/dist/packages/project-model/index.js +1 -0
  127. package/dist/packages/project-model/interf-detect.d.ts +6 -2
  128. package/dist/packages/project-model/interf-detect.js +25 -10
  129. package/dist/packages/project-model/interf-scaffold.js +9 -6
  130. package/dist/packages/project-model/interf.d.ts +1 -1
  131. package/dist/packages/project-model/interf.js +1 -1
  132. package/dist/packages/project-model/lib/schema.d.ts +80 -6
  133. package/dist/packages/project-model/lib/schema.js +29 -19
  134. package/dist/packages/project-model/source-config.d.ts +22 -13
  135. package/dist/packages/project-model/source-config.js +140 -123
  136. package/dist/packages/project-model/source-folders.d.ts +11 -0
  137. package/dist/packages/project-model/source-folders.js +110 -0
  138. package/dist/packages/testing/test-execution.js +5 -5
  139. package/dist/packages/testing/test-paths.js +1 -3
  140. package/dist/packages/workflow-authoring/workflow-authoring.d.ts +4 -6
  141. package/dist/packages/workflow-authoring/workflow-authoring.js +45 -86
  142. package/dist/packages/workflow-authoring/workflow-edit-session.d.ts +2 -0
  143. package/dist/packages/workflow-authoring/workflow-edit-session.js +80 -49
  144. package/dist/packages/workflow-authoring/workflow-improvement.js +2 -1
  145. package/dist/packages/workflow-package/context-interface.js +1 -1
  146. package/dist/packages/workflow-package/interf-workflow-package.d.ts +6 -0
  147. package/dist/packages/workflow-package/interf-workflow-package.js +115 -8
  148. package/dist/packages/workflow-package/local-workflows.js +33 -17
  149. package/dist/packages/workflow-package/workflow-definitions.d.ts +5 -5
  150. package/dist/packages/workflow-package/workflow-definitions.js +23 -22
  151. package/dist/packages/workflow-package/workflow-helpers.js +10 -6
  152. package/dist/packages/workflow-package/workflow-stage-runner.d.ts +1 -0
  153. package/dist/packages/workflow-package/workflow-stage-runner.js +2 -0
  154. package/package.json +17 -1
  155. package/dist/cli/commands/dataset-selection.d.ts +0 -6
  156. package/dist/cli/commands/dataset-selection.js +0 -11
  157. package/dist/lib/agent-args.d.ts +0 -1
  158. package/dist/lib/agent-args.js +0 -1
  159. package/dist/lib/agent-constants.d.ts +0 -1
  160. package/dist/lib/agent-constants.js +0 -1
  161. package/dist/lib/agent-detection.d.ts +0 -1
  162. package/dist/lib/agent-detection.js +0 -1
  163. package/dist/lib/agent-execution.d.ts +0 -1
  164. package/dist/lib/agent-execution.js +0 -1
  165. package/dist/lib/agent-logs.d.ts +0 -1
  166. package/dist/lib/agent-logs.js +0 -1
  167. package/dist/lib/agent-preflight.d.ts +0 -1
  168. package/dist/lib/agent-preflight.js +0 -1
  169. package/dist/lib/agent-render.d.ts +0 -1
  170. package/dist/lib/agent-render.js +0 -1
  171. package/dist/lib/agent-shells.d.ts +0 -1
  172. package/dist/lib/agent-shells.js +0 -1
  173. package/dist/lib/agent-status.d.ts +0 -1
  174. package/dist/lib/agent-status.js +0 -1
  175. package/dist/lib/agent-types.d.ts +0 -1
  176. package/dist/lib/agent-types.js +0 -1
  177. package/dist/lib/agents.d.ts +0 -1
  178. package/dist/lib/agents.js +0 -1
  179. package/dist/lib/builtin-compiled-workflow.d.ts +0 -1
  180. package/dist/lib/builtin-compiled-workflow.js +0 -1
  181. package/dist/lib/chart-guidance.d.ts +0 -1
  182. package/dist/lib/chart-guidance.js +0 -1
  183. package/dist/lib/compiled-compile.d.ts +0 -1
  184. package/dist/lib/compiled-compile.js +0 -1
  185. package/dist/lib/compiled-paths.d.ts +0 -1
  186. package/dist/lib/compiled-paths.js +0 -3
  187. package/dist/lib/compiled-raw.d.ts +0 -1
  188. package/dist/lib/compiled-raw.js +0 -3
  189. package/dist/lib/compiled-reset.d.ts +0 -1
  190. package/dist/lib/compiled-reset.js +0 -3
  191. package/dist/lib/compiled-schema.d.ts +0 -1
  192. package/dist/lib/compiled-schema.js +0 -1
  193. package/dist/lib/discovery.d.ts +0 -1
  194. package/dist/lib/discovery.js +0 -1
  195. package/dist/lib/execution-profile.d.ts +0 -1
  196. package/dist/lib/execution-profile.js +0 -1
  197. package/dist/lib/executors.d.ts +0 -1
  198. package/dist/lib/executors.js +0 -1
  199. package/dist/lib/filesystem.d.ts +0 -1
  200. package/dist/lib/filesystem.js +0 -1
  201. package/dist/lib/interf-bootstrap.d.ts +0 -1
  202. package/dist/lib/interf-bootstrap.js +0 -3
  203. package/dist/lib/interf-detect.d.ts +0 -1
  204. package/dist/lib/interf-detect.js +0 -3
  205. package/dist/lib/interf-scaffold.d.ts +0 -1
  206. package/dist/lib/interf-scaffold.js +0 -3
  207. package/dist/lib/interf-workflow-package.d.ts +0 -1
  208. package/dist/lib/interf-workflow-package.js +0 -1
  209. package/dist/lib/interf.d.ts +0 -1
  210. package/dist/lib/interf.js +0 -3
  211. package/dist/lib/local-workflows.d.ts +0 -1
  212. package/dist/lib/local-workflows.js +0 -1
  213. package/dist/lib/logger.d.ts +0 -1
  214. package/dist/lib/logger.js +0 -1
  215. package/dist/lib/package-root.d.ts +0 -1
  216. package/dist/lib/package-root.js +0 -1
  217. package/dist/lib/parse.d.ts +0 -1
  218. package/dist/lib/parse.js +0 -1
  219. package/dist/lib/project-paths.d.ts +0 -1
  220. package/dist/lib/project-paths.js +0 -3
  221. package/dist/lib/runtime-acceptance.d.ts +0 -1
  222. package/dist/lib/runtime-acceptance.js +0 -1
  223. package/dist/lib/runtime-contracts.d.ts +0 -1
  224. package/dist/lib/runtime-contracts.js +0 -1
  225. package/dist/lib/runtime-inventory.d.ts +0 -1
  226. package/dist/lib/runtime-inventory.js +0 -1
  227. package/dist/lib/runtime-paths.d.ts +0 -1
  228. package/dist/lib/runtime-paths.js +0 -1
  229. package/dist/lib/runtime-prompt.d.ts +0 -1
  230. package/dist/lib/runtime-prompt.js +0 -1
  231. package/dist/lib/runtime-reconcile.d.ts +0 -1
  232. package/dist/lib/runtime-reconcile.js +0 -1
  233. package/dist/lib/runtime-runs.d.ts +0 -1
  234. package/dist/lib/runtime-runs.js +0 -1
  235. package/dist/lib/runtime-types.d.ts +0 -1
  236. package/dist/lib/runtime-types.js +0 -1
  237. package/dist/lib/runtime.d.ts +0 -1
  238. package/dist/lib/runtime.js +0 -1
  239. package/dist/lib/schema.d.ts +0 -4
  240. package/dist/lib/schema.js +0 -6
  241. package/dist/lib/source-config.d.ts +0 -1
  242. package/dist/lib/source-config.js +0 -3
  243. package/dist/lib/state-artifacts.d.ts +0 -1
  244. package/dist/lib/state-artifacts.js +0 -1
  245. package/dist/lib/state-health.d.ts +0 -1
  246. package/dist/lib/state-health.js +0 -1
  247. package/dist/lib/state-io.d.ts +0 -1
  248. package/dist/lib/state-io.js +0 -1
  249. package/dist/lib/state-paths.d.ts +0 -1
  250. package/dist/lib/state-paths.js +0 -1
  251. package/dist/lib/state-view.d.ts +0 -1
  252. package/dist/lib/state-view.js +0 -1
  253. package/dist/lib/state.d.ts +0 -1
  254. package/dist/lib/state.js +0 -1
  255. package/dist/lib/test-execution.d.ts +0 -1
  256. package/dist/lib/test-execution.js +0 -3
  257. package/dist/lib/test-matrices.d.ts +0 -1
  258. package/dist/lib/test-matrices.js +0 -3
  259. package/dist/lib/test-paths.d.ts +0 -1
  260. package/dist/lib/test-paths.js +0 -3
  261. package/dist/lib/test-profile-presets.d.ts +0 -1
  262. package/dist/lib/test-profile-presets.js +0 -3
  263. package/dist/lib/test-sandbox.d.ts +0 -1
  264. package/dist/lib/test-sandbox.js +0 -3
  265. package/dist/lib/test-specs.d.ts +0 -1
  266. package/dist/lib/test-specs.js +0 -3
  267. package/dist/lib/test-targets.d.ts +0 -1
  268. package/dist/lib/test-targets.js +0 -3
  269. package/dist/lib/test-types.d.ts +0 -1
  270. package/dist/lib/test-types.js +0 -3
  271. package/dist/lib/test.d.ts +0 -1
  272. package/dist/lib/test.js +0 -3
  273. package/dist/lib/util.d.ts +0 -1
  274. package/dist/lib/util.js +0 -1
  275. package/dist/lib/validate-compiled.d.ts +0 -1
  276. package/dist/lib/validate-compiled.js +0 -1
  277. package/dist/lib/validate-helpers.d.ts +0 -1
  278. package/dist/lib/validate-helpers.js +0 -1
  279. package/dist/lib/validate.d.ts +0 -1
  280. package/dist/lib/validate.js +0 -1
  281. package/dist/lib/workflow-authoring.d.ts +0 -1
  282. package/dist/lib/workflow-authoring.js +0 -1
  283. package/dist/lib/workflow-definitions.d.ts +0 -1
  284. package/dist/lib/workflow-definitions.js +0 -1
  285. package/dist/lib/workflow-edit-session.d.ts +0 -1
  286. package/dist/lib/workflow-edit-session.js +0 -1
  287. package/dist/lib/workflow-edit-utils.d.ts +0 -1
  288. package/dist/lib/workflow-edit-utils.js +0 -1
  289. package/dist/lib/workflow-helpers.d.ts +0 -1
  290. package/dist/lib/workflow-helpers.js +0 -1
  291. package/dist/lib/workflow-improvement.d.ts +0 -1
  292. package/dist/lib/workflow-improvement.js +0 -1
  293. package/dist/lib/workflow-primitives.d.ts +0 -1
  294. package/dist/lib/workflow-primitives.js +0 -1
  295. package/dist/lib/workflow-review-paths.d.ts +0 -1
  296. package/dist/lib/workflow-review-paths.js +0 -1
  297. package/dist/lib/workflow-stage-policy.d.ts +0 -1
  298. package/dist/lib/workflow-stage-policy.js +0 -1
  299. package/dist/lib/workflow-stage-runner.d.ts +0 -1
  300. package/dist/lib/workflow-stage-runner.js +0 -1
  301. package/dist/lib/workflows.d.ts +0 -1
  302. package/dist/lib/workflows.js +0 -1
package/README.md CHANGED
@@ -6,54 +6,62 @@ Interf prepares data for agent work. It runs locally, processes your files, show
6
6
 
7
7
  When agents start from source files, they have to discover the full picture while they work. That discovery is hidden: you cannot see which files were processed, which evidence was used, or which connections were found.
8
8
 
9
- Interf replaces that hidden discovery with a visible file-processing workflow: how you tell Interf to prepare your files for the job agents need to do. You define how the files should be processed, what outputs agents should get, and what evidence should show the data is ready. Interf runs the workflow locally and writes the portable context: evidence, structure, and cross-file connections for agents.
9
+ Interf replaces that hidden discovery with a visible Preparation: a Source Folder, a Method for processing it, readiness checks, runs, and the portable context agents use. You choose the Source Folder and Interf Workspace, define what the agent work needs, choose or draft a Method, prepare the files, check readiness, and open the portable context. Interf runs the Method locally and writes the portable context: evidence, structure, and cross-file connections for agents.
10
10
 
11
11
  ```text
12
- bristol-office-analysis/
13
- report.md
14
- notes.md
15
- exports/
16
- interf/
17
- interf.json # saved setup: source paths, questions, workflow choices, and defaults
18
- bristol-office-analysis/ # portable context agents read
19
- AGENTS.md # agent-facing entry point
20
- raw/ # same source files copied here
21
- report.md
22
- notes.md
23
- exports/
24
- home.md # overview and routes for agents
25
- summaries/ # one note per source file
26
- knowledge/ # linked notes built from the files
27
- workflows/ # editable file-processing workflows
12
+ Source Folder Portable context agents read
13
+
14
+ bristol-office-market/ interf/bristol-office-market/
15
+ q4-market-report.pdf AGENTS.md
16
+ lease-comps.xlsx raw/
17
+ planning-notes.md q4-market-report.pdf
18
+ exports/availability.csv lease-comps.xlsx
19
+ planning-notes.md
20
+ exports/availability.csv
21
+ home.md
22
+ summaries/
23
+ knowledge/
28
24
  ```
29
25
 
30
- ## What a Run Looks Like
26
+ ## What a Preparation Produces
31
27
 
32
- `interf test` scores source files and portable context on the same questions: small, verifiable facts from the files. Same files, same questions. What changes is whether Interf prepared the full picture first.
28
+ A Preparation produces portable context plus proof of work. The portable context is the folder agents read. The proof shows which files Interf processed, which Method stages ran, what each stage wrote, and whether required outputs exist.
33
29
 
34
- A recent public run — one market report, two questions, two agents on the same setup — produced:
30
+ For the built-in `interf-default` Method, a prepare run looks like this:
35
31
 
36
- <!-- PUBLIC_BENCHMARK_TABLE:START -->
37
- | Agent | Source files | Portable context |
38
- | --- | --- | --- |
39
- | Codex (GPT-5.4, xhigh) | `2/2` | `2/2` |
40
- | Claude Code (Claude Opus 4.6, max) | `0/2` | `2/2` |
41
- <!-- PUBLIC_BENCHMARK_TABLE:END -->
42
-
43
- Codex passed on the raw files; Claude Code only passed after Interf prepared the portable context. Both numbers come from that same scoring pass.
44
-
45
- That tells you whether preparation helped on this agent work.
32
+ ```text
33
+ Preparation: bristol-office-market
34
+ Method: interf-default
35
+
36
+ prepare run
37
+ read Source Folder
38
+ summarize -> summaries/
39
+ structure -> knowledge/
40
+ shape -> home.md and agent entrypoints
41
+ record proof -> processed files, stage outputs, required artifacts
42
+
43
+ output
44
+ portable context -> interf/bristol-office-market/
45
+ ```
46
46
 
47
- The table is a sample, not a leaderboard. Run `interf test` on your own files. If you run more than one local agent, one scoring pass can include each of them.
47
+ The output is not an answer. It is a prepared local folder with routes, summaries, linked notes, source snapshots, and agent instructions. Your runtime agent reads that folder when it does the actual agent work.
48
48
 
49
49
  ## Design Choices
50
50
 
51
- - `Per-work`: every portable context is prepared for one specific job agents need to do, not a generic index over your files.
52
- - `Deterministic`: Interf runs each stage, an ordered phase of the file-processing workflow, and shows stage-by-stage proof of work: which files were processed, what each stage produced, and whether required outputs exist. Agents do not have to rebuild the full picture while they work.
53
- - `Local-first and private`: your files, your questions, and your agent runs stay on your machine. No cloud, no uploads, no telemetry.
51
+ - `Preparation-scoped`: every Preparation is for one specific job agents need to do, not a generic index over your Source Folder.
52
+ - `Deterministic`: Interf runs each stage, an ordered phase of a Method, and shows stage-by-stage proof of work: which files were processed, what each stage produced, and whether required outputs exist. Agents do not have to rebuild the full picture while they work.
53
+ - `Local-first and private`: your files, readiness checks, and agent runs stay on your machine. No cloud, no uploads, no telemetry.
54
54
  - `Bring your own AI`: use Claude Code, Codex, or another local agent.
55
- - `File over app`: the portable context is a local folder next to the source files — no hidden store, no hidden index. Inspect it, diff it, version it.
56
- - `Scored on your own questions`: every build is checked against questions you wrote from the files. If the portable context does not help, `interf test` tells you.
55
+ - `File over app`: the portable context is a local folder in the Interf Workspace — no hidden store, no hidden index. Inspect it, diff it, version it.
56
+ - `Readiness checks you control`: every build can be checked against gates you wrote from the files. If the portable context is `not ready`, `interf test` shows the readiness evidence behind that status.
57
+
58
+ ## Why Not Just Ask Your Agent?
59
+
60
+ You can. Interf can use Claude Code, Codex, or another local agent while it builds the portable context.
61
+
62
+ A one-off preprocessing prompt gives you another agent answer to trust. Interf puts that work inside a Method you can inspect: declared stages, required outputs, stage-by-stage proof of work, and readiness checks that decide whether the portable context is `ready` or `not ready`.
63
+
64
+ The agent can still do the processing. Interf shows what ran, which files were processed, what evidence was produced, and whether the result is ready for the agent work.
57
65
 
58
66
  ## Install
59
67
 
@@ -66,37 +74,38 @@ Requires Node.js 20+ and a local coding agent such as Claude Code or Codex. Run
66
74
 
67
75
  ## Quick Start
68
76
 
69
- 1. Run `interf` in the project root.
70
- 2. Pick the source folder for the job agents need to do.
71
- 3. Describe what the agent should do with those files.
72
- 4. Review the suggested questions Interf will use to compare source files and portable context.
73
- 5. Choose the file-processing workflow, or create one by describing the source data, outputs, and proof you need.
74
- 6. Run `interf compile` to build portable context.
75
- 7. Run `interf test` to compare source files and portable context on the same questions.
76
- 8. If the portable context does better, point your agent at `interf/<work>/`.
77
+ 1. Run `interf` from the Source Folder you want to prepare, or from a parent folder that contains it.
78
+ 2. Choose the Source Folder and Interf Workspace.
79
+ 3. Create a Preparation by describing what the agent should do with those files.
80
+ 4. Choose or draft the Method: autogenerate one with your agent, use the built-in Method, or create your own.
81
+ 5. Run `interf compile` to prepare files and build portable context.
82
+ 6. Review or edit the readiness checks Interf will use to decide whether the portable context is `ready` or `not ready`.
83
+ 7. Run `interf test` to check readiness.
84
+ 8. If agents pass more checks with portable context, point your agent at `interf/<preparation>/`.
77
85
 
78
- If you want a baseline before building, run `interf test --target raw`. It is optional proof, not the main path.
86
+ If you want a baseline before preparing, run `interf test --target raw`. It is optional proof, not the main path.
79
87
 
80
- `interf init` saves setup in `interf/interf.json` and copies the built-in file-processing workflow to `interf/workflows/interf-default/`. That workflow package is yours inspect it, edit it, or fork it with `interf create workflow`.
88
+ `interf init` sets up the local Interf Workspace, saves `interf/interf.json`, and copies the built-in Method to `interf/methods/interf-default/`. It does not create a Preparation until you choose to add one. The Method is stored as a Method package you can inspect, edit, or fork with `interf create method`.
81
89
 
82
90
  ## Portable Context
83
91
 
84
- `interf/<work>/` is the local folder Interf writes from your files. It gives agents evidence, structure, and cross-file connections for navigating the files. It is not a replacement for your files. For the built-in `interf-default`, it includes:
92
+ `interf/<preparation>/` is the local folder Interf writes from your files. It gives agents evidence, structure, and cross-file connections for navigating the files. It is not a replacement for your files. For the built-in `interf-default`, it includes:
85
93
 
86
94
  ```text
87
- interf/bristol-office-analysis/
88
- AGENTS.md # agent-facing entry point and retrieval rules
95
+ interf/bristol-office-market/
96
+ AGENTS.md # agent-facing entry point and source-checking rules
89
97
  CLAUDE.md # same guidance for Claude Code
90
98
  raw/ # same source files copied here
91
- report.md
92
- notes.md
93
- exports/
99
+ q4-market-report.pdf
100
+ lease-comps.xlsx
101
+ planning-notes.md
102
+ exports/availability.csv
94
103
  home.md # overview and routes for agents
95
104
  summaries/ # one note per source file
96
105
  knowledge/ # linked notes built from the files
97
106
  ```
98
107
 
99
- The source files stay the source of truth. Interf builds next to them; it does not replace them.
108
+ The source files stay the source of truth. Interf writes portable context in the Interf Workspace; it does not modify the Source Folder.
100
109
 
101
110
  `AGENTS.md` tells agents how to use the portable context: start from the prepared outputs, follow the prepared routes, and verify against `raw/` when exact source evidence matters.
102
111
 
@@ -104,15 +113,15 @@ Interf also records stage-by-stage proof of work: which files were processed, wh
104
113
 
105
114
  The portable context is self-contained — it carries its own `raw/` snapshot, so the evidence the agent works from stays attached to the result. Hand it to a different agent and the folder stands on its own.
106
115
 
107
- ## Workflow Packages
116
+ ## Methods
108
117
 
109
- A workflow package tells Interf how to process your files for the job agents need to do. When you create one, describe three things: what data is in the folder, what the portable context should contain, and what evidence should show your data is ready. The built-in `interf-default` lives at `interf/workflows/interf-default/`. Fork it with `interf create workflow` when you need a different method, a different output, or both.
118
+ A Method tells Interf how to process your files for the job agents need to do. When you create one, describe three things: what data is in the Source Folder, what the portable context should contain, and what evidence should show the portable context is `ready`. The built-in `interf-default` Method lives at `interf/methods/interf-default/`. Fork it with `interf create method` when you need a different Method, a different output, or both.
110
119
 
111
120
  ```text
112
- interf/workflows/interf-default/
113
- workflow.json # method: source data, stages, and processing rules
121
+ interf/methods/interf-default/
122
+ workflow.json # Method: source data, stages, and processing rules
114
123
  workflow.schema.json # output contract: required portable-context files and folders
115
- README.md # what this workflow package is for, for humans and agents
124
+ README.md # what this Method is for, for humans and agents
116
125
  compile/
117
126
  stages/
118
127
  summarize/ # stage instructions Interf runs during compile
@@ -120,39 +129,48 @@ interf/workflows/interf-default/
120
129
  shape/
121
130
  use/
122
131
  query/ # how agents read the portable context
123
- improve/ # how Interf revises this workflow package if questions still fail
132
+ improve/ # how Interf revises this Method if readiness checks still fail
124
133
  ```
125
134
 
126
- - `workflow.json` describes the method: source data, stages, and how the files should be processed.
127
- - `workflow.schema.json` describes the output contract: what the portable context must contain. Technically, this is the `context interface`, declared in `workflow.schema.json` and enforced when you run `interf compile`.
135
+ - `workflow.json` describes the Method: source data, stages, and how the files should be processed.
136
+ - `workflow.schema.json` describes the output contract: what the portable context must contain. Interf enforces it when you run `interf compile`.
128
137
  - `compile/stages/<stage>/` is where you author one folder per stage — a small, specific phase like `summarize` or `structure`. You write the instructions; Interf runs them during compile.
129
- - `use/query/` holds the instructions agents follow when they read the portable context for live work.
130
- - `improve/` holds the instructions Interf follows when the first build misses and the workflow package itself needs editing.
138
+ - `use/query/` holds the instructions agents follow when they read the portable context for live agent work.
139
+ - `improve/` holds the instructions Interf follows when the first build misses and the Method itself needs editing.
131
140
 
132
- A workflow package bundles the method Interf runs on your files. It defines the stages, output contract, proof requirements, and improvement instructions. The result is portable context your agents can read.
141
+ A Method defines the stages, output contract, proof requirements, and improvement instructions Interf runs on your files. Technically, each Method is stored as a Method package with `workflow.json` and `workflow.schema.json`. The result is portable context your agents can read.
133
142
 
134
- ## Workflow Improvement
143
+ ## Method Improvement
135
144
 
136
- When the first portable-context build still misses questions, Interf edits the workflow package itself and compiles again. Same files, same questions, different preparation.
145
+ When the first prepare run still misses readiness checks, Interf edits the Method itself and compiles again. Same files, same checks, different preparation.
137
146
 
138
- Interf saves every scored run under `interf/<work>/.interf/tests/`. You can inspect what changed and why a later build did better.
147
+ Interf saves every readiness-check run under `interf/<preparation>/.interf/tests/`. You can inspect what changed and why a later prepare run did better.
139
148
 
140
149
  ## How the Pieces Fit
141
150
 
142
- `interf/interf.json` names the agent work and selects the workflow package. Interf runs it and writes the portable context as a local folder next to your source files.
151
+ `interf/interf.json` stores the Source Folder binding and saved Preparations: readiness checks, selected Method, and defaults. A prepare run processes the Source Folder and writes portable context under `interf/<preparation>/`. `interf test` checks Source Folder files and portable context against the same readiness checks.
152
+
153
+ Readiness is one `ready` / `not ready` status, not a separate score. Interf builds it from evidence primitives: stage/Method acceptance criteria, proof records, file coverage, artifact validation, and readiness checks.
154
+
155
+ `interf web` starts the local Interf service and serves Interf UI. The UI reads local-service resources: Preparations, Methods, runs, stages, proof, artifacts, readiness checks, and whether portable context is `ready` or `not ready`. It renders local compiler state; it does not own compiler, Method, or readiness semantics.
156
+
157
+ Maintainer package boundaries live in [src/packages/README.md](./src/packages/README.md).
143
158
 
144
159
  ## interf/interf.json
145
160
 
146
- `interf/interf.json` is the main config file for the project. It lives under `interf/` with workflow packages and portable contexts, so the project root stays clean. Each entry describes one agent work setup: the source path, the saved questions, the workflow package that prepares the portable context, and optional defaults.
161
+ `interf/interf.json` is the main config file for the local Interf Workspace. It lives under `interf/` with Method packages, run state, snapshots, and portable-context outputs. By default, Interf stores that workspace outside the Source Folder so source files stay clean. It prefers the parent folder when the sibling `interf/` path is available and falls back to `~/.interf/<source-folder>` when that path is already occupied. `source_folder.path` records the Source Folder before any Preparation exists. Each `preparations[]` entry describes one Preparation: the source path, the saved readiness checks, the Method that prepares the portable context, and optional defaults.
147
162
 
148
163
  ```text
149
164
  {
150
- "datasets": [
165
+ "source_folder": {
166
+ "path": "./bristol-office-market"
167
+ },
168
+ "preparations": [
151
169
  {
152
- "name": "bristol-office-analysis",
153
- "path": "./bristol-office-analysis",
154
- "about": "Read the report and answer the saved questions.",
155
- "workflow": "interf-default",
170
+ "name": "bristol-office-market",
171
+ "path": "./bristol-office-market",
172
+ "about": "Answer Bristol office-market questions from the report, comps, notes, and exports.",
173
+ "method": "interf-default",
156
174
  "checks": [
157
175
  { "question": "...", "answer": "..." }
158
176
  ]
@@ -161,26 +179,41 @@ Interf saves every scored run under `interf/<work>/.interf/tests/`. You can insp
161
179
  }
162
180
  ```
163
181
 
164
- The `workflow` field selects the workflow package for that job. It points to a folder id under `interf/workflows/`. Set it to `interf-default` (the built-in default) or to a workflow package you have authored. A different workflow package is a different method and a different output. Same files, different portable context.
182
+ The `method` field selects the Method for that Preparation. It points to a folder id under `interf/methods/`. Set it to `interf-default` (the built-in default) or to a Method you have authored. A different Method is different processing and a different output. Same files, different portable context.
183
+
184
+ ## Readiness Checks
165
185
 
166
- ## Questions
186
+ There are two checks in the system, and they answer different questions.
167
187
 
168
- In the setup flow, they look like plain questions. In `interf/interf.json`, they live under `checks[]`.
188
+ Method acceptance criteria check the build: did the Method produce the files, folders, artifacts, and stage outputs it promised? Interf checks those while it compiles.
169
189
 
170
- They should be small, verifiable facts you already know from the files:
190
+ Readiness checks check the Preparation: is this portable context good enough for the specific agent work? They are the confidence layer on top of the portable context, not the product output.
191
+
192
+ In the setup flow, readiness checks often look like plain question-and-answer pairs. In `interf/interf.json`, they live under `checks[]`. They help define whether the portable context is `ready` or `not ready`. A check should be a small, verifiable fact or condition you already know from the files:
171
193
 
172
194
  - one exact number from a chart, table, or filing
173
195
  - one short statement that should be true or false
174
196
  - one comparison across years, files, or sections
175
197
 
176
- Interf proposes an initial set from the files and the work description. You confirm, edit, or replace them.
198
+ Interf proposes an initial set from the files and the description of the job agents need to do. You confirm, edit, or replace them. `interf test` runs those checks through the configured local agent against Source Folder files, portable context, or both. The portable context itself does not answer; the agent answers while using it.
199
+
200
+ A maintained readiness example in this repo uses one market report, two readiness checks, and two agents:
201
+
202
+ <!-- PUBLIC_BENCHMARK_TABLE:START -->
203
+ | Agent | Source files | Portable context |
204
+ | --- | --- | --- |
205
+ | Codex (GPT-5.4, xhigh) | `2/2` | `2/2` |
206
+ | Claude Code (Claude Opus 4.6, max) | `0/2` | `2/2` |
207
+ <!-- PUBLIC_BENCHMARK_TABLE:END -->
208
+
209
+ Codex passed from the raw files; Claude Code only passed when working from Interf's portable context. Both numbers come from the same readiness-check pass. That is evidence about whether this Preparation is `ready` for this agent work.
177
210
 
178
211
  A maintained public test example in this repo stores them like this:
179
212
 
180
213
  <!-- PUBLIC_TEST_CHECKS:START -->
181
214
  ```text
182
215
  {
183
- "datasets": [
216
+ "preparations": [
184
217
  {
185
218
  "name": "cbre-chart-sanity",
186
219
  "path": "./task-files",
@@ -207,22 +240,23 @@ A maintained public test example in this repo stores them like this:
207
240
  - Not a vector store or RAG server. The portable context is plain files.
208
241
  - Not a hosted data platform. Interf runs locally and `interf/` is yours.
209
242
  - Not an agent harness. Interf prepares the data; your existing agent reads the portable context.
210
- - Not a public leaderboard. Every score comes from your files, your questions, and your agent runs.
211
243
 
212
244
  ## Useful Commands
213
245
 
214
- - `interf` or `interf init` — open the wizard and save the first setup
246
+ - `interf` or `interf init` — set up the Interf Workspace or manage Preparations
247
+ - `interf web` — start Interf UI and the local API for this Workspace
215
248
  - `interf compile` — build portable context agents can use
216
- - `interf test` — compare source files and portable context on the same questions
217
- - `interf create workflow` — draft a reusable workflow package
249
+ - `interf test` — run readiness checks against source files and/or portable context
250
+ - `interf create method` — draft a reusable Method
218
251
  - `interf doctor --live` — verify the local executor
219
252
 
220
- ## Docs
253
+ ## Maintainer Docs
221
254
 
222
- - [src/packages/README.md](./src/packages/README.md) package boundaries
223
- - [src/packages/compiler/PACKAGE.md](./src/packages/compiler/PACKAGE.md) local engine primitives and runtime contract
224
- - [src/packages/workflow-package/PACKAGE.md](./src/packages/workflow-package/PACKAGE.md) workflow package model
225
- - [src/packages/workflow-authoring/PACKAGE.md](./src/packages/workflow-authoring/PACKAGE.md) workflow authoring and workflow improvement
255
+ - [src/packages/README.md](./src/packages/README.md) - package boundaries
256
+ - [src/cli/README.md](./src/cli/README.md) - CLI orchestration
257
+ - [apps/compiler-ui/README.md](./apps/compiler-ui/README.md) - Interf Compiler UI
258
+ - [apps/compiler-ui/DESIGN.md](./apps/compiler-ui/DESIGN.md) - UI design source of truth
259
+ - [scripts/README.md](./scripts/README.md) - maintainer automation
226
260
 
227
261
  Contributors: see [CONTRIBUTING.md](./CONTRIBUTING.md).
228
262
 
package/TRADEMARKS.md CHANGED
@@ -7,7 +7,7 @@ This repository's code is available under the Apache 2.0 license in [LICENSE](./
7
7
  You may:
8
8
 
9
9
  - describe this project factually as a fork or derivative of Interf
10
- - state that your project is based on or compatible with Interf
10
+ - state that your project is based on Interf or integrates with Interf
11
11
  - reproduce the name where required by the Apache 2.0 license for attribution
12
12
 
13
13
  You may not:
@@ -0,0 +1,71 @@
1
+ ---
2
+ name: interf-actions
3
+ description: Use when an agent needs to operate Interf from natural language: inspect the local Interf Workspace, propose safe CLI commands, run approved Interf commands, or prepare action proposals for Interf Compiler UI.
4
+ ---
5
+
6
+ # Interf Actions
7
+
8
+ Interf prepares data for agent work. It runs locally, processes source files, shows evidence that the data is ready, and writes portable context: a local folder with verifiable outputs agents can use.
9
+
10
+ Use the installed CLI as the source of truth. Outside Interf Compiler UI proposal mode, inspect the current command surface when needed:
11
+
12
+ ```sh
13
+ interf --help
14
+ interf list
15
+ interf status
16
+ interf doctor
17
+ ```
18
+
19
+ For command-specific flags, run `interf <command> --help`.
20
+
21
+ In Interf Compiler UI proposal mode, do not run CLI commands. Use `references/cli.md` instead. It is a generated snapshot of the current Interf CLI help and is checked against the built package in the repo test suite.
22
+
23
+ ## Operating Rules
24
+
25
+ - Use exact Preparation ids from `interf list` or `interf/interf.json`.
26
+ - Prefer the selected Preparation only when it is explicit or there is one obvious Preparation.
27
+ - Do not invent readiness checks, Method ids, paths, or executor names.
28
+ - If the local service is running, `interf compile` and `interf test` submit visible runs to Interf Compiler UI.
29
+ - Propose the command first and wait for approval before running commands that write files, start runs, create Method packages, build portable context, or run readiness checks.
30
+ - If the request is ambiguous, ask one concise clarification instead of guessing.
31
+
32
+ ## Interf Compiler UI Proposal Mode
33
+
34
+ When Interf Compiler UI asks for a proposal, do not run CLI commands. Write a single JSON object to the requested output path.
35
+
36
+ Use these action types:
37
+
38
+ - `preparation-setup`
39
+ - `compile`
40
+ - `test`
41
+ - `readiness-check-draft`
42
+ - `method-authoring`
43
+ - `clarification`
44
+
45
+ Use `preparation-setup` when no Preparation is saved yet or when the user asks to initialize/add a source folder. Set `values.path` to a visible source folder path such as `./Reports`, set `preparation` or `values.name` to the Preparation id, and set `values.about` to the agent work the source folder should support. CLI equivalent: `interf init` or `interf create preparation`.
46
+
47
+ For a readiness-check proposal, set `values.mode` to:
48
+
49
+ - `raw` for source files only
50
+ - `compiled` for portable context only
51
+ - `both` for source files and portable context
52
+
53
+ Return this shape:
54
+
55
+ ```json
56
+ {
57
+ "action_type": "preparation-setup",
58
+ "preparation": "preparation-id",
59
+ "method": "method-id if applicable",
60
+ "values": {
61
+ "path": "./source-folder",
62
+ "about": "agent work this source folder should support"
63
+ },
64
+ "title": "short approval card title",
65
+ "summary": "one sentence describing what will run",
66
+ "assistant_message": "concise explanation for the user",
67
+ "command_preview": "interf init # source: ./source-folder"
68
+ }
69
+ ```
70
+
71
+ Use `clarification` only when the request cannot be mapped safely to one Interf action.
@@ -0,0 +1,190 @@
1
+ # Interf CLI Reference Snapshot
2
+
3
+ <!-- Generated from the built CLI help by scripts/docs/sync-agent-skill-cli-reference.mjs. Do not edit by hand. -->
4
+
5
+ This snapshot is bundled with the `interf-actions` skill. The installed `interf` command remains the source of truth when available.
6
+
7
+ ## interf
8
+
9
+ ```text
10
+ interf
11
+
12
+ Commands:
13
+ interf init Set up Interf or open the Preparation wizard
14
+ interf compile Prepare files and write Portable Context agents can use
15
+ interf test Run readiness checks against source files and Portable Context
16
+ interf create [type] Create a Preparation or reusable Method
17
+ interf doctor Check local executor configuration before a real local run
18
+ interf list List saved Preparations in this Source Folder
19
+ interf status Show deterministic health for the Portable Context agents use
20
+ interf verify <check> Run deterministic verification checks
21
+ interf web Start Interf UI and the local Interf API
22
+ interf reset <scope> Reset generated Portable Context state while keeping source files and the local Method package
23
+
24
+ Options:
25
+ --help Show help [boolean]
26
+ --version Show version number [boolean]
27
+ ```
28
+
29
+ ## interf init
30
+
31
+ ```text
32
+ interf init
33
+
34
+ Set up Interf or open the Preparation wizard
35
+
36
+ Options:
37
+ --help Show help [boolean]
38
+ --version Show version number [boolean]
39
+ ```
40
+
41
+ ## interf create
42
+
43
+ ```text
44
+ interf create [type]
45
+
46
+ Create a Preparation or reusable Method
47
+
48
+ Positionals:
49
+ type Type to create (`preparation` or `method`) [string]
50
+
51
+ Options:
52
+ --help Show help [boolean]
53
+ --version Show version number [boolean]
54
+ --model Override the local executor model for this run [string]
55
+ --profile Executor-specific profile override for this run [string]
56
+ --effort Override the model reasoning effort for this run [string]
57
+ --timeout-ms Interrupt the local executor after this much inactivity [number]
58
+ ```
59
+
60
+ ## interf compile
61
+
62
+ ```text
63
+ interf compile
64
+
65
+ Prepare files and write Portable Context agents can use
66
+
67
+ Options:
68
+ --help Show help [boolean]
69
+ --version Show version number [boolean]
70
+ --model Override the local executor model for this run [string]
71
+ --profile Executor-specific profile override for this run [string]
72
+ --effort Override the model reasoning effort for this run [string]
73
+ --timeout-ms Interrupt the local executor after this much inactivity [number]
74
+ --preparation Preparation id to compile when this Source Folder has more than one Preparation [string]
75
+ --max-attempts Retry the prepare run and run saved readiness checks with the same Method until the Preparation is ready or reaches this total attempt li
76
+ mit [number]
77
+ --max-loops After retries fail, let Interf edit the Method and run saved readiness checks on new Method variations for this Preparation up to this lo
78
+ op limit [number]
79
+ --keep-stage-shells Keep every executed stage shell under .interf/runtime/execution-shells for review instead of pruning successful shells
80
+ [boolean] [default: false]
81
+ ```
82
+
83
+ ## interf test
84
+
85
+ ```text
86
+ interf test
87
+
88
+ Run readiness checks against source files and Portable Context
89
+
90
+ Options:
91
+ --help Show help [boolean]
92
+ --version Show version number [boolean]
93
+ --model Override the local executor model for this run [string]
94
+ --profile Executor-specific profile override for this run [string]
95
+ --effort Override the model reasoning effort for this run [string]
96
+ --timeout-ms Interrupt the local executor after this much inactivity [number]
97
+ --preparation Preparation id to check when this Source Folder has more than one Preparation [string]
98
+ --target Check source files, Portable Context, or both. Default: both when Portable Context exists, otherwise source files.
99
+ [choices: "both", "raw", "compiled"]
100
+ --keep-sandboxes Keep every readiness-check sandbox for review instead of pruning successful ones [boolean] [default: false]
101
+ --agents Comma-separated local agents to use for readiness checks, or `all`. Example: --agents claude-code,codex [string]
102
+ ```
103
+
104
+ ## interf web
105
+
106
+ ```text
107
+ interf web
108
+
109
+ Start Interf UI and the local Interf API
110
+
111
+ Options:
112
+ --help Show help [boolean]
113
+ --version Show version number [boolean]
114
+ --host Host for the local Interf service [string]
115
+ --port Port for the local Interf service [number]
116
+ --control-path Folder where Interf stores local config, Methods, runs, and portable context [string]
117
+ --source-folder Source Folder to prepare when initializing a new Interf Workspace [string]
118
+ ```
119
+
120
+ ## interf doctor
121
+
122
+ ```text
123
+ interf doctor
124
+
125
+ Check local executor configuration before a real local run
126
+
127
+ Options:
128
+ --help Show help [boolean]
129
+ --version Show version number [boolean]
130
+ --live Run a real executor preflight against the configured local agent [boolean] [default: false]
131
+ --json Print machine-readable doctor output [boolean] [default: false]
132
+ ```
133
+
134
+ ## interf list
135
+
136
+ ```text
137
+ interf list
138
+
139
+ List saved Preparations in this Source Folder
140
+
141
+ Options:
142
+ --help Show help [boolean]
143
+ --version Show version number [boolean]
144
+ ```
145
+
146
+ ## interf status
147
+
148
+ ```text
149
+ interf status
150
+
151
+ Show deterministic health for the Portable Context agents use
152
+
153
+ Options:
154
+ --help Show help [boolean]
155
+ --version Show version number [boolean]
156
+ --watch Poll the local Interf service for live run status [boolean] [default: false]
157
+ ```
158
+
159
+ ## interf verify
160
+
161
+ ```text
162
+ interf verify <check>
163
+
164
+ Run deterministic verification checks
165
+
166
+ Positionals:
167
+ check Check to run (`stage`, `compiled`, or `method`) [string] [required]
168
+ stageId Stage id when using `verify stage <stage-id>` [string]
169
+
170
+ Options:
171
+ --help Show help [boolean]
172
+ --version Show version number [boolean]
173
+ --path Path to a Method package when using `verify method` [string]
174
+ --json Print JSON output [boolean] [default: false]
175
+ ```
176
+
177
+ ## interf reset
178
+
179
+ ```text
180
+ interf reset <scope>
181
+
182
+ Reset generated Portable Context state while keeping source files and the local Method package
183
+
184
+ Positionals:
185
+ scope [string] [required] [choices: "compile", "all"]
186
+
187
+ Options:
188
+ --help Show help [boolean]
189
+ --version Show version number [boolean]
190
+ ```