diff --git a/docs/roadmap/upgrade-kit.md b/docs/roadmap/upgrade-kit.md index 519a9149..e696fd83 100644 --- a/docs/roadmap/upgrade-kit.md +++ b/docs/roadmap/upgrade-kit.md @@ -197,17 +197,16 @@ Notarius already loads that underlay, and the complete example's `limited-openrouter` inherits it. Retain that inheritance; an extra local copy of the upstream backend is unnecessary. -Document how independently declared or replaced OpenRouter backends select -`provider: openrouter`. For a vLLM service, show the native `provider: vllm` -choice; otherwise leave generic OpenAI-compatible conventions available. +Link operators to PromptKit's canonical backend documentation for independently +declared or replaced backends, including OpenRouter and vLLM provider selection. +Do not write a Notarius-owned explanation or field reference for these settings. An endpoint override of an inherited backend retains its provider selection, so switching from an OpenRouter parent to a local vLLM endpoint also needs a deliberate provider override. Do not infer conventions from an ID, hostname, model name, or the fact that an endpoint is locally hosted. -Keep `zero_cost` omitted by default. Explain explicit `zero_cost: true` as an -operator-selected fallback for backends they wish to account as zero, not an -assumption that local inference is free. Do not introduce token-rate tables, +Keep `zero_cost` omitted by default; link upstream for its meaning and use. +Do not assume that local inference is free or introduce token-rate tables, estimated charges, billing guarantees, application-side provider parsing, or extra public accounting types. @@ -219,20 +218,36 @@ is part of this upgrade. ### Maintain Canonical Documentation And Notices -Update these owners when the dependency/behavior changes land: +Notarius documentation should state which native libraries and integrations it +imports and link to their canonical upstream documentation. Upstream owns the +explanation of its features, APIs, configuration fields, defaults, flags, +reporting, and authentication semantics. Do not reproduce those references or +write parallel tutorials in Notarius. The release assessment above supplies +upgrade-review context, not material to copy into permanent product docs. -- [CLI reference](../cli.md): native opt-in usage reporting, stream/format/quiet - behavior, and structured smoke-output selection. -- [Configuration](../config.md): provider inheritance/selection, optional zero - fallback, and authentication override semantics, linking native contracts. -- [Operations](../operations.md): interpreting usage/cost and accepted-result - cache hits, with no new output/reporting contract. +Local documentation retains Notarius-specific integration choices, application +behavior, and workflows. Update only the affected content when changes land: + +- [CLI reference](../cli.md): identify the imported CommandKit/ckconfig/ckprompt + interfaces and link to the selected upstream CLI reference, including native + [usage reporting](https://forge.maximumdirect.net/base-layer/commandkit/src/tag/v0.8.0/docs/cli.md#promptkit-usage-reporting). + Keep application-owned commands, aliases, inputs, and completion reports local; + do not add a local usage-flag or smoke-report reference. +- [Configuration](../config.md): retain Notarius's source assembly and embedded + collection choices; link to PromptKit's + [backend definitions](https://forge.maximumdirect.net/base-layer/promptkit/src/tag/v0.25.0/docs/formats.md#backend-definitions) + for provider, zero-cost, and authentication settings instead of explaining them. +- [Operations](../operations.md): retain application-owned accepted-result reuse + and debug handling; link upstream for token/cache/cost interpretation without + adding a reporting contract or duplicating accounting documentation. - [LLM internals](../internal/llm.md), [pipeline internals](../internal/pipeline.md), - and [CLI internals](../internal/cli.md): contextual enrollment and native - feature ownership where the implementation changes. -- [Kit integration documents](../integrations/pkg-commandkit.md): update all - affected kit versions and pinned upstream links, including the separate - PromptKit/ConfigKit integration documents where relevant. + and [CLI internals](../internal/cli.md): update Notarius's contextual enrollment + and integration wiring where implementation changes; link upstream for API + contracts rather than reproducing library behavior. +- [Kit integration documents](../integrations/pkg-commandkit.md): keep concise + adoption/boundary notes and update affected versions and canonical upstream + links, including the separate PromptKit/ConfigKit integration documents where + relevant. Replace affected duplicated library explanations with links. - [Subprocess](../consumers/subprocess.md) and [D&D consumer](../consumers/dnd-pipeline.md) guidance: briefly link opt-in diagnostics while retaining primary stdout parsing and domain artifact retrieval as the consumer contract. @@ -251,6 +266,11 @@ ownership boundaries. Existing architecture wording may need a small factual update from request enrollment to contextual enrollment; accepted ADR bodies remain unchanged. +Documentation acceptance: readers can discover each adopted interface and reach +its selected upstream documentation directly. Local material describes what +Notarius contributes or selects, with no parallel library feature documentation. +This upgrade is not a repository-wide documentation rewrite. + ## Verification And Acceptance Use the real updated kits with fake clients or local HTTP fixtures. Protect