@interf/compiler 0.21.0 → 0.22.2

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 (367) hide show
  1. package/README.md +65 -63
  2. package/dist/cli/commands/build-plan.d.ts +2 -0
  3. package/dist/cli/commands/{method.js → build-plan.js} +89 -72
  4. package/dist/cli/commands/{compile.d.ts → build.d.ts} +2 -2
  5. package/dist/cli/commands/{compile.js → build.js} +18 -18
  6. package/dist/cli/commands/doctor.js +2 -2
  7. package/dist/cli/commands/mcp.js +48 -48
  8. package/dist/cli/commands/prep.js +16 -29
  9. package/dist/cli/commands/reset.d.ts +1 -1
  10. package/dist/cli/commands/reset.js +6 -6
  11. package/dist/cli/commands/runs.js +6 -28
  12. package/dist/cli/commands/status.js +1 -1
  13. package/dist/cli/commands/test.d.ts +1 -1
  14. package/dist/cli/commands/test.js +8 -8
  15. package/dist/cli/commands/web.js +3 -3
  16. package/dist/cli/commands/wizard.js +38 -38
  17. package/dist/cli/index.d.ts +3 -3
  18. package/dist/cli/index.js +5 -5
  19. package/dist/interf-ui/404.html +1 -0
  20. package/dist/interf-ui/__next.__PAGE__.txt +10 -0
  21. package/dist/interf-ui/__next._full.txt +20 -0
  22. package/dist/interf-ui/__next._head.txt +5 -0
  23. package/dist/interf-ui/__next._index.txt +5 -0
  24. package/dist/{compiler-ui → interf-ui}/__next._tree.txt +3 -4
  25. package/dist/interf-ui/_next/static/chunks/0.tjb6f4golw..css +3 -0
  26. package/dist/interf-ui/_next/static/chunks/085-n_jv2ng_q.css +1 -0
  27. package/dist/interf-ui/_next/static/chunks/0dn41fa_zvgsl.js +1 -0
  28. package/dist/interf-ui/_next/static/chunks/0g-ea0zj5d-0k.js +1 -0
  29. package/dist/interf-ui/_next/static/chunks/0gwqglc4iz583.js +1 -0
  30. package/dist/interf-ui/_next/static/chunks/0haldgm65ve6l.js +1 -0
  31. package/dist/interf-ui/_next/static/chunks/0nv3am99vjzn4.js +1 -0
  32. package/dist/{compiler-ui/_next/static/chunks/02f_.8.ebn556.js → interf-ui/_next/static/chunks/0s77gt_o4jwtx.js} +1 -1
  33. package/dist/interf-ui/_next/static/chunks/0~a36ujuzpaz..js +116 -0
  34. package/dist/interf-ui/_next/static/chunks/10jeodxe4nkgj.js +31 -0
  35. package/dist/interf-ui/_next/static/chunks/119h2rouych2t.js +1 -0
  36. package/dist/interf-ui/_next/static/chunks/13c8b~m8knjsf.js +1 -0
  37. package/dist/interf-ui/_next/static/chunks/14dznb2qpt-ho.js +91 -0
  38. package/dist/interf-ui/_next/static/chunks/15z_en80lrq-3.js +5 -0
  39. package/dist/{compiler-ui/_next/static/chunks/turbopack-0apv8vb-nczuy.js → interf-ui/_next/static/chunks/turbopack-0p.pvcjrtq-jh.js} +1 -1
  40. package/dist/interf-ui/_next/static/chunks/turbopack-0usj_75.8frlw.js +1 -0
  41. package/dist/interf-ui/_not-found/__next._full.txt +15 -0
  42. package/dist/interf-ui/_not-found/__next._head.txt +5 -0
  43. package/dist/interf-ui/_not-found/__next._index.txt +5 -0
  44. package/dist/{compiler-ui → interf-ui}/_not-found/__next._not-found.__PAGE__.txt +2 -2
  45. package/dist/interf-ui/_not-found/__next._not-found.txt +5 -0
  46. package/dist/{compiler-ui → interf-ui}/_not-found/__next._tree.txt +2 -3
  47. package/dist/interf-ui/_not-found.html +1 -0
  48. package/dist/interf-ui/_not-found.txt +15 -0
  49. package/dist/interf-ui/index.html +1 -0
  50. package/dist/interf-ui/index.txt +20 -0
  51. package/dist/packages/build-plans/authoring/build-plan-authoring.d.ts +36 -0
  52. package/dist/packages/{methods/authoring/method-authoring.js → build-plans/authoring/build-plan-authoring.js} +52 -52
  53. package/dist/packages/build-plans/authoring/build-plan-edit-session.d.ts +18 -0
  54. package/dist/packages/{methods/authoring/method-edit-session.js → build-plans/authoring/build-plan-edit-session.js} +34 -34
  55. package/dist/packages/build-plans/authoring/build-plan-improvement.d.ts +23 -0
  56. package/dist/packages/build-plans/authoring/build-plan-improvement.js +216 -0
  57. package/dist/packages/build-plans/authoring/index.d.ts +4 -0
  58. package/dist/packages/build-plans/authoring/index.js +4 -0
  59. package/dist/packages/{methods/authoring/lib/method-edit-utils.d.ts → build-plans/authoring/lib/build-plan-edit-utils.d.ts} +3 -3
  60. package/dist/packages/build-plans/build-plan-resolution.d.ts +6 -0
  61. package/dist/packages/build-plans/build-plan-resolution.js +7 -0
  62. package/dist/packages/build-plans/index.d.ts +2 -0
  63. package/dist/packages/build-plans/index.js +2 -0
  64. package/dist/packages/build-plans/package/build-plan-definitions.d.ts +61 -0
  65. package/dist/packages/build-plans/package/build-plan-definitions.js +214 -0
  66. package/dist/packages/{methods/package/method-helpers.d.ts → build-plans/package/build-plan-helpers.d.ts} +7 -7
  67. package/dist/packages/{methods/package/method-helpers.js → build-plans/package/build-plan-helpers.js} +20 -20
  68. package/dist/packages/build-plans/package/build-plan-review-paths.d.ts +10 -0
  69. package/dist/packages/build-plans/package/build-plan-review-paths.js +31 -0
  70. package/dist/packages/{methods/package/method-stage-runner.d.ts → build-plans/package/build-plan-stage-runner.d.ts} +12 -12
  71. package/dist/packages/{methods/package/method-stage-runner.js → build-plans/package/build-plan-stage-runner.js} +10 -10
  72. package/dist/packages/build-plans/package/builtin-build-plan.d.ts +37 -0
  73. package/dist/packages/build-plans/package/builtin-build-plan.js +91 -0
  74. package/dist/packages/{methods → build-plans}/package/context-interface.d.ts +11 -11
  75. package/dist/packages/{methods → build-plans}/package/context-interface.js +23 -23
  76. package/dist/packages/build-plans/package/interf-build-plan-package.d.ts +31 -0
  77. package/dist/packages/build-plans/package/interf-build-plan-package.js +466 -0
  78. package/dist/packages/{methods → build-plans}/package/lib/package-root.js +1 -1
  79. package/dist/packages/build-plans/package/local-build-plans.d.ts +74 -0
  80. package/dist/packages/{methods/package/local-methods.js → build-plans/package/local-build-plans.js} +152 -152
  81. package/dist/packages/build-plans/package/user-build-plans.d.ts +17 -0
  82. package/dist/packages/build-plans/package/user-build-plans.js +77 -0
  83. package/dist/packages/contracts/index.d.ts +1 -1
  84. package/dist/packages/contracts/lib/preparation-paths.d.ts +37 -37
  85. package/dist/packages/contracts/lib/preparation-paths.js +43 -43
  86. package/dist/packages/contracts/lib/schema.d.ts +34 -41
  87. package/dist/packages/contracts/lib/schema.js +42 -34
  88. package/dist/packages/engine/action-definitions.d.ts +60 -60
  89. package/dist/packages/engine/action-definitions.js +198 -197
  90. package/dist/packages/engine/action-planner.d.ts +2 -2
  91. package/dist/packages/engine/action-planner.js +5 -5
  92. package/dist/packages/engine/action-values.d.ts +1 -1
  93. package/dist/packages/engine/action-values.js +1 -1
  94. package/dist/packages/engine/agents/index.d.ts +2 -2
  95. package/dist/packages/engine/agents/index.js +1 -1
  96. package/dist/packages/engine/agents/lib/args.d.ts +2 -2
  97. package/dist/packages/engine/agents/lib/args.js +1 -1
  98. package/dist/packages/engine/agents/lib/constants.js +1 -1
  99. package/dist/packages/engine/agents/lib/execution-profile.d.ts +5 -5
  100. package/dist/packages/engine/agents/lib/execution-profile.js +3 -3
  101. package/dist/packages/engine/agents/lib/executors.d.ts +11 -11
  102. package/dist/packages/engine/agents/lib/render.js +4 -4
  103. package/dist/packages/engine/agents/lib/shells.d.ts +30 -30
  104. package/dist/packages/engine/agents/lib/shells.js +248 -248
  105. package/dist/packages/engine/agents/lib/types.d.ts +2 -2
  106. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.d.ts +3 -0
  107. package/dist/packages/engine/agents/lib/verifiable-context-bootstrap.js +19 -0
  108. package/dist/packages/engine/agents/role-executors.d.ts +7 -7
  109. package/dist/packages/engine/agents/role-executors.js +2 -2
  110. package/dist/packages/engine/agents/role-router.d.ts +2 -2
  111. package/dist/packages/engine/agents/role-router.js +1 -1
  112. package/dist/packages/engine/build/artifact-counts.d.ts +1 -0
  113. package/dist/packages/engine/{compile → build}/artifact-counts.js +7 -7
  114. package/dist/packages/engine/{compile → build}/artifact-status.d.ts +8 -8
  115. package/dist/packages/engine/{compile → build}/artifact-status.js +19 -19
  116. package/dist/packages/engine/{compile → build}/billing-events.d.ts +4 -4
  117. package/dist/packages/engine/{compile → build}/billing-events.js +4 -4
  118. package/dist/packages/engine/build/build-execution.d.ts +4 -0
  119. package/dist/packages/engine/build/build-execution.js +4 -0
  120. package/dist/packages/engine/build/build-pipeline.d.ts +56 -0
  121. package/dist/packages/engine/{compile/compiled-pipeline.js → build/build-pipeline.js} +55 -55
  122. package/dist/packages/engine/build/build-plan-primitives.d.ts +2 -0
  123. package/dist/packages/engine/{compile/method-primitives.js → build/build-plan-primitives.js} +1 -1
  124. package/dist/packages/engine/build/build-plan-runs.d.ts +14 -0
  125. package/dist/packages/engine/build/build-plan-runs.js +31 -0
  126. package/dist/packages/engine/build/build-stage-plan.d.ts +16 -0
  127. package/dist/packages/engine/build/build-stage-plan.js +100 -0
  128. package/dist/packages/engine/build/build-stage-runner.d.ts +15 -0
  129. package/dist/packages/engine/{compile/compiled-stage-runner.js → build/build-stage-runner.js} +21 -21
  130. package/dist/packages/engine/build/build-target.d.ts +11 -0
  131. package/dist/packages/engine/build/build-target.js +16 -0
  132. package/dist/packages/engine/{compile → build}/check-evaluator.d.ts +4 -4
  133. package/dist/packages/engine/{compile → build}/check-evaluator.js +1 -1
  134. package/dist/packages/engine/{compile → build}/discovery.d.ts +2 -2
  135. package/dist/packages/engine/{compile → build}/discovery.js +4 -4
  136. package/dist/packages/engine/{compile → build}/index.d.ts +6 -6
  137. package/dist/packages/engine/{compile → build}/index.js +5 -5
  138. package/dist/packages/engine/{compile → build}/lib/schema.d.ts +79 -79
  139. package/dist/packages/engine/{compile → build}/lib/schema.js +71 -71
  140. package/dist/packages/engine/build/reset.d.ts +2 -0
  141. package/dist/packages/engine/build/reset.js +74 -0
  142. package/dist/packages/engine/{compile → build}/runtime-contracts.js +8 -8
  143. package/dist/packages/engine/build/runtime-inventory.d.ts +7 -0
  144. package/dist/packages/engine/{compile → build}/runtime-inventory.js +8 -8
  145. package/dist/packages/engine/{compile → build}/runtime-paths.js +6 -6
  146. package/dist/packages/engine/{compile → build}/runtime-prompt.js +11 -11
  147. package/dist/packages/engine/build/runtime-reconcile.d.ts +2 -0
  148. package/dist/packages/engine/{compile → build}/runtime-reconcile.js +18 -18
  149. package/dist/packages/engine/{compile → build}/runtime-runs.js +27 -27
  150. package/dist/packages/engine/{compile → build}/runtime-types.d.ts +10 -10
  151. package/dist/packages/engine/build/source-files.d.ts +46 -0
  152. package/dist/packages/engine/{compile → build}/source-files.js +32 -32
  153. package/dist/packages/engine/build/state-artifacts.d.ts +9 -0
  154. package/dist/packages/engine/build/state-artifacts.js +14 -0
  155. package/dist/packages/engine/build/state-health.d.ts +4 -0
  156. package/dist/packages/engine/{compile → build}/state-health.js +40 -40
  157. package/dist/packages/engine/build/state-io.d.ts +11 -0
  158. package/dist/packages/engine/{compile → build}/state-io.js +22 -22
  159. package/dist/packages/engine/build/state-paths.js +16 -0
  160. package/dist/packages/engine/build/state-view.d.ts +5 -0
  161. package/dist/packages/engine/{compile → build}/state-view.js +29 -29
  162. package/dist/packages/engine/build/state.d.ts +7 -0
  163. package/dist/packages/engine/build/state.js +12 -0
  164. package/dist/packages/engine/build/validate-verifiable-context.d.ts +27 -0
  165. package/dist/packages/engine/{compile/validate-compiled.js → build/validate-verifiable-context.js} +73 -73
  166. package/dist/packages/engine/{compile → build}/validate.d.ts +4 -4
  167. package/dist/packages/engine/{compile → build}/validate.js +27 -27
  168. package/dist/packages/engine/build/verifiable-context-paths.d.ts +47 -0
  169. package/dist/packages/engine/build/verifiable-context-paths.js +121 -0
  170. package/dist/packages/engine/build/verifiable-context-schema.d.ts +21 -0
  171. package/dist/packages/engine/build/verifiable-context-schema.js +126 -0
  172. package/dist/packages/engine/client.d.ts +16 -16
  173. package/dist/packages/engine/client.js +21 -21
  174. package/dist/packages/engine/cloud-seams.d.ts +3 -3
  175. package/dist/packages/engine/execution/index.d.ts +2 -2
  176. package/dist/packages/engine/execution/index.js +1 -1
  177. package/dist/packages/engine/execution/lib/schema.d.ts +90 -95
  178. package/dist/packages/engine/execution/lib/schema.js +31 -31
  179. package/dist/packages/engine/index.d.ts +7 -7
  180. package/dist/packages/engine/index.js +3 -3
  181. package/dist/packages/engine/instance-paths.d.ts +39 -39
  182. package/dist/packages/engine/instance-paths.js +48 -48
  183. package/dist/packages/engine/lib/schema.d.ts +900 -472
  184. package/dist/packages/engine/lib/schema.js +137 -153
  185. package/dist/packages/engine/native-run-handlers.d.ts +12 -12
  186. package/dist/packages/engine/native-run-handlers.js +135 -135
  187. package/dist/packages/engine/preparation-store.d.ts +22 -23
  188. package/dist/packages/engine/preparation-store.js +30 -31
  189. package/dist/packages/engine/readiness-check-draft.d.ts +2 -2
  190. package/dist/packages/engine/readiness-check-draft.js +1 -1
  191. package/dist/packages/engine/requested-artifacts.d.ts +2 -2
  192. package/dist/packages/engine/routes.d.ts +18 -17
  193. package/dist/packages/engine/routes.js +20 -19
  194. package/dist/packages/engine/run-observability.d.ts +5 -3
  195. package/dist/packages/engine/run-observability.js +101 -89
  196. package/dist/packages/engine/runtime-caches.d.ts +16 -16
  197. package/dist/packages/engine/runtime-caches.js +26 -26
  198. package/dist/packages/engine/runtime-event-applier.d.ts +2 -2
  199. package/dist/packages/engine/runtime-event-applier.js +1 -1
  200. package/dist/packages/engine/runtime-persistence.d.ts +9 -9
  201. package/dist/packages/engine/runtime-persistence.js +16 -16
  202. package/dist/packages/engine/runtime-proposal-helpers.d.ts +14 -14
  203. package/dist/packages/engine/runtime-proposal-helpers.js +78 -80
  204. package/dist/packages/engine/runtime-resource-builders.d.ts +12 -12
  205. package/dist/packages/engine/runtime-resource-builders.js +19 -19
  206. package/dist/packages/engine/runtime.d.ts +52 -61
  207. package/dist/packages/engine/runtime.js +440 -463
  208. package/dist/packages/engine/server.d.ts +2 -2
  209. package/dist/packages/engine/server.js +147 -116
  210. package/dist/packages/engine/service-registry.d.ts +5 -17
  211. package/dist/packages/engine/service-registry.js +5 -20
  212. package/dist/packages/engine/verify/lib/schema.d.ts +19 -19
  213. package/dist/packages/engine/verify/lib/schema.js +36 -8
  214. package/dist/packages/engine/verify/readiness-check-run.d.ts +15 -16
  215. package/dist/packages/engine/verify/readiness-check-run.js +46 -46
  216. package/dist/packages/engine/verify/verify-execution.d.ts +3 -3
  217. package/dist/packages/engine/verify/verify-execution.js +10 -10
  218. package/dist/packages/engine/verify/verify-paths.d.ts +4 -4
  219. package/dist/packages/engine/verify/verify-paths.js +17 -17
  220. package/dist/packages/engine/verify/verify-sandbox.d.ts +1 -1
  221. package/dist/packages/engine/verify/verify-sandbox.js +26 -26
  222. package/dist/packages/engine/verify/verify-targets.d.ts +2 -2
  223. package/dist/packages/engine/verify/verify-targets.js +17 -17
  224. package/dist/packages/engine/verify/verify-types.d.ts +2 -2
  225. package/dist/packages/engine/verify/verify.d.ts +1 -1
  226. package/dist/packages/engine/verify/verify.js +1 -1
  227. package/dist/packages/engine/wire-schemas.d.ts +38 -40
  228. package/dist/packages/engine/wire-schemas.js +13 -13
  229. package/dist/packages/project/index.d.ts +1 -1
  230. package/dist/packages/project/interf-bootstrap.d.ts +1 -1
  231. package/dist/packages/project/interf-bootstrap.js +1 -1
  232. package/dist/packages/project/interf-detect.d.ts +11 -11
  233. package/dist/packages/project/interf-detect.js +30 -30
  234. package/dist/packages/project/interf-scaffold.d.ts +3 -3
  235. package/dist/packages/project/interf-scaffold.js +72 -72
  236. package/dist/packages/project/interf.d.ts +4 -4
  237. package/dist/packages/project/interf.js +3 -3
  238. package/dist/packages/project/lib/schema.d.ts +12 -12
  239. package/dist/packages/project/lib/schema.js +14 -14
  240. package/dist/packages/project/preparation-entries.d.ts +3 -3
  241. package/dist/packages/project/preparation-entries.js +19 -19
  242. package/dist/packages/project/source-config.d.ts +10 -10
  243. package/dist/packages/project/source-config.js +58 -58
  244. package/package.json +15 -15
  245. package/public-repo/CONTRIBUTING.md +12 -12
  246. package/public-repo/README.md +65 -63
  247. package/public-repo/SECURITY.md +3 -3
  248. package/public-repo/build-plans/interf-default/README.md +33 -0
  249. package/public-repo/{methods/interf-default/compile → build-plans/interf-default/build}/stages/shape/SKILL.md +10 -10
  250. package/public-repo/{methods/interf-default/compile → build-plans/interf-default/build}/stages/structure/SKILL.md +2 -2
  251. package/public-repo/{methods/interf-default/compile → build-plans/interf-default/build}/stages/summarize/SKILL.md +1 -1
  252. package/public-repo/{methods/interf-default/method.json → build-plans/interf-default/build-plan.json} +15 -15
  253. package/public-repo/{methods/interf-default/method.schema.json → build-plans/interf-default/build-plan.schema.json} +4 -4
  254. package/public-repo/build-plans/interf-default/improve/SKILL.md +18 -0
  255. package/public-repo/{methods → build-plans}/interf-default/use/query/SKILL.md +6 -6
  256. package/public-repo/plugins/README.md +1 -1
  257. package/public-repo/plugins/interf/.claude-plugin/plugin.json +3 -3
  258. package/public-repo/plugins/interf/README.md +4 -1
  259. package/public-repo/plugins/interf/skills/interf/SKILL.md +189 -290
  260. package/public-repo/skills/interf/SKILL.md +189 -290
  261. package/LICENSE.md +0 -1
  262. package/TRADEMARKS.md +0 -8
  263. package/dist/cli/commands/method.d.ts +0 -2
  264. package/dist/compiler-ui/404.html +0 -1
  265. package/dist/compiler-ui/__next.__PAGE__.txt +0 -10
  266. package/dist/compiler-ui/__next._full.txt +0 -21
  267. package/dist/compiler-ui/__next._head.txt +0 -5
  268. package/dist/compiler-ui/__next._index.txt +0 -6
  269. package/dist/compiler-ui/_next/static/chunks/01646j7yi.w5a.css +0 -1
  270. package/dist/compiler-ui/_next/static/chunks/02r7siaw-_p5w.js +0 -1
  271. package/dist/compiler-ui/_next/static/chunks/04d0ly-7xb~-j.js +0 -91
  272. package/dist/compiler-ui/_next/static/chunks/0fhs9psnxqd8s.js +0 -1
  273. package/dist/compiler-ui/_next/static/chunks/0mssmhpbifj15.css +0 -2
  274. package/dist/compiler-ui/_next/static/chunks/0nypu~ddwxari.js +0 -116
  275. package/dist/compiler-ui/_next/static/chunks/0p3s8iyhgcww2.js +0 -31
  276. package/dist/compiler-ui/_next/static/chunks/0tjf-vu_rz8s0.css +0 -1
  277. package/dist/compiler-ui/_next/static/chunks/0u6p3fpbbfgtl.js +0 -1
  278. package/dist/compiler-ui/_next/static/chunks/0wpx5..8dnh0w.js +0 -1
  279. package/dist/compiler-ui/_next/static/chunks/0y0uj160p0ts~.js +0 -1
  280. package/dist/compiler-ui/_next/static/chunks/10t8l~_oenf.c.js +0 -1
  281. package/dist/compiler-ui/_next/static/chunks/13gz9e7z~imx1.js +0 -5
  282. package/dist/compiler-ui/_next/static/chunks/156xed-b6czaw.js +0 -1
  283. package/dist/compiler-ui/_next/static/chunks/turbopack-02-3e_c-yz~5g.js +0 -1
  284. package/dist/compiler-ui/_not-found/__next._full.txt +0 -16
  285. package/dist/compiler-ui/_not-found/__next._head.txt +0 -5
  286. package/dist/compiler-ui/_not-found/__next._index.txt +0 -6
  287. package/dist/compiler-ui/_not-found/__next._not-found.txt +0 -5
  288. package/dist/compiler-ui/_not-found.html +0 -1
  289. package/dist/compiler-ui/_not-found.txt +0 -16
  290. package/dist/compiler-ui/index.html +0 -1
  291. package/dist/compiler-ui/index.txt +0 -21
  292. package/dist/packages/engine/agents/lib/compiled-bootstrap.d.ts +0 -3
  293. package/dist/packages/engine/agents/lib/compiled-bootstrap.js +0 -19
  294. package/dist/packages/engine/compile/artifact-counts.d.ts +0 -1
  295. package/dist/packages/engine/compile/compiled-compile.d.ts +0 -4
  296. package/dist/packages/engine/compile/compiled-compile.js +0 -4
  297. package/dist/packages/engine/compile/compiled-paths.d.ts +0 -47
  298. package/dist/packages/engine/compile/compiled-paths.js +0 -121
  299. package/dist/packages/engine/compile/compiled-pipeline.d.ts +0 -56
  300. package/dist/packages/engine/compile/compiled-schema.d.ts +0 -21
  301. package/dist/packages/engine/compile/compiled-schema.js +0 -126
  302. package/dist/packages/engine/compile/compiled-stage-plan.d.ts +0 -16
  303. package/dist/packages/engine/compile/compiled-stage-plan.js +0 -100
  304. package/dist/packages/engine/compile/compiled-stage-runner.d.ts +0 -15
  305. package/dist/packages/engine/compile/compiled-target.d.ts +0 -11
  306. package/dist/packages/engine/compile/compiled-target.js +0 -16
  307. package/dist/packages/engine/compile/method-primitives.d.ts +0 -2
  308. package/dist/packages/engine/compile/method-runs.d.ts +0 -14
  309. package/dist/packages/engine/compile/method-runs.js +0 -31
  310. package/dist/packages/engine/compile/reset.d.ts +0 -2
  311. package/dist/packages/engine/compile/reset.js +0 -74
  312. package/dist/packages/engine/compile/runtime-inventory.d.ts +0 -7
  313. package/dist/packages/engine/compile/runtime-reconcile.d.ts +0 -2
  314. package/dist/packages/engine/compile/source-files.d.ts +0 -46
  315. package/dist/packages/engine/compile/state-artifacts.d.ts +0 -9
  316. package/dist/packages/engine/compile/state-artifacts.js +0 -14
  317. package/dist/packages/engine/compile/state-health.d.ts +0 -4
  318. package/dist/packages/engine/compile/state-io.d.ts +0 -11
  319. package/dist/packages/engine/compile/state-paths.js +0 -16
  320. package/dist/packages/engine/compile/state-view.d.ts +0 -5
  321. package/dist/packages/engine/compile/state.d.ts +0 -7
  322. package/dist/packages/engine/compile/state.js +0 -12
  323. package/dist/packages/engine/compile/validate-compiled.d.ts +0 -27
  324. package/dist/packages/methods/authoring/index.d.ts +0 -4
  325. package/dist/packages/methods/authoring/index.js +0 -4
  326. package/dist/packages/methods/authoring/method-authoring.d.ts +0 -36
  327. package/dist/packages/methods/authoring/method-edit-session.d.ts +0 -18
  328. package/dist/packages/methods/authoring/method-improvement.d.ts +0 -23
  329. package/dist/packages/methods/authoring/method-improvement.js +0 -217
  330. package/dist/packages/methods/index.d.ts +0 -2
  331. package/dist/packages/methods/index.js +0 -2
  332. package/dist/packages/methods/method-resolution.d.ts +0 -6
  333. package/dist/packages/methods/method-resolution.js +0 -7
  334. package/dist/packages/methods/package/builtin-compiled-method.d.ts +0 -37
  335. package/dist/packages/methods/package/builtin-compiled-method.js +0 -91
  336. package/dist/packages/methods/package/interf-method-package.d.ts +0 -31
  337. package/dist/packages/methods/package/interf-method-package.js +0 -466
  338. package/dist/packages/methods/package/local-methods.d.ts +0 -74
  339. package/dist/packages/methods/package/method-definitions.d.ts +0 -61
  340. package/dist/packages/methods/package/method-definitions.js +0 -214
  341. package/dist/packages/methods/package/method-review-paths.d.ts +0 -10
  342. package/dist/packages/methods/package/method-review-paths.js +0 -31
  343. package/dist/packages/methods/package/user-methods.d.ts +0 -17
  344. package/dist/packages/methods/package/user-methods.js +0 -77
  345. package/public-repo/methods/interf-default/README.md +0 -33
  346. package/public-repo/methods/interf-default/improve/SKILL.md +0 -18
  347. /package/dist/{compiler-ui/_next/static/tYHMLL9oKds1yDoNYgkPV → interf-ui/_next/static/--reS3xBzM5zc6QxNjZd6}/_buildManifest.js +0 -0
  348. /package/dist/{compiler-ui/_next/static/tYHMLL9oKds1yDoNYgkPV → interf-ui/_next/static/--reS3xBzM5zc6QxNjZd6}/_clientMiddlewareManifest.js +0 -0
  349. /package/dist/{compiler-ui/_next/static/tYHMLL9oKds1yDoNYgkPV → interf-ui/_next/static/--reS3xBzM5zc6QxNjZd6}/_ssgManifest.js +0 -0
  350. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/03~yq9q893hmn.js +0 -0
  351. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/0y5z3t-z1c8ks.js.map +0 -0
  352. /package/dist/{compiler-ui → interf-ui}/_next/static/chunks/turbopack-worker-0sjn--fhq~1cg.js +0 -0
  353. /package/dist/{compiler-ui → interf-ui}/_next/static/media/GeistMono_Variable.p.17jn9btb_52pq.woff2 +0 -0
  354. /package/dist/{compiler-ui → interf-ui}/_next/static/media/Geist_Variable-s.p.0-te~ja_gpvcf.woff2 +0 -0
  355. /package/dist/{compiler-ui → interf-ui}/_next/static/media/worker.102zas1s52_pf.js +0 -0
  356. /package/dist/packages/{methods/authoring/lib/method-edit-utils.js → build-plans/authoring/lib/build-plan-edit-utils.js} +0 -0
  357. /package/dist/packages/{methods → build-plans}/package/lib/package-root.d.ts +0 -0
  358. /package/dist/packages/engine/{compile → build}/runtime-contracts.d.ts +0 -0
  359. /package/dist/packages/engine/{compile → build}/runtime-paths.d.ts +0 -0
  360. /package/dist/packages/engine/{compile → build}/runtime-prompt.d.ts +0 -0
  361. /package/dist/packages/engine/{compile → build}/runtime-runs.d.ts +0 -0
  362. /package/dist/packages/engine/{compile → build}/runtime-types.js +0 -0
  363. /package/dist/packages/engine/{compile → build}/runtime.d.ts +0 -0
  364. /package/dist/packages/engine/{compile → build}/runtime.js +0 -0
  365. /package/dist/packages/engine/{compile → build}/state-paths.d.ts +0 -0
  366. /package/dist/packages/engine/{compile → build}/validate-helpers.d.ts +0 -0
  367. /package/dist/packages/engine/{compile → build}/validate-helpers.js +0 -0
@@ -1,19 +1,21 @@
1
1
  # Interf
2
2
 
3
- **Context compiler for agents.**
3
+ **Data preparation for agents.**
4
4
 
5
- Interf prepares data for agent work by compiling source files into verifiable Artifacts and writing portable context that agents can read, so agents work from a verified full picture instead of guessing.
5
+ Agents miss things in files.
6
6
 
7
- **Hallucinations aren't an agent problem. They're a data preparation problem.**
7
+ Interf builds verifiable context for agents from your files.
8
8
 
9
- 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.
9
+ It turns hidden file discovery into traceable artifacts with proof of how they were built.
10
10
 
11
- Interf replaces that hidden discovery with visible compilation. Your agent can ask for the Artifacts it needs an atlas, index, timeline, summaries, or a custom file — and Interf drafts a Build Plan for you to review before compile. The draft says what should be built; the compile run proves what was actually processed. Under the hood, Interf saves that request as a Preparation, runs a Build Plan locally, records source references, and writes verifiable Artifacts agents can read. Today a Build Plan is implemented by a Method package.
11
+ When agents answer from your files, they first have to discover what is in them. That context-building step is hidden, inconsistent, and hard to verify: you cannot see which files were checked, what was extracted, or what the agent skipped. When the agent misses a file or page, the output can sound confident but be wrong.
12
+
13
+ Source discovery should be separate from agent work. Interf separates that step, builds verifiable context, and lets your agent work from traceable artifacts instead of rediscovering the files during the job.
12
14
 
13
15
  ```text
14
- Source files Portable context agents read
16
+ Source files Verifiable context agents use
15
17
 
16
- bristol-office-market/ <portable-context-locator>/
18
+ bristol-office-market/ <context-locator>/
17
19
  q4-market-report.pdf AGENTS.md
18
20
  lease-comps.xlsx .interf/runtime/source-snapshot.json
19
21
  planning-notes.md home.md
@@ -21,25 +23,25 @@ bristol-office-market/ <portable-context-locator>/
21
23
  knowledge/
22
24
  ```
23
25
 
24
- ## What a Compile Run Produces
26
+ ## What a Build Run Produces
25
27
 
26
- A compile run produces portable context plus proof of work. The portable context is the folder agents read. The proof shows which source files were assigned, which Build Plan stages ran, what each stage wrote, and whether required artifacts exist.
28
+ A Build run produces verifiable context plus proof of work. Verifiable context is what agents use. The proof shows which source files were assigned, which Build Plan stages ran, what each stage wrote, and whether required artifacts exist.
27
29
 
28
- For the built-in `interf-default` Build Plan, a compile run looks like this:
30
+ For the built-in `interf-default` Build Plan, a Build run looks like this:
29
31
 
30
32
  ```text
31
33
  Source: bristol-office-market
32
34
  Build Plan: interf-default
33
35
  Requested Artifacts: atlas, summaries, knowledge, claims, indexes
34
36
 
35
- compile run
37
+ Build run
36
38
  record source references
37
39
  summarize -> summaries/
38
40
  structure -> knowledge/
39
41
  shape -> home.md and agent entrypoints
40
42
  record proof -> processed files, stage outputs, required artifacts
41
43
 
42
- portable context
44
+ verifiable context
43
45
  locator -> { kind: "local-path", value: "<local-path-returned-by-interf>" }
44
46
  ```
45
47
 
@@ -51,14 +53,14 @@ The output is not an answer. It is a prepared local folder with routes, artifact
51
53
  - `Deterministic`: Interf runs each stage, an ordered phase of a Build Plan, 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.
52
54
  - `Local-first and private`: your files, readiness checks, and agent runs stay on your machine. No cloud, no uploads, no telemetry.
53
55
  - `Bring your own AI`: use Claude Code, Codex, or another local agent.
54
- - `File over app`: the portable context is a local folder owned by the instance — no hidden store, no hidden index. Inspect it, diff it, version it.
55
- - `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.
56
+ - `File over app`: verifiable context is exposed as a local folder owned by the instance — no hidden store, no hidden index. Inspect it, diff it, version it.
57
+ - `Readiness checks you control`: every build can be checked against gates you wrote from the files. If the context is `not ready`, `interf test` shows the readiness evidence behind that status.
56
58
 
57
59
  ## Why Not Just Ask Your Agent?
58
60
 
59
- You can. Interf can use Claude Code, Codex, or another local agent while it builds the portable context.
61
+ You can. Interf can use Claude Code, Codex, or another local agent while it builds verifiable context.
60
62
 
61
- A one-off preprocessing prompt gives you another agent answer to trust. Interf puts that work inside a Build Plan you can inspect: requested artifacts, declared stages, stage-by-stage proof of work, and readiness checks that decide whether the portable context is `ready` or `not ready`.
63
+ A one-off preprocessing prompt gives you another agent answer to trust. Interf puts that work inside a Build Plan you can inspect: requested artifacts, declared stages, stage-by-stage proof of work, and readiness checks that decide whether the context is `ready` or `not ready`.
62
64
 
63
65
  The agent can still execute the stages. Interf shows what ran, which files were processed, what artifacts and evidence were produced, and whether the result is ready for the agent work.
64
66
 
@@ -79,9 +81,9 @@ interf prep create bristol \ # terminal 2: save the source +
79
81
  --source ./bristol-office-market \
80
82
  --about "Bristol annual take-up and availability chart lookup" \
81
83
  --requested-artifacts-json '[{"title":"Guide to the report","checks":["Every page or file is listed.","Pages about Bristol and annual take-up are marked."]},{"title":"Annual take-up figures","checks":["Every figure has a source reference."]}]'
82
- interf method draft bristol \ # draft the Build Plan for review
84
+ interf build-plan draft bristol \ # draft the Build Plan for review
83
85
  --task "Bristol annual take-up and availability chart lookup"
84
- interf compile bristol # build portable context, returns the locator
86
+ interf build bristol # build verifiable context, returns the locator
85
87
  interf test bristol # check readiness
86
88
  ```
87
89
 
@@ -93,21 +95,21 @@ auto-start an engine — if no instance is connected, they exit with a hint
93
95
  pointing at `interf web` / `interf web start` (local) or `interf login`
94
96
  (future cloud).
95
97
 
96
- `interf compile` returns the artifact locator on success — for a local
98
+ `interf build` returns the artifact locator on success — for a local
97
99
  engine that's a `local-path` you can open with any tool. Point your agent at
98
100
  that path. There's no `--out` flag, no implicit copy, no hidden store: the
99
101
  instance owns the bytes and the API tells you where they are.
100
102
 
101
- If you want a baseline before compile, run `interf test bristol --target source-files`. It is optional proof, not the main path.
103
+ If you want a baseline before building verifiable context, run `interf test bristol --target source-files`. It is optional proof, not the main path.
102
104
 
103
- ## Portable Context
105
+ ## Verifiable Context
104
106
 
105
- The portable context is the local folder Interf writes from your files. Do not hardcode its location. The API returns a typed locator (`{ kind: "local-path" | "remote-url", value }`); your agent reads from there.
107
+ Verifiable context is the output Interf builds from your files for agents. The current local engine exposes it as a local folder. Do not hardcode its location. The API returns a typed locator (`{ kind: "local-path" | "remote-url", value }`); your agent reads from there.
106
108
 
107
109
  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:
108
110
 
109
111
  ```text
110
- <portable-context-locator>/
112
+ <context-locator>/
111
113
  AGENTS.md # agent-facing entry point and source-checking rules
112
114
  CLAUDE.md # same guidance for Claude Code
113
115
  .interf/
@@ -119,52 +121,52 @@ It gives agents evidence, structure, and cross-file connections for navigating t
119
121
  knowledge/ # linked notes built from the files
120
122
  ```
121
123
 
122
- The source files stay the source of truth. Interf writes portable context inside the instance's data dir; it does not modify the source.
124
+ The source files stay the source of truth. Interf writes verifiable context inside the instance's data dir; it does not modify the source.
123
125
 
124
- `AGENTS.md` tells agents how to use the portable context: start from the prepared outputs, follow the prepared routes, and use the recorded source references when exact source evidence matters.
126
+ `AGENTS.md` tells agents how to use the verifiable context: start from the prepared outputs, follow the prepared routes, and use the recorded source references when exact source evidence matters.
125
127
 
126
128
  Interf also records stage-by-stage proof of work: which files were processed, what each stage produced, and whether required outputs were created.
127
129
 
128
- The portable context carries source references, not a mandatory copy of every source file. The source files remain where you keep them; Interf records which sources were assigned and what artifacts were produced from them.
130
+ The returned local folder carries source references, not a mandatory copy of every source file. The source files remain where you keep them; Interf records which sources were assigned and what artifacts were produced from them.
129
131
 
130
- ## Build Plans and Method Packages
132
+ ## Build Plans
131
133
 
132
- A Build Plan tells Interf how to compile requested Artifacts from your source files for the job agents need to do. It can start as a draft inside one Preparation, based on the user's instructions, the agent goal, and the described Source. If it works, save it as a Method package and reuse it on another Source.
134
+ A Build Plan tells Interf how to build requested Artifacts from your source files for the job agents need to do. It can start as a draft inside one Preparation, based on the user's instructions, the agent goal, and the described Source. If it works, save it and reuse it on another Source.
133
135
 
134
- Today saved Build Plans are implemented as Method packages. The built-in `interf-default` Method package ships with `@interf/compiler`. Install your own with `interf method install <path>`; draft new ones with `interf method draft <prep-id>`.
136
+ The built-in `interf-default` Build Plan ships with `interf`. Save your own local Build Plan with `interf build-plan save <path>`; draft new ones with `interf build-plan draft <prep-id>`.
135
137
 
136
138
  ```text
137
- <method-package>/
138
- method.json # Build Plan: artifacts, stages, compile rules
139
- method.schema.json # output contract: required portable-context files and folders
139
+ <build-plan-folder>/
140
+ build-plan.json # Build Plan definition: artifacts, stages, build rules
141
+ build-plan.schema.json # output contract: required verifiable-context files and folders
140
142
  README.md # what this Build Plan is for
141
- compile/
143
+ build/
142
144
  stages/
143
- summarize/ # stage instructions Interf runs during compile
145
+ summarize/ # stage instructions Interf runs during the Build run
144
146
  structure/
145
147
  shape/
146
148
  use/
147
- query/ # how agents read the portable context
149
+ query/ # how agents read the verifiable context
148
150
  improve/ # how Interf revises this plan if readiness checks still fail
149
151
  ```
150
152
 
151
- - `method.json` describes the Build Plan: source data, requested artifacts, stages, and how the files should be compiled.
152
- - `method.schema.json` describes the output contract: what the portable context must contain. Interf enforces it when you run `interf compile`.
153
- - `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.
154
- - `use/query/` holds the instructions agents follow when they read the portable context for live agent work.
153
+ - `build-plan.json` is the current technical filename for the Build Plan definition: source data, requested artifacts, stages, and how the files should be built.
154
+ - `build-plan.schema.json` describes the output contract: what the verifiable context must contain. Interf enforces it when you run `interf build`.
155
+ - `build/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 the Build run.
156
+ - `use/query/` holds the instructions agents follow when they read the verifiable context for live agent work.
155
157
  - `improve/` holds the instructions Interf follows when the first build misses and the Build Plan itself needs editing.
156
158
 
157
- A Build Plan defines the stages, output contract, proof requirements, and improvement instructions Interf runs on your files. Technically, a saved/reusable Build Plan is stored as a Method package with `method.json` and `method.schema.json`. The result is portable context your agents can read.
159
+ A Build Plan defines the stages, output contract, proof requirements, and improvement instructions Interf runs on your files. The result is verifiable context your agents can read.
158
160
 
159
161
  ## Build Plan Improvement
160
162
 
161
- When the first compile run still misses readiness checks, Interf edits the Build Plan and compiles again. Same files, same checks, improved plan and portable context. Run `interf method improve <prep-id>` to invoke that loop manually.
163
+ When the first Build run still misses readiness checks, Interf edits the Build Plan and builds again. Same files, same checks, improved plan and verifiable context. Run `interf build-plan improve <prep-id>` to invoke that loop manually.
162
164
 
163
- Interf saves every readiness-check run inside the preparation's portable context under `.interf/tests/`. You can inspect what changed and why a later compile run did better.
165
+ Interf saves every readiness-check run inside the returned local folder under `.interf/tests/`. You can inspect what changed and why a later Build run did better.
164
166
 
165
- ## How Interf Compiles
167
+ ## How Interf Builds
166
168
 
167
- You don't need to think about roles. By default Interf uses your active agent for every stage of every compile run, the same way 0.14 did. Roles are available for advanced users who want different agents per stage; defaults are good and stable.
169
+ You don't need to think about roles. By default Interf uses your active agent for every stage of every Build run. Roles are available for advanced users who want different agents per stage; defaults are good and stable.
168
170
 
169
171
  Interf treats connected agents as a first-class primitive and uses a small role taxonomy internally to route stages between them. The default behavior is single-active-agent — one installed agent runs everything — but you can opt into per-role specialization without changing any Build Plan.
170
172
 
@@ -176,7 +178,7 @@ Connected agents Role map (per-instance)
176
178
  verifier → claude-code
177
179
  general → claude-code
178
180
 
179
- A Build Plan compile run
181
+ A Build run
180
182
  for each stage in the Build Plan
181
183
  look up the stage's role in the role map
182
184
  invoke the mapped agent on the prepared shell
@@ -195,19 +197,19 @@ interf agents use claude-code # set the active agent
195
197
  interf agents unmap structurer # fall back to active
196
198
  ```
197
199
 
198
- Or use the **Agents** tab in Interf Compiler UI. Either surface mutates the same instance agent settings through the local service.
200
+ Or use the **Agents** tab in Interf UI. Either surface mutates the same instance agent settings through the local service.
199
201
 
200
202
  Readiness-check runs always resolve to the `verifier` role. Build Plan authoring runs ask the authoring agent to propose a `role` per stage based on the prompt content; missing roles default to `general`.
201
203
 
202
204
  ## How the Pieces Fit
203
205
 
204
- The instance owns preparation state. A preparation declares a source binding (`{ kind: "local-folder", locator: <path> }`), requested artifacts, and a selected Build Plan. The current local engine still stores the selected Build Plan as `method_id` while the schema catches up. It stores preparation state and generated bytes in the instance data directory. A compile run processes the selected source files and produces the artifact locator the API returns. `interf test` checks source files and portable context against the same readiness checks.
206
+ The instance owns preparation state. A preparation declares a source binding (`{ kind: "local-folder", locator: <path> }`), requested artifacts, and a selected Build Plan. It stores preparation state and generated bytes in the instance data directory. A Build run processes the selected source files and produces the artifact locator the API returns. `interf test` checks source files and verifiable context against the same readiness checks.
205
207
 
206
208
  Readiness is one `ready` / `not ready` status, not a separate score. Interf builds it from evidence primitives: Build Plan Artifact checks, proof records, file coverage, artifact validation, and readiness checks.
207
209
 
208
- `interf web` runs the local Interf instance and serves Interf Compiler UI. The UI reads local-service resources: Source, Preparations, Build Plans, Method packages, compile runs, stages, proof, artifacts, readiness checks, and whether portable context is `ready` or `not ready`. It renders local instance state; it does not own compiler, Build Plan, Method-package, or readiness semantics.
210
+ `interf web` runs the local Interf instance and serves Interf UI. The UI reads local-service resources: Source, Preparations, Build Plans, Build runs, stages, proof, artifacts, readiness checks, and whether verifiable context is `ready` or `not ready`. It renders local instance state; it does not own Build Plan, proof, or readiness semantics.
209
211
 
210
- Everywhere Interf shows a resource — Source, portable context, Build Plan files, run artifacts — the API returns a single locator shape: `{ kind, value }`. `local-path` means the engine has filesystem access to the same host as the user; `remote-url` is a signed URL the UI opens in a browser tab; `api-served` is a relative API route the UI fetches and renders inline. Local engines today return `local-path`; the same shape carries forward unchanged when a remote instance fronts the API.
212
+ Everywhere Interf shows a resource — Source, context output, Build Plan files, run artifacts — the API returns a single locator shape: `{ kind, value }`. `local-path` means the engine has filesystem access to the same host as the user; `remote-url` is a signed URL the UI opens in a browser tab; `api-served` is a relative API route the UI fetches and renders inline. Local engines today return `local-path`; the same shape carries forward unchanged when a remote instance fronts the API.
211
213
 
212
214
  ## CLI Connection
213
215
 
@@ -235,28 +237,28 @@ There is no implicit auto-start. There is no per-folder pointer file. One mental
235
237
 
236
238
  There are two checks in the system, and they answer different questions.
237
239
 
238
- Build Plan Artifact checks check the build: did the plan produce the files, folders, Artifacts, and stage outputs it promised? Interf checks those while it compiles.
240
+ Build Plan Artifact checks check the build: did the plan produce the files, folders, Artifacts, and stage outputs it promised? Interf checks those while it builds.
239
241
 
240
- Readiness checks check the portable context: is this Preparation good enough for the specific agent work? They are the confidence layer on top of the portable context, not the product output.
242
+ Readiness checks check the verifiable context: is this Preparation good enough for the specific agent work? They are the confidence layer on top of the context, not the product output.
241
243
 
242
- In the setup flow, readiness checks often look like plain question-and-answer pairs. On the API, they live under each preparation's `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:
244
+ In the setup flow, readiness checks often look like plain question-and-answer pairs. On the API, they live under each preparation's `checks[]`. They help define whether the context is `ready` or `not ready`. A check should be a small, verifiable fact or condition you already know from the files:
243
245
 
244
246
  - one exact number from a chart, table, or filing
245
247
  - one short statement that should be true or false
246
248
  - one comparison across years, files, or sections
247
249
 
248
- 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 files, portable context, or both. The portable context itself does not answer; the agent answers while using it.
250
+ 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 files, verifiable context, or both. The context itself does not answer; the agent answers while using it.
249
251
 
250
252
  A maintained readiness example in this repo uses one market report, two readiness checks, and two agents:
251
253
 
252
254
  <!-- PUBLIC_BENCHMARK_TABLE:START -->
253
- | Agent | Source files | Portable context |
255
+ | Agent | Source files | Verifiable context |
254
256
  | --- | --- | --- |
255
257
  | Codex (GPT-5.4, xhigh) | `2/2` | `2/2` |
256
258
  | Claude Code (Claude Opus 4.6, max) | `0/2` | `2/2` |
257
259
  <!-- PUBLIC_BENCHMARK_TABLE:END -->
258
260
 
259
- Codex passed from the source 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 portable context is `ready` for this agent work.
261
+ Codex passed from the source files; Claude Code only passed when working from Interf's verifiable context. Both numbers come from the same readiness-check pass. That is evidence about whether this context is `ready` for this agent work.
260
262
 
261
263
  A maintained public test example uses this preparation:
262
264
 
@@ -265,7 +267,7 @@ A maintained public test example uses this preparation:
265
267
  {
266
268
  "id": "cbre-chart-sanity",
267
269
  "source": { "kind": "local-folder", "locator": "./task-files" },
268
- "method_id": "interf-default",
270
+ "build_plan_id": "interf-default",
269
271
  "about": "Bristol historical take-up and availability chart lookup.",
270
272
  "requested_artifacts": [
271
273
  {
@@ -294,19 +296,19 @@ A maintained public test example uses this preparation:
294
296
  ## What Interf Is Not
295
297
 
296
298
  - Not a second brain or memory product. One preparation per agent job; nothing global.
297
- - Not a vector store or RAG server. The portable context is plain files.
299
+ - Not a vector store or RAG server. The context output is plain files.
298
300
  - Not a hosted data platform. The local instance runs on your machine; your bytes never leave it.
299
- - Not an agent harness. Interf compiles the context; your existing agent reads the portable context.
301
+ - Not an agent harness. Interf builds verifiable context; your existing agent reads it.
300
302
 
301
303
  ## Useful Commands
302
304
 
303
- - `interf web` — run the local engine in the foreground (Compiler UI + API)
305
+ - `interf web` — run the local engine in the foreground (Interf UI + API)
304
306
  - `interf web start` — start a managed background local engine for agent sessions
305
307
  - `interf web stop` — kill the running local engine
306
308
  - `interf prep ls / create / show / rm` — manage preparations
307
- - `interf compile <prep-id>` — build portable context, returns the artifact locator
308
- - `interf test <prep-id>` — run readiness checks against source files and/or portable context
309
- - `interf method ls / show / install / draft / improve` — manage Build Plans / Method packages
309
+ - `interf build <prep-id>` — build verifiable context, returns the artifact locator
310
+ - `interf test <prep-id>` — run readiness checks against source files and/or verifiable context
311
+ - `interf build-plan list / show / save / draft / select / improve` — manage Build Plans
310
312
  - `interf agents ls / use / register / unregister / map / unmap` — manage connected agents and the role map
311
313
  - `interf runs ls / status / cancel / fetch` — inspect runs
312
314
  - `interf login / logout` — manage the active connection record (remote backend ships in a future release)
@@ -317,7 +319,7 @@ A maintained public test example uses this preparation:
317
319
 
318
320
  - [skills/interf](./skills/interf/) — bundled agent Skill for Interf.
319
321
  - [plugins/interf](./plugins/interf/) — local MCP host bundle for agents that support local MCP servers.
320
- - [methods/interf-default](./methods/interf-default/) — default Method package that ships with `@interf/compiler`.
322
+ - [build-plans/interf-default](./build-plans/interf-default/) — default Build Plan that ships with `interf`.
321
323
 
322
324
  Contributors: see [CONTRIBUTING.md](./CONTRIBUTING.md).
323
325
 
@@ -4,7 +4,7 @@ We take security issues seriously. Thank you for helping keep Interf safe for th
4
4
 
5
5
  ## Supported Versions
6
6
 
7
- Only the latest published release of `@interf/compiler` on npm and the current `main` branch of [`interf-labs/compiler`](https://github.com/interf-labs/compiler) receive security fixes.
7
+ Only the latest published release of `@interf/compiler` on npm and the current `main` branch of [`interf-labs/interf`](https://github.com/interf-labs/interf) receive security fixes.
8
8
 
9
9
  ## Reporting a Vulnerability
10
10
 
@@ -13,7 +13,7 @@ Only the latest published release of `@interf/compiler` on npm and the current `
13
13
  Preferred disclosure paths, in order:
14
14
 
15
15
  1. **Email**: [security@interf.com](mailto:security@interf.com) — primary contact for any security report
16
- 2. **GitHub Security Advisories**: use [private vulnerability reporting](https://github.com/interf-labs/compiler/security/advisories/new) on the `interf-labs/compiler` repository
16
+ 2. **GitHub Security Advisories**: use [private vulnerability reporting](https://github.com/interf-labs/interf/security/advisories/new) on the `interf-labs/interf` repository
17
17
  3. **PGP**: encrypted reports accepted on request via the email above
18
18
 
19
19
  Please include:
@@ -47,7 +47,7 @@ Security reports are especially relevant for:
47
47
  - command execution boundaries (subprocess, agent shell-out)
48
48
  - accidental leakage of private local files or runtime artifacts
49
49
  - authentication or authorization bypasses on `interf web` / `/v1/*` endpoints
50
- - test or workflow files causing unintended code execution
50
+ - test or Build Plan files causing unintended code execution
51
51
  - supply-chain risks in dependencies
52
52
 
53
53
  ## Bug Bounty Program
@@ -0,0 +1,33 @@
1
+ # Built-in Interf Build Plan
2
+
3
+ Built-in file-processing Build Plan: build traceable artifacts with proof by summarizing source-grounded evidence, structuring cross-file connections, and shaping verifiable context around the saved readiness checks.
4
+
5
+ ## Purpose
6
+
7
+ - General Build Plan implementation for building verifiable context agents can use.
8
+ - Build mixed source files into evidence-backed summaries, cross-file structure, and a usable entrypoint for agents running the readiness checks this agent work depends on.
9
+
10
+ ## Artifacts
11
+
12
+ - `summaries` — output directory at `summaries`
13
+ - `knowledge-entities` — output directory at `knowledge/entities`
14
+ - `knowledge-claims` — output directory at `knowledge/claims`
15
+ - `knowledge-indexes` — output directory at `knowledge/indexes`
16
+ - `atlas` — output file at `home.md` used as the primary entrypoint for this Build Plan
17
+
18
+ ## Stages
19
+
20
+ Each stage is a folder with a `SKILL.md` file. Interf creates the stage shell,
21
+ attaches source references and runtime context, runs the agent against that
22
+ plain-text Skill, and records proof of what the stage wrote.
23
+
24
+ - `summarize` — Turn source files into per-file summaries. (build-file-evidence; reads: none; writes: summaries)
25
+ - `structure` — Build the cross-file knowledge structure from the summaries. (build-knowledge-structure; reads: summaries; writes: knowledge-entities, knowledge-claims, knowledge-indexes)
26
+ - `shape` — Shape the final verifiable context around the saved task focus and readiness checks. (build-query-shape; reads: summaries, knowledge-entities, knowledge-claims, knowledge-indexes; writes: knowledge-indexes, atlas)
27
+
28
+ ## Why `home.md` exists here
29
+
30
+ This built-in Build Plan creates `home.md` as the main agent entrypoint for the verifiable context.
31
+ That is behavior of the `interf-default` Build Plan implementation, not a local-engine rule.
32
+
33
+ This package is the built-in seed for `interf-default`.
@@ -1,27 +1,27 @@
1
1
  # Shape
2
2
 
3
- Shape the final portable context around the saved task focus and readiness checks.
3
+ Shape the final verifiable context around the saved task focus and readiness checks.
4
4
 
5
- Contract type: `compiled-query-shape`
5
+ Contract type: `build-query-shape`
6
6
 
7
7
  ## Requirements
8
8
 
9
- - Use the compiled task focus plus saved readiness-check text to shape `home.md` and retrieval routes.
10
- - Rewrite `home.md` into a real entrypoint note. Do not leave the scaffold `Not yet compiled.` placeholder in place.
11
- - When you add wikilinks, target real compiled notes by exact basename or explicit relative path.
9
+ - Use the Build run task focus plus saved readiness-check text to shape `home.md` and retrieval routes.
10
+ - Rewrite `home.md` into a real entrypoint note. Do not leave the scaffold `Not yet built.` placeholder in place.
11
+ - When you add wikilinks, target real verifiable-context notes by exact basename or explicit relative path.
12
12
  - If you introduce a new note name in `home.md` or another shaped output, the same stage must also create that note file.
13
13
  - Prefer direct file-reading and search tools over shell commands for routine file inspection.
14
14
  - When a source value is approximate, preserve it as a bounded range and say why it is approximate.
15
15
  - Do not invent finer precision than the source supports.
16
16
  - Keep approximate values consistent across `home.md`, focused indexes, and claim/entity notes.
17
- - Do not copy expected answers into the portable context.
17
+ - Do not copy expected answers into the verifiable context.
18
18
 
19
19
  ## Notes
20
20
 
21
- - Use the saved task focus and readiness checks to bias the final portable context toward the job it should be especially good at.
22
- - Do not copy expected answers into the final portable context just because the checks imply them.
21
+ - Use the saved task focus and readiness checks to bias the final verifiable context toward the job it should be especially good at.
22
+ - Do not copy expected answers into the final verifiable context just because the checks imply them.
23
23
  - Prefer the saved summary evidence and structured notes when they already preserve the bounded chart/table reads plus provenance you need.
24
- - Reopen source references during shaping only when the compiled layer is missing the needed value, the metric family is ambiguous, or the earlier bounded read is clearly inconsistent.
24
+ - Reopen source references during shaping only when the verifiable context is missing the needed value, the metric family is ambiguous, or the earlier bounded read is clearly inconsistent.
25
25
  - If a saved readiness check depends on source-derived values, carry the final bounded values into focused notes with provenance instead of repeatedly recomputing them from source files.
26
26
  - Prefer better routing, prioritization, and focused navigation over speculative synthesis.
27
- - Any wikilinks you add to `home.md` or indexes must resolve to real compiled note basenames or explicit relative paths.
27
+ - Any wikilinks you add to `home.md` or indexes must resolve to real verifiable-context note basenames or explicit relative paths.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Build the cross-file knowledge structure from the summaries.
4
4
 
5
- Contract type: `compiled-knowledge-structure`
5
+ Contract type: `build-knowledge-structure`
6
6
 
7
7
  ## Requirements
8
8
 
@@ -16,6 +16,6 @@ Contract type: `compiled-knowledge-structure`
16
16
  - Bias structure toward canonical entities, claims, timelines, and stable indexes.
17
17
  - Use taxonomy and ontology only as means to improve retrieval, navigation, and evidence tracking.
18
18
  - For small source folders, prefer a minimal stable substrate over exhaustive graph sprawl.
19
- - When you add wikilinks, target real compiled notes by exact basename or explicit relative path. Do not invent title-style links unless that exact title is also a declared note label or alias.
19
+ - When you add wikilinks, target real verifiable-context notes by exact basename or explicit relative path. Do not invent title-style links unless that exact title is also a declared note label or alias.
20
20
  - Do not add wikilinks in structure outputs to files that the shape stage creates later. If a route belongs in `home.md` or a later shaped note, leave plain text now and let the later stage add the link.
21
21
  - For summary references, prefer explicit links like `[[summaries/<file-stem>]]` or plain code paths. For knowledge notes, prefer the final filename stem under `knowledge/`.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Turn source files into per-file summaries.
4
4
 
5
- Contract type: `compiled-file-evidence`
5
+ Contract type: `build-file-evidence`
6
6
 
7
7
  ## Requirements
8
8
 
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "id": "interf-default",
3
- "type": "compiled",
4
- "compiler_api": {
5
- "kind": "compiled",
3
+ "type": "build-plan",
4
+ "engine_api": {
5
+ "kind": "build",
6
6
  "version": 1
7
7
  },
8
8
  "purpose": {
9
- "label": "Built-in portable-context Method for agent use",
10
- "task_hint": "Compile mixed source files into evidence-backed summaries, cross-file structure, and a usable entrypoint for agents running the readiness checks this task depends on."
9
+ "label": "Built-in Build Plan for verifiable context",
10
+ "task_hint": "Build mixed source files into evidence-backed summaries, cross-file structure, and a usable entrypoint for agents running the readiness checks this agent work depends on."
11
11
  },
12
12
  "inputs": [
13
13
  {
@@ -17,14 +17,14 @@
17
17
  "required": true
18
18
  }
19
19
  ],
20
- "label": "Built-in Interf Method",
21
- "hint": "Built-in file-processing Method: summarize source-grounded evidence, structure cross-file connections, and shape portable context around the saved readiness checks.",
20
+ "label": "Built-in Interf Build Plan",
21
+ "hint": "Built-in file-processing Build Plan: build traceable artifacts with proof by summarizing source-grounded evidence, structuring cross-file connections, and shaping verifiable context around the saved readiness checks.",
22
22
  "stages": [
23
23
  {
24
24
  "id": "summarize",
25
25
  "label": "Summarize",
26
26
  "description": "Turn source files into per-file summaries.",
27
- "contract_type": "compiled-file-evidence",
27
+ "contract_type": "build-file-evidence",
28
28
  "skill_dir": "summarize",
29
29
  "reads": [],
30
30
  "writes": [
@@ -35,7 +35,7 @@
35
35
  "id": "structure",
36
36
  "label": "Structure",
37
37
  "description": "Build the cross-file knowledge structure from the summaries.",
38
- "contract_type": "compiled-knowledge-structure",
38
+ "contract_type": "build-knowledge-structure",
39
39
  "skill_dir": "structure",
40
40
  "reads": [
41
41
  "summaries"
@@ -49,8 +49,8 @@
49
49
  {
50
50
  "id": "shape",
51
51
  "label": "Shape",
52
- "description": "Shape the final portable context around the saved task focus and readiness checks.",
53
- "contract_type": "compiled-query-shape",
52
+ "description": "Shape the final verifiable context around the saved task focus and readiness checks.",
53
+ "contract_type": "build-query-shape",
54
54
  "skill_dir": "shape",
55
55
  "reads": [
56
56
  "summaries",
@@ -75,16 +75,16 @@
75
75
  "Bias structure toward canonical entities, claims, timelines, and stable indexes.",
76
76
  "Use taxonomy and ontology only as means to improve retrieval, navigation, and evidence tracking.",
77
77
  "For small Source Folders, prefer a minimal stable substrate over exhaustive graph sprawl.",
78
- "When you add wikilinks, target real compiled notes by exact basename or explicit relative path. Do not invent title-style links unless that exact title is also a declared note label or alias.",
78
+ "When you add wikilinks, target real verifiable-context notes by exact basename or explicit relative path. Do not invent title-style links unless that exact title is also a declared note label or alias.",
79
79
  "Do not add wikilinks in structure outputs to files that the shape stage creates later. If a route belongs in `home.md` or a later shaped note, leave plain text now and let the later stage add the link.",
80
80
  "For summary references, prefer explicit links like `[[summaries/<file-stem>]]` or plain code paths. For knowledge notes, prefer the final filename stem under `knowledge/`."
81
81
  ],
82
82
  "shape": [
83
- "Use the saved task focus and readiness checks to bias the final portable context toward the job it should be especially good at.",
84
- "Do not copy expected answers into the final portable context just because the checks imply them.",
83
+ "Use the saved task focus and readiness checks to bias the final verifiable context toward the job it should be especially good at.",
84
+ "Do not copy expected answers into the final verifiable context just because the checks imply them.",
85
85
  "If a saved readiness check depends on source-derived values that may be approximate, preserve the stated range, limits, and provenance.",
86
86
  "Prefer better routing, prioritization, and focused navigation over speculative synthesis.",
87
- "Any wikilinks you add to `home.md` or indexes must resolve to real compiled note basenames or explicit relative paths."
87
+ "Any wikilinks you add to `home.md` or indexes must resolve to real verifiable-context note basenames or explicit relative paths."
88
88
  ]
89
89
  }
90
90
  }
@@ -1,8 +1,8 @@
1
1
  {
2
- "kind": "method-schema",
2
+ "kind": "build-plan-schema",
3
3
  "version": 1,
4
- "target_type": "compiled",
5
- "label": "Interf built-in Method schema",
4
+ "target_type": "verifiable-context",
5
+ "label": "Interf built-in Build Plan schema",
6
6
  "artifacts": [
7
7
  {
8
8
  "id": "atlas",
@@ -14,7 +14,7 @@
14
14
  "id": "no-placeholder",
15
15
  "kind": "must_not_contain",
16
16
  "required": true,
17
- "params": { "phrases": ["Not yet compiled."] }
17
+ "params": { "phrases": ["Not yet built."] }
18
18
  },
19
19
  { "id": "wikilinks", "kind": "wikilinks_valid", "required": true }
20
20
  ],
@@ -0,0 +1,18 @@
1
+ # Build Plan Improvement
2
+
3
+ Build Plan: interf-default
4
+
5
+ This file is the editable authoring source for Interf's generated native Build Plan improver shell.
6
+ The improver edits this local Build Plan directly.
7
+
8
+ Default loop:
9
+ 1. Read the loop context first.
10
+ 2. Review preserved stage shells, runtime logs, and saved test runs from failed attempts.
11
+ 3. Edit only the local Build Plan for this verifiable context to create a better implementation for this agent work.
12
+ 4. Keep `build-plan.json`, `build-plan.schema.json`, and any changed stage docs aligned.
13
+
14
+ Guardrails:
15
+ - do not edit checks, test specs, or source files
16
+ - do not hardcode expected answers into Build Plan docs
17
+ - keep this package standalone; do not rely on runtime inheritance
18
+ - prefer small, defensible Build Plan changes over random churn
@@ -11,13 +11,13 @@ Default loop:
11
11
  Answering rule:
12
12
  - do not modify source files while answering
13
13
  - when a number is approximate or source-derived from a visual, say that explicitly
14
- - if the compiled layer already contains a bounded value for the exact metric and period the user asked about, answer from that compiled value first
15
- - use source references to confirm the source page, metric family, or provenance, not to replace a good compiled bounded read with a mismatched range
16
- - when the compiled layer preserves a bounded range, keep that bounded range in the answer instead of collapsing it to a midpoint or pseudo-exact single value
14
+ - if the verifiable context already contains a bounded value for the exact metric and period the user asked about, answer from that value first
15
+ - use source references to confirm the source page, metric family, or provenance, not to replace a good bounded read with a mismatched range
16
+ - when the verifiable context preserves a bounded range, keep that bounded range in the answer instead of collapsing it to a midpoint or pseudo-exact single value
17
17
  - match the source granularity and do not invent finer precision than the source supports
18
18
  - when reading visuals, verify you are on the correct metric family and period before answering
19
19
  - keep annual, quarterly, sector, and snapshot metrics separate unless the source explicitly connects them
20
- - if multiple compiled notes mention the same value, keep the answer consistent with the most focused compiled note rather than synthesizing a new midpoint or shifted range
21
- - when the compiled layer is insufficient, verify against source references and then answer
20
+ - if multiple notes mention the same value, keep the answer consistent with the most focused note rather than synthesizing a new midpoint or shifted range
21
+ - when the verifiable context is insufficient, verify against source references and then answer
22
22
 
23
- You can edit this file to bias manual question-answering behavior for this portable context.
23
+ You can edit this file to bias manual question-answering behavior for this verifiable context.
@@ -6,4 +6,4 @@ This directory is the source of truth for package-shipped plugin assets.
6
6
 
7
7
  Each plugin should stay thin: a host manifest, the canonical Interf Skill, and
8
8
  configuration that starts `interf mcp`. The MCP server itself ships inside
9
- `@interf/compiler`.
9
+ `interf`.
@@ -2,19 +2,19 @@
2
2
  "$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
3
3
  "name": "interf",
4
4
  "version": "0.1.0",
5
- "description": "Prepare source files for agent work with Interf Compiler.",
5
+ "description": "Build verifiable context for agents from source files with Interf.",
6
6
  "author": {
7
7
  "name": "Interf Inc.",
8
8
  "url": "https://interf.com"
9
9
  },
10
10
  "homepage": "https://interf.com",
11
- "repository": "https://github.com/interf-labs/compiler",
11
+ "repository": "https://github.com/interf-labs/interf",
12
12
  "license": "SEE LICENSE IN LICENSE.md",
13
13
  "keywords": [
14
14
  "interf",
15
15
  "agents",
16
16
  "data-preparation",
17
- "portable-context"
17
+ "verifiable-context"
18
18
  ],
19
19
  "skills": "./skills/",
20
20
  "mcpServers": "./.mcp.json"