Plan to replace duplicated library documentation with upstream links
This commit is contained in:
@@ -133,14 +133,8 @@ needed later; this upgrade does not need additional inspection commands.
|
|||||||
Adopt `LoadSecretsIntoEnvironmentFromConfig` in the common configuration
|
Adopt `LoadSecretsIntoEnvironmentFromConfig` in the common configuration
|
||||||
acquisition path, before the shared `LoadLayered` call and before concurrent
|
acquisition path, before the shared `LoadLayered` call and before concurrent
|
||||||
model work. This is an agreed adoption choice for consistency with other
|
model work. This is an agreed adoption choice for consistency with other
|
||||||
ConfigKit consumers. Operators opt into directory loading through the native
|
ConfigKit consumers. Use its native main-document controls as defined in the
|
||||||
main-document controls:
|
[upstream bootstrap contract](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md#explicit-secrets-directory-bootstrap).
|
||||||
|
|
||||||
```yaml
|
|
||||||
config:
|
|
||||||
secrets_dir: secrets
|
|
||||||
secrets_overwrite: false
|
|
||||||
```
|
|
||||||
|
|
||||||
Pass the selected host `File` or `SearchConfig` source to the helper, then use
|
Pass the selected host `File` or `SearchConfig` source to the helper, then use
|
||||||
its returned prepared source as the layered load's main input. Reuse that
|
its returned prepared source as the layered load's main input. Reuse that
|
||||||
@@ -149,14 +143,10 @@ the file. Engine construction consumes the completed result without repeating
|
|||||||
bootstrap. Missing optional discovery and configurations without `secrets_dir`
|
bootstrap. Missing optional discovery and configurations without `secrets_dir`
|
||||||
retain the native no-op behavior.
|
retain the native no-op behavior.
|
||||||
|
|
||||||
Use upstream path resolution, eligible-file handling, and overwrite semantics.
|
Use upstream path resolution, eligible-file handling, overwrite semantics, and
|
||||||
The directory is relative to the selected main file within its filesystem root.
|
partial-effect behavior. No additional Audita bootstrap flags or environment
|
||||||
Existing environment values, including empty ones, win by default;
|
precedence rules are needed. Link to the upstream contract for those controls
|
||||||
`secrets_overwrite: true` explicitly enables replacement. Keep these controls
|
and their limits.
|
||||||
at the main document root, as required upstream; imports, companions, and
|
|
||||||
overlays do not own bootstrap policy. No additional Audita bootstrap flags or
|
|
||||||
environment precedence rules are needed. The [upstream bootstrap contract](https://forge.maximumdirect.net/base-layer/configkit/src/tag/v1.4.0/docs/config.md#explicit-secrets-directory-bootstrap)
|
|
||||||
owns the detailed file and resource limits.
|
|
||||||
|
|
||||||
Retain the returned `SecretsReport` even on failure. Use native safe diagnostics
|
Retain the returned `SecretsReport` even on failure. Use native safe diagnostics
|
||||||
and the report's names, paths, and statuses for startup reporting, with routine
|
and the report's names, paths, and statuses for startup reporting, with routine
|
||||||
@@ -171,9 +161,8 @@ Inspection may therefore populate the process environment, while remaining
|
|||||||
independent of provider calls and processing readiness. Independent comparison
|
independent of provider calls and processing readiness. Independent comparison
|
||||||
acquisitions each prepare their selected main, and share the normal process
|
acquisitions each prepare their selected main, and share the normal process
|
||||||
environment; they do not receive isolated credential environments. Document
|
environment; they do not receive isolated credential environments. Document
|
||||||
these startup effects and the fact that bootstrap loads all eligible entries,
|
Audita's startup integration and link upstream for bootstrap behavior and
|
||||||
including names not referenced by Audita or PromptKit. Credential selection
|
credential selection.
|
||||||
after bootstrap continues to belong to PromptKit.
|
|
||||||
|
|
||||||
## PromptKit: Adapt Configuration and Schema Boundaries
|
## PromptKit: Adapt Configuration and Schema Boundaries
|
||||||
|
|
||||||
@@ -231,10 +220,10 @@ own output definition. Keep transient retries and semantic correction repair
|
|||||||
distinct, with their existing operation deadlines and partial-success behavior.
|
distinct, with their existing operation deadlines and partial-success behavior.
|
||||||
Update ordinary and coordinated request construction together.
|
Update ordinary and coordinated request construction together.
|
||||||
|
|
||||||
Native schema files require an applicable source context or explicit root and
|
Link to the upstream schema reference for external prompt definitions and file
|
||||||
self-contained references. Document these upstream rules for external prompt
|
resolution. Audita's documentation should identify its shipped schema selection
|
||||||
files. Do not add another schema resolver or introduce broader schema
|
and domain requirements. Do not add another schema resolver or introduce
|
||||||
prohibitions in Audita.
|
broader schema prohibitions in Audita.
|
||||||
|
|
||||||
### Providers and execution evidence
|
### Providers and execution evidence
|
||||||
|
|
||||||
@@ -289,6 +278,52 @@ annotated YAML evidence; machine consumers should request `--format yaml` or
|
|||||||
usage, and smoke reports do not gain a cost field. Update affected examples and
|
usage, and smoke reports do not gain a cost field. Update affected examples and
|
||||||
tests without promising historical incidental formatting.
|
tests without promising historical incidental formatting.
|
||||||
|
|
||||||
|
## Documentation Ownership and Consolidation
|
||||||
|
|
||||||
|
**Agreed documentation direction:** Audita identifies the ConfigKit, PromptKit,
|
||||||
|
and CommandKit libraries it imports and links to their canonical upstream
|
||||||
|
documentation. Upstream owns descriptions of its features, configuration
|
||||||
|
fields, defaults, algorithms, CLI grammar, output formats, and API behavior.
|
||||||
|
Replace local explanations of adopted library features with those links.
|
||||||
|
|
||||||
|
Keep Audita's selected integration and application-owned behavior local:
|
||||||
|
configuration discovery and companion locations chosen by Audita, input mounts,
|
||||||
|
role/profile mappings, explicit processing budgets, domain response schemas,
|
||||||
|
failure classification, transcript/report handling, and application migration
|
||||||
|
steps. A concise integration statement should explain where the adopted library
|
||||||
|
fits and link upstream for its behavior. Planning documents may identify APIs
|
||||||
|
and migration constraints needed to explain the proposed work; those details
|
||||||
|
should not grow into a parallel library reference in the published documentation.
|
||||||
|
|
||||||
|
Align the documentation during this upgrade, including existing duplication:
|
||||||
|
|
||||||
|
| Affected material | Required alignment |
|
||||||
|
| --- | --- |
|
||||||
|
| [Documentation policy](../policy/documentation.md) | Record this application-specific ownership clarification for adopted libraries, retaining the general allocation of Audita's documentation topics. |
|
||||||
|
| [Configuration](../config.md) | Retain Audita's schema, source selection, companion mounts, role settings, and overrides. Link to ConfigKit for composition and secrets controls, and to PromptKit for its settings and resource formats; avoid reproducing their field/default references. |
|
||||||
|
| [CLI](../cli.md) | Identify the installed CommandKit integrations and link to the upstream command reference. Describe Audita's `process` command and application-specific stream/exit mapping locally. Introduce native usage reporting by availability and an upstream link, without a local reference for its flags, report layout, or formatting rules. |
|
||||||
|
| [LLM integration](../integrations/openai-compatible-llm.md) | Reduce the document to Audita's adapter boundary, role/schema/budget choices, and mapping of model failures into processing outcomes. Link upstream for transport, provider conventions, credentials, retry/repair mechanics, admission, and token/cost semantics. |
|
||||||
|
| [Operations](../operations.md) and [subprocess integration](../integrations/subprocess.md) | Describe when Audita invokes secrets bootstrap and how startup failure affects processing/output preparation. Link to ConfigKit for bootstrap behavior and to CommandKit for native diagnostic reporting; retain Audita-owned output lifecycle and subprocess handling. |
|
||||||
|
| [LLM runtime](../internal/llm-runtime.md), [prompt registry](../internal/prompts.md), [diagnostics internals](../internal/diagnostics-reporting.md), and [CLI/configuration recipes](../internal/cli-config.md) | Retain Audita's component wiring, call sites, domain attribution, and change recipes. Replace standalone explanations of upstream loading, coordination, observation, schema resolution, and metrics with focused upstream links. |
|
||||||
|
| [Maintained examples](../../examples/README.md) and [migration guides](../migrations/) | Keep minimal runnable Audita projects, application-specific prompt inputs, and actual Audita conversion steps. Link upstream for general library tutorials and native command syntax rather than expanding local walkthroughs into library manuals. |
|
||||||
|
|
||||||
|
Use links to canonical documentation for the selected upstream releases, using
|
||||||
|
the release identities recorded above. Refresh outdated upstream references as
|
||||||
|
part of current guidance; migration guides should link to the source or target
|
||||||
|
release appropriate to the conversion they describe. Link to the owning topic
|
||||||
|
or section, rather than copying the upstream reference into another local page.
|
||||||
|
Preserve immutable release records and accepted ADR decisions; this work
|
||||||
|
concerns maintained documentation. Keep attribution notices in their existing
|
||||||
|
canonical location.
|
||||||
|
|
||||||
|
Completion requires the adopted libraries to be discoverable through brief
|
||||||
|
adoption statements and canonical upstream links. Apply that approach to the
|
||||||
|
new secrets, schema, provider, and token/cost capabilities rather than adding
|
||||||
|
local feature references. Review the affected documents for duplicated library
|
||||||
|
explanations while checking that Audita-specific choices and workflows remain
|
||||||
|
understandable. No new library reference pages or recurring documentation gates
|
||||||
|
are needed.
|
||||||
|
|
||||||
## Work and Validation
|
## Work and Validation
|
||||||
|
|
||||||
The implementation should cover the following outcomes:
|
The implementation should cover the following outcomes:
|
||||||
@@ -305,9 +340,10 @@ The implementation should cover the following outcomes:
|
|||||||
- Adopt native usage reporting and retain useful new metadata in optional debug
|
- Adopt native usage reporting and retain useful new metadata in optional debug
|
||||||
evidence. Preserve cancellation causes, recoverable timeouts, and joined work.
|
evidence. Preserve cancellation causes, recoverable timeouts, and joined work.
|
||||||
- Update canonical configuration, CLI, operations, LLM integration, and internal
|
- Update canonical configuration, CLI, operations, LLM integration, and internal
|
||||||
documentation plus maintained examples. Review old source paths, upstream
|
documentation plus maintained examples under the ownership and consolidation
|
||||||
links, and scripts consuming native reports. Add migration guidance for any
|
direction above. Replace duplicated library guidance with canonical upstream
|
||||||
actual input or inspection changes.
|
links. Review old source paths and scripts consuming native reports, and add
|
||||||
|
migration guidance for actual Audita input or inspection changes.
|
||||||
- Update the five attribution entries and commit-pinned notice/source links.
|
- Update the five attribution entries and commit-pinned notice/source links.
|
||||||
The reviewed target `COPYRIGHT` and `LICENSE` files are unchanged from the
|
The reviewed target `COPYRIGHT` and `LICENSE` files are unchanged from the
|
||||||
selected releases, and all five remain `LGPL-3.0-or-later`. Reuse applicable
|
selected releases, and all five remain `LGPL-3.0-or-later`. Reuse applicable
|
||||||
|
|||||||
Reference in New Issue
Block a user