Skip to main content

Contract/source/docs/test coverage

Advanced index · Tutor contract · Public host capabilities · Public tool bridge · runtime diagnostics lesson

This matrix inventories the ordinary third-party mod surface documented by Tutor today. It deliberately excludes privileged context.modManagement and context.processExecution, except for boundary notes. “Current-Core verification” means exactly what test/core-contract.test.mjs and test/native-core-contract.test.mjs execute against the sibling Burrow-Backend checkout—not what activation makes theoretically callable.

Legend:

  • invoked: the current-Core integration test executes the behavior;
  • activation only: current Core discovers/registers the surface, but the capability itself is not exercised;
  • not exercised: no current-Core integration assertion for that behavior;
  • docs only in Tutor: Core exposes/documents the surface, but Tutor has no runnable example (not a claim that Core lacks implementation).

Historical reviewed source baseline​

Reviewed on 22 October 2026 against Tutor source 23afbd0 and its version-only successor e95fe672 (2026.10.22.2), with Core source 3304e633. Core evidence includes docs/mod-host-capabilities.md, docs/mod-agent-tools.md, docs/runtime-mod-diagnostics.md, docs/git-managed-skills.md, docs/api.md, and the corresponding host/capability/UI implementations. Source identifiers record what was reviewed; they are not an install tag or compatibility promise. Public snapshots follow the daily sync described on the Tutor home page.

Current source reconciliation​

On 25 October 2026, all Beginner and Advanced pages were reviewed against Tutor 9679fc4fe9ccd532142b84b0257d290ae8d9eec3 (2026.10.25) and Core 3bf50374d3601c821e787912d52b9044eaf649ec. The new external-turn and durable-generation rows describe assertions present in checked-in test source, not tests rerun in this documentation pass. The older execution receipt above remains historical. Tutor does not demonstrate newer Core turn-cancellation/session-control capabilities.

Package, host, storage, and tools​

Ordinary surfaceAuthoritative contractRunnable Tutor exampleAdvanced lessonFixture/unit testCurrent-Core verification
Package discovery, ordinary manifest, safe server/UI pathsTutor package contract; Core host trust/lifecycle sectioninstalled Beginner burrow.mod.json; standalone Advanced server/advanced/index.example.mjsLifecycletest/server.test.mjs, test/ui.test.mjsInvoked: the Beginner package is copied into a runtime root, discovered, and its Control/Settings slots asserted. The Advanced entrypoint is hosted separately in current-Core tests. Install/update/enable/disable/uninstall are not executed.
Manifest managedSkills contributionmanaged-skills guideDocs only in Tutor: the manifest declares none and there is no bundled skill packageLifecycleNoneNot exercised. Current Core implements validation/reconciliation, but Tutor does not verify enabled-only global publication, periodic sync, conflicts, failure retention, or disable/uninstall removal.
activate(context), registration, cleanup/close()Tutor activation contractBeginner server/index.mjs; Advanced server/advanced/index.example.mjsLifecycleBeginner server tests and Advanced capability tests assert registration/cleanupInvoked: current Core hosts and closes both entrypoints separately. Cleanup side effects beyond protected-map clearing/logs are not asserted.
context.idTutor activation contractidentity route, Forge ownership, mod-data pathAgents/operator, Persistent dataadvanced and Forge tests use fixed installed IDInvoked: the advanced identity route returns the trusted installed ID through the current forked host.
JSON context.api methods, params/query, response envelopes, trusted request.authTutor JSON routes; tool bridge HTTP authserver/index.mjs, server/advanced/*.mjs, server/forge-images.mjsall route-backed lessons; Lifecycleserver, advanced, Forge tests cover validation/auth with fixturesInvoked: current Core invokes beginner, Forge, and advanced routes including query/body/path-param flows. Negative advanced auth remains fixture-tested.
Mod-scoped JSON settings get/set/deleteTutor settings contract; host generic-capability prefaceserver/index.mjs, Forge receipt/settings flowForge, Persistent data comparisonserver and Forge tests; memory store in Core testInvoked: Forge integration persists enablement, intent, receipt and survives host reload using current host/store RPC. delete is not exercised.
Mod-scoped encrypted string secrets get/set/has/clearTutor settings contractbeginner configuration and advanced sensitive/protected toolsProtected resultsserver tests cover set/has/clear; advanced fixture covers get during resolutionInvoked through current host/store RPC: hasSecret, getSecret, and managed resolution are exercised. The fixture seeds its secret directly; setSecret is not exercised through Core RPC. The integration store is in-memory, not encrypted PostgreSQL.
context.logger.debug/info/warn/errorTutor activation contextactivation/cleanup logs in server/index.mjsLifecycletest/server.test.mjs asserts info callsActivation only: Core receives activation log, but integration does not assert logging or all levels.
Tool registration and grant-required use; trusted caller/schema/cancellationPublic tool bridge; Tutor toolsreference_greet in server/index.mjsProtected resultstest/server.test.mjs validates arguments/cancellationInvoked: current host registers and directly invokes reference_greet. MCP discovery/grant review/execution, cancellation, disable, CLI absence, and uninstall cascade are not exercised.
availability: 'mod-authorized'Public tool bridgereference_self_diagnosticsDiagnostics, Protected resultsadvanced test asserts availability and self-scoped schemaActivation only: registration asserted; product discovery filtering/grant independence/denial are not run.
Ordinary $burrowSensitive protected leafPublic tool bridge, sensitive leavesreference_sensitive_secret in server/advanced/diagnostics-tools.mjsProtected resultsadvanced test asserts the exact declarationInvoked through the current forked host: the raw declaration reaches Core's host boundary. The outer MCP publication/protected registry and one-turn protected:// consumption are not exercised.
Managed $burrowManaged result and resolveProtectedReferencePublic managed protected resultsreference_protected_secret in server/advanced/diagnostics-tools.mjsProtected resultsadvanced test covers hidden value, caller/version bind, one-use denialInvoked through the current forked host: declaration and exact caller/version resolver path are exercised. Outer protected:// registry, shell_exec.protectedBindings, grants, expiry/revocation, disable/reload are not.
Opt-in context.diagnostics.register list/detailPublic opt-in diagnosticsscheduler projection in server/advanced/diagnostics-tools.mjsDiagnosticsadvanced test calls adapter list; detail mapping exists but missing/not-found behavior is not testedActivation only: the adapter is registered while the host activates; the integration does not assert the support flag or invoke the adapter. Dedicated bearer endpoints, projection, pagination, unsupported/unavailable/error states and /pending are not invoked.
Mod-owned persistent files under mods/mod-data/<id>Public persistent filesserver/advanced/persistent-data.mjsPersistent dataadvanced test writes/reads temp runtime root and checks exact pathActivation only: routes register; current-Core test does not write files or test update/uninstall retention.

Generic read/model capabilities​

Ordinary surfaceAuthoritative contractRunnable Tutor exampleAdvanced lessonFixture/unit testCurrent-Core verification
agents.list()Public generic capabilitiesGET /advanced/identityAgents/operatoradvanced test exercises fixture responseInvoked through current Core: the route uses Core's capability service and fixture agent store. Disabled-agent workspace and failure paths remain focused Core concerns.
operator.displayIdentity()Same Core sectionidentity routeAgents/operatoradvanced fixture asserts {id,name}Invoked through current Core: only {id,name} reaches Tutor; fixture avatar/profile fields are asserted absent. Null-name behavior is not integrated.
operator.timezone()Public generic capabilitiesidentity routeAgents/operator, Scheduleradvanced fixture asserts timezoneInvoked through current Core: the route receives the scheduler store's effective operator timezone.
conversations.list() immutable inventory/cursorsPublic generic capabilitiesGET /advanced/conversationsConversationsadvanced test validates/forwards one fixture pageInvoked through current Core: a real immutable inventory page is returned from fixture stores. Snapshot expiry/capacity, stale/cross-scope cursor and disabled-agent workspace remain focused gaps.
conversations.read() complete paged history, segmentation/gaps, filters, signalSame Core sectionPOST /advanced/conversations/read; direct cancellable snippet in lessonConversationsadvanced test forwards one complete fixture pageInvoked through current Core: a real pager read returns newest-first complete history. Archive/reset reads, byte segmentation/gaps, retention warnings, stale cursor and cancellation remain focused gaps. Tutor's HTTP adapter does not pass a signal.
models.list()Same Core sectionGET /advanced/modelsModelsadvanced fixture asserts safe metadataInvoked through current Core: selected safe model metadata is returned; private provider auth is not exposed. Multi-connection filtering remains a focused Core concern.
models.generateText() isolated generation/options/signalSame Core sectionPOST /advanced/models/generate; direct cancellable snippetModelsadvanced fixture tests consent, exact options, returned textInvoked through current Core: the fixture provider receives effort and temperature through the real adapter; the request supplies maxTokens but does not assert the provider token field, with no tools; only text returns. Cancellation, timeout and four-call concurrency remain gaps.
Four-active-request host concurrency and generic shutdown/timeout errorsSame Core sectionNo dedicated runnable stress example; normal calls throughout sourceLifecycleNoneNot exercised. Documentation-only behavior in Tutor; explicit integration gap.
agents.turns.submit() durable asynchronous admission/idempotent replayPublic generic capabilitiesdisabled-by-default operator POST /advanced/agent-turnsExternal turnsadvanced test covers opt-in, exact payload, retained intent/key, prompt acceptance, replay/conflictInvoked through current Core: the forked host calls the real capability service/dispatcher; queued acceptance returns without terminal wait, enabled-agent validation and mod-scoped idempotency are asserted. No provider is called.
agents.turns.read() same-mod bounded status/resultSame public contract sectionlater GET /advanced/agent-turns/:requestId pollExternal turnsadvanced test polls retained turn IDInvoked through current Core: running/terminal bounded projection, same-mod denial, shutdown interruption and same-key replay are asserted with in-memory durable receipts/executor. PostgreSQL and process-startup reconciliation are not integrated.
models.generations.submit/read durable slow-model jobsSame Core sectionPOST /advanced/models/generations; GET /advanced/models/generations/:jobIdModelsadvanced fixture covers confirmation, stable request key, acceptance and pollingChecked-in Core-host test with a fake generation dispatcher: Tutor route submit/read and returned projection are asserted. This does not exercise the production durable worker, provider latency or restart recovery.

Forge and scheduler​

Ordinary surfaceAuthoritative contractRunnable Tutor exampleAdvanced lessonFixture/unit testCurrent-Core verification
forge.images.status()Public generic Forge contractserver/forge-images.mjsForge map, full lessonForge tests cover route/policy; Core fixture controls statusInvoked: current capability service resolves missing/unavailable/available saved selection using in-memory Forge store. No live provider/PostgreSQL.
forge.images.create() async paid image + idempotent replaySame Core sectiondurable intent/receipt route in server/forge-images.mjsForge, full lessonForge tests cover consent, persistence failures, stable reload retryInvoked: current Core namespacing, one dispatch, concurrent duplicate replay and host-reload retry asserted with in-memory store.
forge.jobs.read() same-mod image and public artifactsSame Core sectionjob read routeForge, full lessonfixture tests read; full projections in Core testInvoked: same/foreign owner, non-image denial, later success/failure, authenticated preview URL and private-field omission asserted. No live artifact storage/download.
Forge non-features: no cancel/download/attachments/provider configSame Core sectionsource intentionally exposes noneForgeCore test verifies disabling product does not cancel/read-block accepted jobPartially invoked: absence of other APIs is structural; provider-side terminal execution is not run.
Scheduler list/read/create/update/delete/runs/triggerPublic scheduled jobsall seven adapters in server/advanced/core-capabilities.mjsScheduleradvanced tests cover list/create pairing/trigger; read/update/delete/runs are registered but minimally or not behavior-testedInvoked through current Core: create defaults disabled; list/read/update/runs/trigger/delete traverse the owner-scoped capability service. Foreign-owner isolation, cursor limits, selected-model rejection, real-store prompt/session/cron validation, and unavailable-owner dispatch remain focused gaps.
Operator-timezone scheduler semantics and legacy timezone ignoreSame Core scheduled-jobs sectionidentity display; scheduler payload intentionally omits timezoneSchedulerNo focused behavior testPartially invoked: timezone is returned by current Core; legacy payload ignoring is documented but not behavior-tested.

Runtime diagnostics operations​

All operations below require an active tool invocation. The common authority is Public host generic diagnostic scope plus the runtime diagnostics lesson.

Operation/surfaceRunnable Tutor exampleLessonFixture/unit testCurrent-Core verification
session bounded tailreference_self_diagnostics enumDiagnosticsfixture forwards operation onlyActivation only; not invoked.
session-contextsameDiagnosticsfixture registration onlyActivation only; not invoked.
context-statussameDiagnosticsadvanced test invokes fixture and forwards caller.signalInvoked through current Core's invocation-scoped diagnostic capability with trusted caller and non-global scope; production status collection is represented by a controlled adapter fixture.
active-runssameDiagnosticsfixture registration onlyActivation only; not invoked.
traces live paginated inventorysame tool; accepts validated session ID, limit, and cursor, but no agent IDDiagnosticsfixture registration onlyActivation only; pagination not invoked.
trace and trace-authority detailreference_self_diagnostics accepts validated runId; only trace accepts includeToolOutputDiagnosticsadvanced test validates and forwards trace detail inputNot invoked through production diagnostics. Registration and generic current-Core diagnostic RPC are covered.
Trusted self scope, diagnosticAgentIds cross-agent/global scope, invocation-only admissionself-scoped tool accepts no target agent IDDiagnosticstest rejects extra forged target before fixture callActivation only. Core denial/global policy/detached call are not tested.
Runtime diagnostic cancellationtool passes caller.signalDiagnostics, Lifecyclefixture asserts signal object forwarding but does not abortNot exercised.

UI contributions​

Ordinary surfaceAuthoritative contractRunnable Tutor exampleAdvanced lessonFixture/unit testCurrent-Core verification
Control mountControl({modId,root,api}) and cleanupTutor UI contractui/control.jsUI contributionsUI test covers load/refresh/abort/listener cleanupDiscovery only: discovered control UI key asserted; browser module is not imported/mounted by integration.
Settings sections/contribution, imperative mountSettings, primary/scoped APITutor UI contractinstalled Beginner ui/settings.js, manifest contributionUI contributionsUI tests cover known/unknown section, write-only secret, save, errors, cleanupDiscovery only: discovered settings UI key asserted; Core browser host is not mounted. Advanced docs explain optional overflow separately.
Optional UI-host settingsContribution / createSettingsContribution and action handlercurrent Core UI ModSettingsHost; Tutor UI contractstandalone ui/declarative-settings.example.jsUI contributionstest/advanced-ui-contracts.test.mjs loads factory data and action behaviorNot browser-integrated and not yet in Backend's authoritative server-side docs. The example is syntax/unit tested but intentionally not Tutor's active settings module.
Host-owned contributions.apiTargets v1 CRUD and Settings capabilityPublic API contribution contractstandalone server/advanced/api-targets.example.mjs plus documented manifest declarationUI contributionstest/advanced-ui-contracts.test.mjs covers validated GET/POST/PUT/DELETENot activated by Tutor. Tutor is not a remote-target product; current-Core discovery is covered by Core's own contract tests.
Archive mountArchive context, update/remount/cleanup/queryPublic Archive UIstandalone ui/archive.jsUI contributionsUI test covers date in query, render, abort, unmountNot installed/discovered by Beginner. Tutor does not implement date filtering or cursor UI; current Core's Archive contract is authoritative.
Safe DOM/error/late-result cancellation patternsTutor UI contract and Archive contractall three UI modulesUI contributionslightweight fake-DOM testsNot browser-integrated. CSP, module timeout/isolation, real fetch abort and accessibility are not exercised.

Explicit Tutor documentation-only surfaces and real gaps​

These are current documented host surfaces, but there is no runnable Tutor implementation for them today:

  • manifest managedSkills contributions and bundled skill packages;
  • mod-owned native identities, owned portraits and activation-time per-turn context providers;
  • imperative Settings form-inventory layout metadata and selectedAgentId remount behavior;
  • full product examples for Settings host arguments runtimeScope, accessApi, refreshAgents, and saveAgentExecutionEnvironment (the standalone declarative factory does demonstrate agents);
  • a dedicated four-concurrent-capability/timeout/shutdown stress example;
  • displayMessage, turn cancellation, and mod-owned session creation/model controls (available in Core, not exposed by Tutor’s lab).

The following have runnable Tutor code but still lack substantive production integration for some layers: diagnostic HTTP adapter endpoints, persistent mod-data through lifecycle update/uninstall, the outer protected-value registry and shell consumption, encrypted PostgreSQL secret storage, and browser UI mounting. Agents/operator, conversations, models, scheduler, invocation-scoped diagnostics, and both protected declaration/resolver forms now cross the current forked host and Core capability service with controlled stores/providers. npm run test:core proving activation/registration must not be reported as behavior verification for those surfaces.

Privileged exclusions​

context.modManagement (mod-management-v1) and context.processExecution (execution-provider-v1) are intentionally absent from all runnable Tutor code and from the ordinary matrix. A regular manifest must not declare systemCapabilities. System classification, installation, MCP grants, diagnostic IDs, or mod-authorized availability do not grant these interfaces.

Run the checks​

npm run build
npm test
npm run test:core

By default test:core resolves the sibling checkout at ../Burrow-Backend; override with BURROW_CORE_ROOT=/absolute/path when needed. Its Forge backend is an in-memory fixture and makes no paid provider call.

Delta review​

On 26 October 2026, a delta review checked Tutor e9805f5a50a49b831dc29a757ae511ef916ded11 (2026.10.25.1) against Core 4df4b424e2b2856cb2c25c8464da7f806eb661e0. Tutor runtime examples are unchanged since the full review. The checked-in Core integration test now releases its deliberately held turn before teardown and expects Core’s default displayMessage metadata. This fixes fixture cleanup/expectations; it is not a new runtime capability or a test pass reported by this documentation review. No application tests were run.

1 November full documentation reconciliation​

All Beginner and Advanced guides were statically compared with Tutor 5933593abf7b496a70c702e751f8c87ccb19889f, current Core contracts and implementation, and checked-in test declarations. Current Core supports external-turn attachments and additional scheduler job kinds that this deliberately narrower lab does not expose. Generic model generation does not expose the independent chat thinking-mode control. No application tests or live providers were run; historical pass receipts remain historical.

3 November host-contract delta review​

Tutor 851ac61b6388104dfa093d6d68c3ad6f1f0ba575 is unchanged since the preceding daily review. A focused static check against Core 32dde3266a231777ddfec6dba141d6b9972a21fd and UI 4a17a8c73c588a7582835ca6ff50dcabe409c33c reconciled the filtered agent picker, owned-agent/context-provider APIs, and imperative Settings layout/selected-agent contract. These additions are documentation-only in Tutor. Existing source annotations and test receipts remain historical; no application, external-chat or live-provider tests were run.

7 November Core-only additions​

Core's durable agent-run completion feed and live activity metadata are documented in Agents and operator. They are not implemented or tested by Tutor's current lab. Scheduler restart/terminal-receipt changes are described in Scheduler; this documentation-only reconciliation did not rerun application or integration tests.

8 November 2026 full documentation reconciliation​

All Beginner and Advanced lessons, the canonical mod contract, runnable examples and test definitions were statically compared. Shared-context registration and current Settings layouts/entity navigation were added as documentation-only host contracts, not implemented Tutor examples. Existing narrower payload adapters, explicit consent, receipt/retry boundaries and historical test coverage remain distinguished from Core support. Reviewed source 93af5ed128f47d7f3259d648773404fb24a7a3d7 against Core assembly 1f77c9d0277585bfe1963ce3ab3d2cdf35f16b9a. No application tests, live chat/provider calls, paid generation, runtime edits or skill scripts were run. Documentation checks are separate from application acceptance.

10 November host-contract delta​

Core's opt-in hidden-identity directory and the main UI panel's query forwarding are documented in Agents and operator and UI contributions. Tutor's identity route still uses default visible discovery. No new Tutor runnable route or browser integration coverage is implied; the Core/UI source and focused test definitions were inspected statically, not executed.

15 November 2026 full documentation reconciliation​

All 20 site lessons were statically reconciled with Tutor e6b21379682d9c3942fa2f978391665bddca07c9, Core 29ca7b6cec378700503a587703adc1d82e9d6f6d and UI 171b19da7ce074fbcb19fa1ed20dfd58e9133cb5. Corrections distinguish PostgreSQL conversation reads and digest-bound continuation from legacy filesystem descriptions; document durable generation and Forge input/output bounds and scheduler byte-limited projections; and distinguish Archive update support from the legacy remount path used by Tutor. The installed example and its narrower adapters remain unchanged. Tutor still has no existing skill package to reconcile. This was static source/test-definition inspection and documentation/reference checking only, not an application test, browser acceptance, provider call or skill-script execution. Earlier execution receipts remain historical.

Native capability lab reconciliation (current working tree)​

The earlier dated reviews above are preserved as history. The following additions were inspected against Core 86d8e47090e0c5d0b973cdde777eafc1682c9c62; execution receipts belong to this change, not the older baseline. See the runnable walkthrough and exact limits. The Beginner package and existing Advanced entrypoint remain unchanged.

SurfaceRunnable sourceTestActual verification and limits
agents.owned.list/create/read/update; capability/visibility flags; agents.list({includeHidden:true})server/advanced/native-agents.example.mjstest/native-core-contract.test.mjsActual Core host/capability validation + registry normalization with controlled stores; regular/foreign denial, unknown flags, forged owner, hidden inventory, partial flag preservation. Not production transactional PostgreSQL selection or runtime tool visibility.
agents.context.register and registerSharedsame standalone serversame actual-Core testPublished real host; owner and ordinary shared resolution, logical session, pre-aborted owner denial and revocation. No prompt rendering, compression, inference, provider replacement/timeout matrix or native tool bridge execution.
Owned referenceImages and forge.references get/put/removesame standalone serversame actual-Core testReal RPC/ownership and upload validator; in-memory portrait CRUD, invalid upload and regular identity denial. No artifact bytes/storage retention, reopening, revision-conditioned generation or paid image request.
agents.runs.onCompleted/list/activitysame standalone serversame actual-Core testActivation catch-up, two pages, serialized duplicate advisory wakes/checkpoint, cancelling and response_pending projection using controlled feed/activity. Production feed store/terminal publication, failure recovery and HTTP finish notification gates not integrated.
Settings settingsSections.layout and setEntitySelectorui/entity-settings.example.jstest/advanced-ui-contracts.test.mjsLightweight module shape/callback/disabled-ID rejection/cleanup; inspected current UI host types. Not browser or Backend integration; selector input uses {id,label}.

Menagerie-specific visit logs and parent-inventory permissions are not part of this generic Core author contract. Session cancellation/model controls remain documented but not exposed by this new lab.