@interf/compiler 0.9.5 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +135 -91
- package/TRADEMARKS.md +2 -13
- package/agent-skills/interf-actions/SKILL.md +143 -38
- package/agent-skills/interf-actions/references/cli.md +134 -67
- package/builtin-methods/interf-default/README.md +3 -4
- package/builtin-methods/interf-default/compile/stages/shape/SKILL.md +2 -2
- package/builtin-methods/interf-default/compile/stages/summarize/SKILL.md +2 -1
- package/builtin-methods/interf-default/improve/SKILL.md +1 -1
- package/builtin-methods/interf-default/method.json +10 -4
- package/builtin-methods/interf-default/method.schema.json +0 -9
- package/builtin-methods/interf-default/use/query/SKILL.md +5 -5
- package/dist/cli/commands/agents.d.ts +2 -0
- package/dist/cli/commands/agents.js +213 -0
- package/dist/cli/commands/compile.d.ts +8 -25
- package/dist/cli/commands/compile.js +83 -359
- package/dist/cli/commands/doctor.js +2 -2
- package/dist/cli/commands/login.d.ts +7 -0
- package/dist/cli/commands/login.js +39 -0
- package/dist/cli/commands/logout.d.ts +2 -0
- package/dist/cli/commands/logout.js +16 -0
- package/dist/cli/commands/mcp.d.ts +42 -0
- package/dist/cli/commands/mcp.js +239 -0
- package/dist/cli/commands/method.d.ts +2 -0
- package/dist/cli/commands/method.js +113 -0
- package/dist/cli/commands/prep.d.ts +2 -0
- package/dist/cli/commands/prep.js +152 -0
- package/dist/cli/commands/reset.d.ts +8 -1
- package/dist/cli/commands/reset.js +47 -26
- package/dist/cli/commands/runs.d.ts +2 -0
- package/dist/cli/commands/runs.js +120 -0
- package/dist/cli/commands/status.d.ts +6 -1
- package/dist/cli/commands/status.js +68 -111
- package/dist/cli/commands/verify.d.ts +7 -1
- package/dist/cli/commands/verify.js +69 -85
- package/dist/cli/commands/web.d.ts +0 -9
- package/dist/cli/commands/web.js +201 -121
- package/dist/cli/commands/wizard.d.ts +9 -0
- package/dist/cli/commands/wizard.js +689 -0
- package/dist/cli/index.d.ts +10 -7
- package/dist/cli/index.js +19 -12
- package/dist/compiler-ui/404.html +1 -1
- package/dist/compiler-ui/__next.__PAGE__.txt +2 -2
- package/dist/compiler-ui/__next._full.txt +3 -3
- package/dist/compiler-ui/__next._head.txt +1 -1
- package/dist/compiler-ui/__next._index.txt +2 -2
- package/dist/compiler-ui/__next._tree.txt +2 -2
- package/dist/compiler-ui/_next/static/chunks/{177mvn4rse235.js → 0jipmpez3_ehh.js} +16 -16
- package/dist/compiler-ui/_next/static/chunks/{18a8f2jkv3z.c.css → 13awzu4tooflw.css} +1 -1
- package/dist/compiler-ui/_not-found/__next._full.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._head.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._index.txt +2 -2
- package/dist/compiler-ui/_not-found/__next._not-found.__PAGE__.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._not-found.txt +1 -1
- package/dist/compiler-ui/_not-found/__next._tree.txt +2 -2
- package/dist/compiler-ui/_not-found.html +1 -1
- package/dist/compiler-ui/_not-found.txt +2 -2
- package/dist/compiler-ui/index.html +1 -1
- package/dist/compiler-ui/index.txt +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/packages/contracts/index.d.ts +2 -1
- package/dist/packages/contracts/index.js +1 -0
- package/dist/packages/contracts/lib/preparation-paths.d.ts +117 -0
- package/dist/packages/contracts/lib/preparation-paths.js +177 -0
- package/dist/packages/contracts/lib/schema.d.ts +187 -13
- package/dist/packages/contracts/lib/schema.js +148 -3
- package/dist/packages/contracts/utils/filesystem.d.ts +9 -0
- package/dist/packages/contracts/utils/filesystem.js +142 -0
- package/dist/packages/{local-service → engine}/action-definitions.d.ts +14 -14
- package/dist/packages/{local-service → engine}/action-definitions.js +35 -29
- package/dist/packages/{local-service → engine}/action-planner.d.ts +1 -1
- package/dist/packages/{local-service → engine}/action-planner.js +3 -2
- package/dist/packages/{agents → engine/agents}/index.d.ts +3 -0
- package/dist/packages/{agents → engine/agents}/index.js +3 -0
- package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.js +2 -2
- package/dist/packages/engine/agents/lib/detection.d.ts +13 -0
- package/dist/packages/{agents → engine/agents}/lib/detection.js +11 -0
- package/dist/packages/{agents → engine/agents}/lib/executors.d.ts +2 -2
- package/dist/packages/{agents → engine/agents}/lib/shells.d.ts +5 -5
- package/dist/packages/{agents → engine/agents}/lib/shells.js +117 -58
- package/dist/packages/{agents → engine/agents}/lib/user-config.d.ts +4 -2
- package/dist/packages/engine/agents/lib/user-config.js +24 -0
- package/dist/packages/engine/agents/registry.d.ts +91 -0
- package/dist/packages/engine/agents/registry.js +321 -0
- package/dist/packages/engine/agents/role-executors.d.ts +35 -0
- package/dist/packages/engine/agents/role-executors.js +88 -0
- package/dist/packages/engine/agents/role-router.d.ts +66 -0
- package/dist/packages/engine/agents/role-router.js +73 -0
- package/dist/packages/{local-service → engine}/client.d.ts +59 -60
- package/dist/packages/{local-service → engine}/client.js +137 -145
- package/dist/packages/{compiler → engine/compile}/artifact-counts.js +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-paths.d.ts +9 -2
- package/dist/packages/{compiler → engine/compile}/compiled-paths.js +30 -15
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.d.ts +12 -1
- package/dist/packages/{compiler → engine/compile}/compiled-pipeline.js +39 -9
- package/dist/packages/{compiler → engine/compile}/compiled-schema.d.ts +2 -2
- package/dist/packages/{compiler → engine/compile}/compiled-schema.js +4 -4
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-plan.js +8 -4
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/compiled-stage-runner.js +3 -3
- package/dist/packages/{compiler → engine/compile}/compiled-target.d.ts +3 -3
- package/dist/packages/{compiler → engine/compile}/compiled-target.js +3 -3
- package/dist/packages/{compiler → engine/compile}/discovery.js +1 -1
- package/dist/packages/{compiler → engine/compile}/index.d.ts +1 -0
- package/dist/packages/{compiler → engine/compile}/index.js +1 -0
- package/dist/packages/{compiler → engine/compile}/lib/schema.d.ts +26 -31
- package/dist/packages/{compiler → engine/compile}/lib/schema.js +2 -13
- package/dist/packages/engine/compile/method-runs.d.ts +14 -0
- package/dist/packages/{compiler → engine/compile}/method-runs.js +5 -6
- package/dist/packages/{compiler → engine/compile}/reset.js +3 -1
- package/dist/packages/{compiler → engine/compile}/runtime-acceptance.js +17 -14
- package/dist/packages/{compiler → engine/compile}/runtime-contracts.js +0 -3
- package/dist/packages/{compiler → engine/compile}/runtime-prompt.js +1 -1
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/runtime-reconcile.js +12 -10
- package/dist/packages/{compiler → engine/compile}/runtime-runs.d.ts +1 -2
- package/dist/packages/{compiler → engine/compile}/runtime-runs.js +3 -43
- package/dist/packages/{compiler → engine/compile}/runtime-types.d.ts +1 -5
- package/dist/packages/{compiler → engine/compile}/runtime.d.ts +2 -2
- package/dist/packages/{compiler → engine/compile}/runtime.js +1 -1
- package/dist/packages/engine/compile/source-files.d.ts +46 -0
- package/dist/packages/engine/compile/source-files.js +149 -0
- package/dist/packages/engine/compile/state-artifacts.d.ts +9 -0
- package/dist/packages/{compiler → engine/compile}/state-artifacts.js +4 -3
- package/dist/packages/{compiler → engine/compile}/state-health.js +2 -2
- package/dist/packages/{compiler → engine/compile}/state-io.d.ts +3 -2
- package/dist/packages/{compiler → engine/compile}/state-io.js +13 -7
- package/dist/packages/{compiler → engine/compile}/state-paths.d.ts +2 -1
- package/dist/packages/engine/compile/state-paths.js +16 -0
- package/dist/packages/engine/compile/state-view.d.ts +5 -0
- package/dist/packages/{compiler → engine/compile}/state-view.js +20 -30
- package/dist/packages/engine/compile/state.d.ts +7 -0
- package/dist/packages/{compiler → engine/compile}/state.js +3 -3
- package/dist/packages/{compiler → engine/compile}/validate-compiled.js +2 -2
- package/dist/packages/{compiler → engine/compile}/validate.d.ts +1 -1
- package/dist/packages/{compiler → engine/compile}/validate.js +3 -3
- package/dist/packages/engine/connection-config.d.ts +38 -0
- package/dist/packages/engine/connection-config.js +75 -0
- package/dist/packages/{execution → engine/execution}/lib/schema.d.ts +52 -72
- package/dist/packages/{execution → engine/execution}/lib/schema.js +3 -3
- package/dist/packages/engine/index.d.ts +22 -0
- package/dist/packages/engine/index.js +15 -0
- package/dist/packages/engine/instance-paths.d.ts +100 -0
- package/dist/packages/engine/instance-paths.js +165 -0
- package/dist/packages/{local-service → engine}/lib/schema.d.ts +392 -2408
- package/dist/packages/{local-service → engine}/lib/schema.js +164 -76
- package/dist/packages/{local-service → engine}/native-run-handlers.d.ts +7 -5
- package/dist/packages/{local-service → engine}/native-run-handlers.js +71 -27
- package/dist/packages/engine/preparation-store.d.ts +104 -0
- package/dist/packages/engine/preparation-store.js +194 -0
- package/dist/packages/{local-service → engine}/readiness-check-draft.d.ts +2 -2
- package/dist/packages/engine/routes.d.ts +78 -0
- package/dist/packages/engine/routes.js +92 -0
- package/dist/packages/{local-service → engine}/run-observability.d.ts +3 -3
- package/dist/packages/{local-service → engine}/run-observability.js +25 -24
- package/dist/packages/engine/runtime-caches.d.ts +76 -0
- package/dist/packages/engine/runtime-caches.js +191 -0
- package/dist/packages/engine/runtime-event-applier.d.ts +12 -0
- package/dist/packages/engine/runtime-event-applier.js +177 -0
- package/dist/packages/engine/runtime-persistence.d.ts +47 -0
- package/dist/packages/engine/runtime-persistence.js +137 -0
- package/dist/packages/engine/runtime-proposal-helpers.d.ts +35 -0
- package/dist/packages/engine/runtime-proposal-helpers.js +251 -0
- package/dist/packages/engine/runtime-resource-builders.d.ts +52 -0
- package/dist/packages/engine/runtime-resource-builders.js +149 -0
- package/dist/packages/engine/runtime.d.ts +318 -0
- package/dist/packages/{local-service → engine}/runtime.js +835 -1011
- package/dist/packages/{local-service → engine}/server.d.ts +15 -0
- package/dist/packages/engine/server.js +1257 -0
- package/dist/packages/engine/service-registry.d.ts +47 -0
- package/dist/packages/engine/service-registry.js +137 -0
- package/dist/packages/{testing → engine/verify}/lib/schema.d.ts +11 -11
- package/dist/packages/{testing → engine/verify}/lib/schema.js +3 -3
- package/dist/packages/{testing → engine/verify}/readiness-check-run.d.ts +9 -16
- package/dist/packages/{testing → engine/verify}/readiness-check-run.js +38 -94
- package/dist/packages/{testing → engine/verify}/test-execution.js +6 -6
- package/dist/packages/{testing → engine/verify}/test-paths.js +5 -4
- package/dist/packages/{testing → engine/verify}/test-sandbox.d.ts +0 -1
- package/dist/packages/{testing → engine/verify}/test-sandbox.js +17 -33
- package/dist/packages/{testing → engine/verify}/test-specs.js +1 -1
- package/dist/packages/{testing → engine/verify}/test-targets.d.ts +1 -1
- package/dist/packages/{testing → engine/verify}/test-targets.js +9 -9
- package/dist/packages/{testing → engine/verify}/test.d.ts +1 -1
- package/dist/packages/{testing → engine/verify}/test.js +1 -1
- package/dist/packages/{method-authoring → methods/authoring}/method-authoring.d.ts +12 -4
- package/dist/packages/{method-authoring → methods/authoring}/method-authoring.js +70 -7
- package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.d.ts +2 -2
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.d.ts +4 -4
- package/dist/packages/{method-authoring → methods/authoring}/method-improvement.js +16 -10
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.d.ts +4 -5
- package/dist/packages/{method-package → methods/package}/builtin-compiled-method.js +10 -16
- package/dist/packages/{method-package → methods/package}/context-interface.d.ts +5 -41
- package/dist/packages/{method-package → methods/package}/context-interface.js +3 -25
- package/dist/packages/{method-package → methods/package}/interf-method-package.d.ts +4 -4
- package/dist/packages/{method-package → methods/package}/interf-method-package.js +24 -35
- package/dist/packages/{method-package → methods/package}/lib/package-root.js +2 -2
- package/dist/packages/{method-package → methods/package}/local-methods.d.ts +18 -8
- package/dist/packages/{method-package → methods/package}/local-methods.js +64 -45
- package/dist/packages/{method-package → methods/package}/method-definitions.d.ts +16 -36
- package/dist/packages/{method-package → methods/package}/method-definitions.js +53 -40
- package/dist/packages/{method-package → methods/package}/method-helpers.d.ts +2 -14
- package/dist/packages/{method-package → methods/package}/method-helpers.js +12 -46
- package/dist/packages/{method-package → methods/package}/method-review-paths.d.ts +1 -1
- package/dist/packages/{method-package → methods/package}/method-review-paths.js +1 -1
- package/dist/packages/{method-package → methods/package}/method-stage-runner.d.ts +4 -9
- package/dist/packages/{method-package → methods/package}/method-stage-runner.js +3 -31
- package/dist/packages/methods/package/user-methods.d.ts +17 -0
- package/dist/packages/methods/package/user-methods.js +77 -0
- package/dist/packages/{project-model → project}/index.d.ts +0 -1
- package/dist/packages/{project-model → project}/index.js +0 -1
- package/dist/packages/{project-model → project}/interf-bootstrap.d.ts +1 -1
- package/dist/packages/{project-model → project}/interf-bootstrap.js +1 -1
- package/dist/packages/{project-model → project}/interf-detect.d.ts +8 -3
- package/dist/packages/{project-model → project}/interf-detect.js +38 -38
- package/dist/packages/project/interf-scaffold.d.ts +3 -0
- package/dist/packages/{project-model → project}/interf-scaffold.js +30 -39
- package/dist/packages/{project-model → project}/lib/schema.d.ts +2 -2
- package/dist/packages/{project-model → project}/lib/schema.js +39 -2
- package/dist/packages/project/preparation-entries.d.ts +11 -0
- package/dist/packages/{project-model → project}/preparation-entries.js +14 -14
- package/dist/packages/{project-model → project}/source-config.d.ts +12 -12
- package/dist/packages/{project-model → project}/source-config.js +81 -53
- package/dist/packages/{project-model → project}/source-folders.d.ts +5 -5
- package/dist/packages/{project-model → project}/source-folders.js +16 -16
- package/package.json +8 -8
- package/CHANGELOG.md +0 -93
- package/LICENSE +0 -183
- package/dist/cli/commands/action-input-cli.d.ts +0 -25
- package/dist/cli/commands/action-input-cli.js +0 -73
- package/dist/cli/commands/control-path.d.ts +0 -11
- package/dist/cli/commands/control-path.js +0 -72
- package/dist/cli/commands/create-method-wizard.d.ts +0 -64
- package/dist/cli/commands/create-method-wizard.js +0 -434
- package/dist/cli/commands/create.d.ts +0 -6
- package/dist/cli/commands/create.js +0 -183
- package/dist/cli/commands/default.d.ts +0 -2
- package/dist/cli/commands/default.js +0 -39
- package/dist/cli/commands/executor-flow.d.ts +0 -29
- package/dist/cli/commands/executor-flow.js +0 -163
- package/dist/cli/commands/init.d.ts +0 -26
- package/dist/cli/commands/init.js +0 -771
- package/dist/cli/commands/list.d.ts +0 -2
- package/dist/cli/commands/list.js +0 -30
- package/dist/cli/commands/preparation-action.d.ts +0 -8
- package/dist/cli/commands/preparation-action.js +0 -29
- package/dist/cli/commands/preparation-picker.d.ts +0 -5
- package/dist/cli/commands/preparation-picker.js +0 -36
- package/dist/cli/commands/preparation-selection.d.ts +0 -6
- package/dist/cli/commands/preparation-selection.js +0 -11
- package/dist/cli/commands/service-action-flow.d.ts +0 -9
- package/dist/cli/commands/service-action-flow.js +0 -19
- package/dist/cli/commands/source-config-wizard.d.ts +0 -51
- package/dist/cli/commands/source-config-wizard.js +0 -670
- package/dist/cli/commands/test.d.ts +0 -17
- package/dist/cli/commands/test.js +0 -188
- package/dist/packages/agents/lib/detection.d.ts +0 -7
- package/dist/packages/agents/lib/user-config.js +0 -16
- package/dist/packages/compiler/method-runs.d.ts +0 -15
- package/dist/packages/compiler/raw-snapshot.d.ts +0 -49
- package/dist/packages/compiler/raw-snapshot.js +0 -101
- package/dist/packages/compiler/state-artifacts.d.ts +0 -8
- package/dist/packages/compiler/state-paths.js +0 -13
- package/dist/packages/compiler/state-view.d.ts +0 -4
- package/dist/packages/compiler/state.d.ts +0 -7
- package/dist/packages/local-service/index.d.ts +0 -18
- package/dist/packages/local-service/index.js +0 -13
- package/dist/packages/local-service/routes.d.ts +0 -32
- package/dist/packages/local-service/routes.js +0 -37
- package/dist/packages/local-service/runtime.d.ts +0 -133
- package/dist/packages/local-service/server.js +0 -627
- package/dist/packages/method-package/index.d.ts +0 -11
- package/dist/packages/method-package/index.js +0 -11
- package/dist/packages/method-package/method-stage-policy.d.ts +0 -5
- package/dist/packages/method-package/method-stage-policy.js +0 -31
- package/dist/packages/project-model/interf-scaffold.d.ts +0 -3
- package/dist/packages/project-model/preparation-entries.d.ts +0 -11
- package/dist/packages/project-model/project-paths.d.ts +0 -12
- package/dist/packages/project-model/project-paths.js +0 -33
- package/dist/packages/shared/filesystem.d.ts +0 -2
- package/dist/packages/shared/filesystem.js +0 -55
- /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → a3UiUF0DiMEbfWy_0gihg}/_buildManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → a3UiUF0DiMEbfWy_0gihg}/_clientMiddlewareManifest.js +0 -0
- /package/dist/compiler-ui/_next/static/{84FaeF3EzBF9kKTMjSEVN → a3UiUF0DiMEbfWy_0gihg}/_ssgManifest.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/file-types.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/logger.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/naming.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/parse.js +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.d.ts +0 -0
- /package/dist/packages/{shared → contracts/utils}/path-guards.js +0 -0
- /package/dist/packages/{local-service → engine}/action-values.d.ts +0 -0
- /package/dist/packages/{local-service → engine}/action-values.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/agents.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/args.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/chart-guidance.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/compiled-bootstrap.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/constants.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution-profile.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/execution.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/executors.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/logs.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/preflight.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/render.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/schema.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/status.js +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.d.ts +0 -0
- /package/dist/packages/{agents → engine/agents}/lib/types.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/artifact-counts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/compiled-compile.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/discovery.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/method-primitives.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/method-primitives.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/reset.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-acceptance.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-contracts.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-inventory.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-paths.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-prompt.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/runtime-types.js +0 -0
- /package/dist/packages/{compiler → engine/compile}/state-health.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-compiled.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.d.ts +0 -0
- /package/dist/packages/{compiler → engine/compile}/validate-helpers.js +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/adapters.js +0 -0
- /package/dist/packages/{execution → engine/execution}/events.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/events.js +0 -0
- /package/dist/packages/{execution → engine/execution}/index.d.ts +0 -0
- /package/dist/packages/{execution → engine/execution}/index.js +0 -0
- /package/dist/packages/{local-service → engine}/readiness-check-draft.js +0 -0
- /package/dist/packages/{testing → engine/verify}/index.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/index.js +0 -0
- /package/dist/packages/{testing → engine/verify}/test-execution.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-paths.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-profile-presets.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-profile-presets.js +0 -0
- /package/dist/packages/{testing → engine/verify}/test-specs.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-types.d.ts +0 -0
- /package/dist/packages/{testing → engine/verify}/test-types.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/index.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.d.ts +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/lib/method-edit-utils.js +0 -0
- /package/dist/packages/{method-authoring → methods/authoring}/method-edit-session.js +0 -0
- /package/dist/packages/{method-package → methods/package}/lib/package-root.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.d.ts +0 -0
- /package/dist/packages/{project-model → project}/interf.js +0 -0
|
@@ -9,124 +9,165 @@ This snapshot is bundled with the `interf-actions` skill. The installed `interf`
|
|
|
9
9
|
```text
|
|
10
10
|
interf
|
|
11
11
|
|
|
12
|
+
Open the interactive wizard (default when no subcommand is given)
|
|
13
|
+
|
|
12
14
|
Commands:
|
|
13
|
-
interf
|
|
14
|
-
interf
|
|
15
|
-
interf
|
|
16
|
-
interf
|
|
17
|
-
interf
|
|
18
|
-
interf
|
|
19
|
-
interf
|
|
20
|
-
interf
|
|
21
|
-
interf
|
|
22
|
-
interf
|
|
15
|
+
interf Open the interactive wizard (default when no subcommand is given) [default]
|
|
16
|
+
interf init Open the interactive wizard
|
|
17
|
+
interf compile <prep-id> Start a compile run for a preparation
|
|
18
|
+
interf verify <prep-id> Verify a preparation's claim-checks against its portable context
|
|
19
|
+
interf agents <subcommand> Manage connected agents and role mapping
|
|
20
|
+
interf doctor Check local executor configuration before a real local run
|
|
21
|
+
interf method <subcommand> Manage methods on the connected instance
|
|
22
|
+
interf mcp Run the Interf Model Context Protocol server (stdio by default).
|
|
23
|
+
interf runs <subcommand> Inspect runs on the connected instance
|
|
24
|
+
interf status Show connection + preparation summary
|
|
25
|
+
interf web [subcommand] Start / stop / inspect the Interf engine
|
|
26
|
+
interf reset <prep-id> Reset a preparation's compile output
|
|
27
|
+
interf prep <subcommand> Manage preparations on the connected instance
|
|
28
|
+
interf login Set the active Interf instance connection (URL + optional bearer token)
|
|
29
|
+
interf logout Clear the active Interf instance connection
|
|
23
30
|
|
|
24
31
|
Options:
|
|
25
32
|
--help Show help [boolean]
|
|
26
33
|
--version Show version number [boolean]
|
|
34
|
+
--url Override the active connection URL [string]
|
|
35
|
+
--token Override the active bearer token [string]
|
|
27
36
|
```
|
|
28
37
|
|
|
29
|
-
## interf
|
|
38
|
+
## interf web
|
|
30
39
|
|
|
31
40
|
```text
|
|
32
|
-
interf
|
|
41
|
+
interf web [subcommand]
|
|
33
42
|
|
|
34
|
-
|
|
43
|
+
Start / stop / inspect the Interf engine
|
|
44
|
+
|
|
45
|
+
Commands:
|
|
46
|
+
interf web stop Stop the connected engine
|
|
47
|
+
interf web status Show engine status via the connected URL
|
|
48
|
+
interf web Start the engine in the foreground (default) [default]
|
|
35
49
|
|
|
36
50
|
Options:
|
|
37
51
|
--help Show help [boolean]
|
|
38
52
|
--version Show version number [boolean]
|
|
53
|
+
--host Host to bind [string] [default: "127.0.0.1"]
|
|
54
|
+
--port Port to bind [number] [default: 4873]
|
|
39
55
|
```
|
|
40
56
|
|
|
41
|
-
## interf
|
|
57
|
+
## interf prep
|
|
42
58
|
|
|
43
59
|
```text
|
|
44
|
-
interf
|
|
60
|
+
interf prep <subcommand>
|
|
45
61
|
|
|
46
|
-
|
|
62
|
+
Manage preparations on the connected instance
|
|
47
63
|
|
|
48
|
-
|
|
49
|
-
|
|
64
|
+
Commands:
|
|
65
|
+
interf prep ls List preparations
|
|
66
|
+
interf prep create <prep-id> Create a preparation (method binding optional — set later if you don't have one yet)
|
|
67
|
+
interf prep set-method <prep-id> <method-id> Bind a method to a preparation (or change which method it uses)
|
|
68
|
+
interf prep show <prep-id> Show a preparation's full record
|
|
69
|
+
interf prep rm <prep-id> Delete a preparation
|
|
50
70
|
|
|
51
71
|
Options:
|
|
52
72
|
--help Show help [boolean]
|
|
53
73
|
--version Show version number [boolean]
|
|
74
|
+
--url Override the active connection URL [string]
|
|
75
|
+
--token Override the active bearer token [string]
|
|
54
76
|
```
|
|
55
77
|
|
|
56
78
|
## interf compile
|
|
57
79
|
|
|
58
80
|
```text
|
|
59
|
-
interf compile
|
|
81
|
+
interf compile <prep-id>
|
|
60
82
|
|
|
61
|
-
|
|
83
|
+
Start a compile run for a preparation
|
|
84
|
+
|
|
85
|
+
Positionals:
|
|
86
|
+
prep-id Preparation id [string] [required]
|
|
62
87
|
|
|
63
88
|
Options:
|
|
64
|
-
--help
|
|
65
|
-
--version
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
|
|
69
|
-
--
|
|
70
|
-
|
|
71
|
-
--keep-stage-shells Keep every executed stage shell under .interf/runtime/execution-shells for review instead of pruning successful shells
|
|
72
|
-
[boolean] [default: false]
|
|
89
|
+
--help Show help [boolean]
|
|
90
|
+
--version Show version number [boolean]
|
|
91
|
+
--watch Stream run events [boolean] [default: false]
|
|
92
|
+
--quiet Print only the portable-context locator on success [boolean] [default: false]
|
|
93
|
+
--idempotency-key Client-supplied dedupe key [string]
|
|
94
|
+
--url Override the active connection URL [string]
|
|
95
|
+
--token Override the active bearer token [string]
|
|
73
96
|
```
|
|
74
97
|
|
|
75
|
-
## interf
|
|
98
|
+
## interf verify
|
|
76
99
|
|
|
77
100
|
```text
|
|
78
|
-
interf
|
|
101
|
+
interf verify <prep-id>
|
|
102
|
+
|
|
103
|
+
Verify a preparation's claim-checks against its portable context
|
|
79
104
|
|
|
80
|
-
|
|
105
|
+
Positionals:
|
|
106
|
+
prep-id Preparation id [string] [required]
|
|
81
107
|
|
|
82
108
|
Options:
|
|
83
|
-
--help
|
|
84
|
-
--version
|
|
85
|
-
--
|
|
86
|
-
--
|
|
87
|
-
[choices: "both", "source-files", "portable-context"]
|
|
109
|
+
--help Show help [boolean]
|
|
110
|
+
--version Show version number [boolean]
|
|
111
|
+
--url Override the active connection URL [string]
|
|
112
|
+
--token Override the active bearer token [string]
|
|
88
113
|
```
|
|
89
114
|
|
|
90
|
-
## interf
|
|
115
|
+
## interf method
|
|
91
116
|
|
|
92
117
|
```text
|
|
93
|
-
interf
|
|
118
|
+
interf method <subcommand>
|
|
119
|
+
|
|
120
|
+
Manage methods on the connected instance
|
|
94
121
|
|
|
95
|
-
|
|
122
|
+
Commands:
|
|
123
|
+
interf method ls List methods on the instance
|
|
124
|
+
interf method install <path> Install a method package from a local folder
|
|
125
|
+
interf method draft <prep-id> Start a method-authoring run for a preparation
|
|
126
|
+
interf method improve <prep-id> Start a method-improvement run for a preparation
|
|
96
127
|
|
|
97
128
|
Options:
|
|
98
|
-
--help
|
|
99
|
-
--version
|
|
100
|
-
--
|
|
101
|
-
--
|
|
102
|
-
--control-path Folder where Interf stores local config, Methods, runs, and portable context [string]
|
|
103
|
-
--source-folder Source Folder to prepare when initializing a new Interf Workspace [string]
|
|
129
|
+
--help Show help [boolean]
|
|
130
|
+
--version Show version number [boolean]
|
|
131
|
+
--url Override the active connection URL [string]
|
|
132
|
+
--token Override the active bearer token [string]
|
|
104
133
|
```
|
|
105
134
|
|
|
106
|
-
## interf
|
|
135
|
+
## interf runs
|
|
107
136
|
|
|
108
137
|
```text
|
|
109
|
-
interf
|
|
138
|
+
interf runs <subcommand>
|
|
110
139
|
|
|
111
|
-
|
|
140
|
+
Inspect runs on the connected instance
|
|
141
|
+
|
|
142
|
+
Commands:
|
|
143
|
+
interf runs ls List runs (optionally filtered by preparation)
|
|
144
|
+
interf runs status <run-id> Show full record for a run
|
|
145
|
+
interf runs cancel <run-id> Cancel a running run
|
|
146
|
+
interf runs fetch <run-id> Download a run's portable context
|
|
112
147
|
|
|
113
148
|
Options:
|
|
114
149
|
--help Show help [boolean]
|
|
115
150
|
--version Show version number [boolean]
|
|
116
|
-
--
|
|
117
|
-
--
|
|
151
|
+
--url Override the active connection URL [string]
|
|
152
|
+
--token Override the active bearer token [string]
|
|
118
153
|
```
|
|
119
154
|
|
|
120
|
-
## interf
|
|
155
|
+
## interf runs fetch
|
|
121
156
|
|
|
122
157
|
```text
|
|
123
|
-
interf
|
|
158
|
+
interf runs fetch <run-id>
|
|
124
159
|
|
|
125
|
-
|
|
160
|
+
Download a run's portable context
|
|
161
|
+
|
|
162
|
+
Positionals:
|
|
163
|
+
run-id Run id [string] [required]
|
|
126
164
|
|
|
127
165
|
Options:
|
|
128
166
|
--help Show help [boolean]
|
|
129
167
|
--version Show version number [boolean]
|
|
168
|
+
--url Override the active connection URL [string]
|
|
169
|
+
--token Override the active bearer token [string]
|
|
170
|
+
--to Target path [string] [required]
|
|
130
171
|
```
|
|
131
172
|
|
|
132
173
|
## interf status
|
|
@@ -134,43 +175,69 @@ Options:
|
|
|
134
175
|
```text
|
|
135
176
|
interf status
|
|
136
177
|
|
|
137
|
-
Show
|
|
178
|
+
Show connection + preparation summary
|
|
138
179
|
|
|
139
180
|
Options:
|
|
140
181
|
--help Show help [boolean]
|
|
141
182
|
--version Show version number [boolean]
|
|
142
|
-
--
|
|
183
|
+
--url Override the active connection URL [string]
|
|
184
|
+
--token Override the active bearer token [string]
|
|
143
185
|
```
|
|
144
186
|
|
|
145
|
-
## interf
|
|
187
|
+
## interf login
|
|
146
188
|
|
|
147
189
|
```text
|
|
148
|
-
interf
|
|
190
|
+
interf login
|
|
149
191
|
|
|
150
|
-
|
|
192
|
+
Set the active Interf instance connection (URL + optional bearer token)
|
|
151
193
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
194
|
+
Options:
|
|
195
|
+
--help Show help [boolean]
|
|
196
|
+
--version Show version number [boolean]
|
|
197
|
+
--url Engine URL, e.g. https://api.interf.cloud or http://127.0.0.1:4873 [string] [required]
|
|
198
|
+
--token Bearer token for non-loopback connections [string]
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
## interf logout
|
|
202
|
+
|
|
203
|
+
```text
|
|
204
|
+
interf logout
|
|
205
|
+
|
|
206
|
+
Clear the active Interf instance connection
|
|
155
207
|
|
|
156
208
|
Options:
|
|
157
209
|
--help Show help [boolean]
|
|
158
210
|
--version Show version number [boolean]
|
|
159
|
-
--path Path to a Method package when using `verify method` [string]
|
|
160
|
-
--json Print JSON output [boolean] [default: false]
|
|
161
211
|
```
|
|
162
212
|
|
|
163
213
|
## interf reset
|
|
164
214
|
|
|
165
215
|
```text
|
|
166
|
-
interf reset <
|
|
216
|
+
interf reset <prep-id>
|
|
167
217
|
|
|
168
|
-
Reset
|
|
218
|
+
Reset a preparation's compile output
|
|
169
219
|
|
|
170
220
|
Positionals:
|
|
171
|
-
|
|
221
|
+
prep-id Preparation id [string] [required]
|
|
172
222
|
|
|
173
223
|
Options:
|
|
174
224
|
--help Show help [boolean]
|
|
175
225
|
--version Show version number [boolean]
|
|
226
|
+
--mode Scope of the reset [string] [choices: "compile", "all"] [default: "compile"]
|
|
227
|
+
--url Override the active connection URL [string]
|
|
228
|
+
--token Override the active bearer token [string]
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
## interf doctor
|
|
232
|
+
|
|
233
|
+
```text
|
|
234
|
+
interf doctor
|
|
235
|
+
|
|
236
|
+
Check local executor configuration before a real local run
|
|
237
|
+
|
|
238
|
+
Options:
|
|
239
|
+
--help Show help [boolean]
|
|
240
|
+
--version Show version number [boolean]
|
|
241
|
+
--live Run a real executor preflight against the configured local agent [boolean] [default: false]
|
|
242
|
+
--json Print machine-readable doctor output [boolean] [default: false]
|
|
176
243
|
```
|
|
@@ -5,11 +5,10 @@ Built-in file-processing Method: summarize source-grounded evidence, structure c
|
|
|
5
5
|
## Purpose
|
|
6
6
|
|
|
7
7
|
- General portable-context Method for agent use
|
|
8
|
-
- Compile mixed
|
|
8
|
+
- 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
9
|
|
|
10
10
|
## Zones
|
|
11
11
|
|
|
12
|
-
- `raw` — input directory at `raw`
|
|
13
12
|
- `summaries` — working directory at `summaries`
|
|
14
13
|
- `knowledge-entities` — output directory at `knowledge/entities`
|
|
15
14
|
- `knowledge-claims` — output directory at `knowledge/claims`
|
|
@@ -19,9 +18,9 @@ Built-in file-processing Method: summarize source-grounded evidence, structure c
|
|
|
19
18
|
|
|
20
19
|
## Stages
|
|
21
20
|
|
|
22
|
-
- `summarize` — Turn source files into per-file summaries. (compiled-file-evidence; reads:
|
|
21
|
+
- `summarize` — Turn source files into per-file summaries. (compiled-file-evidence; reads: runtime; writes: summaries)
|
|
23
22
|
- `structure` — Build the cross-file knowledge structure from the summaries. (compiled-knowledge-structure; reads: summaries, runtime; writes: knowledge-entities, knowledge-claims, knowledge-indexes)
|
|
24
|
-
- `shape` — Shape the final portable context around the saved task focus and readiness checks. (compiled-query-shape; reads:
|
|
23
|
+
- `shape` — Shape the final portable context around the saved task focus and readiness checks. (compiled-query-shape; reads: summaries, knowledge-entities, knowledge-claims, knowledge-indexes, runtime; writes: knowledge-indexes, home)
|
|
25
24
|
|
|
26
25
|
## Why `home.md` exists here
|
|
27
26
|
|
|
@@ -25,7 +25,7 @@ Contract type: `compiled-query-shape`
|
|
|
25
25
|
- Use the saved task focus and readiness checks to bias the final portable context toward the job it should be especially good at.
|
|
26
26
|
- Do not copy expected answers into the final portable context just because the checks imply them.
|
|
27
27
|
- Prefer the saved summary evidence and structured notes when they already preserve the bounded chart/table reads plus provenance you need.
|
|
28
|
-
- Reopen
|
|
29
|
-
- If a saved readiness check depends on chart-derived or table-derived values, carry the final bounded reads forward into focused notes with provenance instead of repeatedly recomputing them from
|
|
28
|
+
- 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.
|
|
29
|
+
- If a saved readiness check depends on chart-derived or table-derived values, carry the final bounded reads forward into focused notes with provenance instead of repeatedly recomputing them from source files.
|
|
30
30
|
- Prefer better routing, prioritization, and focused navigation over speculative synthesis.
|
|
31
31
|
- Any wikilinks you add to `home.md` or indexes must resolve to real compiled note basenames or explicit relative paths.
|
|
@@ -10,7 +10,7 @@ Contract type: `compiled-file-evidence`
|
|
|
10
10
|
- Required opening shape:
|
|
11
11
|
- `---`
|
|
12
12
|
- `{`
|
|
13
|
-
- ` "source": "
|
|
13
|
+
- ` "source": "example.md",`
|
|
14
14
|
- ` "source_kind": "markdown",`
|
|
15
15
|
- ` "evidence_tier": "primary",`
|
|
16
16
|
- ` "truth_mode": "source-grounded",`
|
|
@@ -29,6 +29,7 @@ Contract type: `compiled-file-evidence`
|
|
|
29
29
|
## Notes
|
|
30
30
|
|
|
31
31
|
- Favor conservative, source-grounded summaries that preserve evidence tiers and leave broader synthesis for later stages.
|
|
32
|
+
- Read `runtime/stage-inputs.json` for the exact source references assigned to this stage.
|
|
32
33
|
- For large reports or decks, capture scope, headline evidence, and chart/table routing in one light pass.
|
|
33
34
|
- As soon as one report summary can state scope, headline metrics, and chart/table routing, stop reading and write the summary batch plus runtime artifacts immediately.
|
|
34
35
|
- Keep scratch extraction commands single-purpose and non-destructive.
|
|
@@ -12,7 +12,7 @@ Default loop:
|
|
|
12
12
|
4. Keep `method.json`, `method.schema.json`, and any changed stage docs aligned.
|
|
13
13
|
|
|
14
14
|
Guardrails:
|
|
15
|
-
- do not edit checks, test specs, or
|
|
15
|
+
- do not edit checks, test specs, or source files
|
|
16
16
|
- do not hardcode expected answers into Method docs
|
|
17
17
|
- keep this package standalone; do not rely on runtime inheritance
|
|
18
18
|
- prefer small, defensible Method changes over random churn
|
|
@@ -7,8 +7,16 @@
|
|
|
7
7
|
},
|
|
8
8
|
"purpose": {
|
|
9
9
|
"label": "Built-in portable-context Method for agent use",
|
|
10
|
-
"task_hint": "Compile mixed
|
|
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."
|
|
11
11
|
},
|
|
12
|
+
"inputs": [
|
|
13
|
+
{
|
|
14
|
+
"id": "source",
|
|
15
|
+
"label": "Source",
|
|
16
|
+
"description": "Source references assigned to each stage by Interf runtime.",
|
|
17
|
+
"required": true
|
|
18
|
+
}
|
|
19
|
+
],
|
|
12
20
|
"label": "Built-in Interf Method",
|
|
13
21
|
"hint": "Built-in file-processing Method: summarize source-grounded evidence, structure cross-file connections, and shape portable context around the saved readiness checks.",
|
|
14
22
|
"stages": [
|
|
@@ -19,7 +27,6 @@
|
|
|
19
27
|
"contract_type": "compiled-file-evidence",
|
|
20
28
|
"skill_dir": "summarize",
|
|
21
29
|
"reads": [
|
|
22
|
-
"raw",
|
|
23
30
|
"runtime"
|
|
24
31
|
],
|
|
25
32
|
"writes": [
|
|
@@ -86,7 +93,6 @@
|
|
|
86
93
|
"contract_type": "compiled-query-shape",
|
|
87
94
|
"skill_dir": "shape",
|
|
88
95
|
"reads": [
|
|
89
|
-
"raw",
|
|
90
96
|
"summaries",
|
|
91
97
|
"knowledge-entities",
|
|
92
98
|
"knowledge-claims",
|
|
@@ -137,7 +143,7 @@
|
|
|
137
143
|
"shape": [
|
|
138
144
|
"Use the saved task focus and readiness checks to bias the final portable context toward the job it should be especially good at.",
|
|
139
145
|
"Do not copy expected answers into the final portable context just because the checks imply them.",
|
|
140
|
-
"If a saved readiness check depends on chart-derived or table-derived values, verify the needed evidence
|
|
146
|
+
"If a saved readiness check depends on chart-derived or table-derived values, verify the needed evidence through source references while shaping and write focused notes that preserve bounded values plus provenance.",
|
|
141
147
|
"Prefer better routing, prioritization, and focused navigation over speculative synthesis.",
|
|
142
148
|
"Any wikilinks you add to `home.md` or indexes must resolve to real compiled note basenames or explicit relative paths."
|
|
143
149
|
]
|
|
@@ -4,15 +4,6 @@
|
|
|
4
4
|
"target_type": "compiled",
|
|
5
5
|
"label": "Interf built-in Method schema",
|
|
6
6
|
"zones": [
|
|
7
|
-
{
|
|
8
|
-
"id": "raw",
|
|
9
|
-
"role": "input",
|
|
10
|
-
"path": "raw",
|
|
11
|
-
"kind": "directory",
|
|
12
|
-
"required": true,
|
|
13
|
-
"owned_by": [],
|
|
14
|
-
"description": "Preparation-local raw snapshot copied from the source folder for direct evidence and verification."
|
|
15
|
-
},
|
|
16
7
|
{
|
|
17
8
|
"id": "summaries",
|
|
18
9
|
"role": "working",
|
|
@@ -4,15 +4,15 @@ This file is the editable authoring source for the generated native local `inter
|
|
|
4
4
|
|
|
5
5
|
Default loop:
|
|
6
6
|
1. Read `home.md` first.
|
|
7
|
-
2. Browse `knowledge/` before
|
|
7
|
+
2. Browse `knowledge/` before source re-checks.
|
|
8
8
|
3. Use `summaries/` for source-grounded evidence.
|
|
9
|
-
4. Use `
|
|
9
|
+
4. Use `.interf/runtime/source-snapshot.json` for direct quotes, verification, exact table lookups, and chart-derived values.
|
|
10
10
|
|
|
11
11
|
Answering rule:
|
|
12
|
-
- do not modify files
|
|
12
|
+
- do not modify source files while answering
|
|
13
13
|
- when a number is chart-derived, say that explicitly
|
|
14
14
|
- if the compiled layer already contains a bounded chart-derived read for the exact metric and year the user asked about, answer from that compiled read first
|
|
15
|
-
- use
|
|
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
16
|
- when the compiled layer preserves a bounded chart-derived range, keep that bounded range in the answer instead of collapsing it to a midpoint or pseudo-exact single value
|
|
17
17
|
- match the granularity of the visible axis labels or bands and do not invent finer precision than the chart supports
|
|
18
18
|
- when reading charts, verify you are on the correct metric family and year before answering
|
|
@@ -23,6 +23,6 @@ Answering rule:
|
|
|
23
23
|
- if a mark touches or nearly touches a labeled gridline, anchor the answer at that gridline or the immediately adjacent half-band.
|
|
24
24
|
- do not widen a chart-derived range across multiple visible bands unless the chart genuinely supports that uncertainty.
|
|
25
25
|
- if multiple compiled notes mention the same chart read, keep the answer consistent with the most focused compiled note rather than synthesizing a new midpoint or shifted band
|
|
26
|
-
- when the compiled layer is insufficient, verify
|
|
26
|
+
- when the compiled layer is insufficient, verify against source references and then answer
|
|
27
27
|
|
|
28
28
|
You can edit this file to bias manual question-answering behavior for this portable context.
|