Adopt the upstream dependency documentation policy

This commit is contained in:
2026-11-23 02:05:13 +00:00
parent 11f45c8812
commit 187600eed2
3 changed files with 22 additions and 7 deletions

View File

@@ -4,8 +4,10 @@
Material: All documents under `docs/policy/`, root `AGENTS.md`, and the Policy
Reading Guide in `docs/development.md`, adapted for this repository.
`docs/policy/documentation.md`, `docs/policy/oss.md`, and `docs/policy/release.md`
incorporate revision `593c9b52273c5c879785ae9e995d21026df467b4`.
`docs/policy/documentation.md` incorporates revision
`5b9088601290564647a9e20c13f95c0da9f4cb15`.
`docs/policy/oss.md` and `docs/policy/release.md` incorporate revision
`593c9b52273c5c879785ae9e995d21026df467b4`.
The remaining listed material incorporates revision
`d84a38ebab26f048cafbe59a2246700c35d29843`.
@@ -17,12 +19,16 @@ License and notices: [CC BY-SA 4.0](licenses/CC-BY-SA-4.0.txt) |
[COPYRIGHT](https://gitea.maximumdirect.net/eric/policy/src/commit/d84a38ebab26f048cafbe59a2246700c35d29843/COPYRIGHT) |
[LICENSE](https://gitea.maximumdirect.net/eric/policy/src/commit/d84a38ebab26f048cafbe59a2246700c35d29843/LICENSE) |
[COPYRIGHT](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4/COPYRIGHT) |
[LICENSE](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4/LICENSE).
[LICENSE](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4/LICENSE) |
[COPYRIGHT](https://forge.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15/COPYRIGHT) |
[LICENSE](https://forge.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15/LICENSE).
[Source](https://gitea.maximumdirect.net/eric/policy/src/commit/d84a38ebab26f048cafbe59a2246700c35d29843).
[Source](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4).
[Source](https://forge.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15).
## ConfigKit
Selected module: `go.maximumdirect.net/configkit` at `v1.2.1`.

View File

@@ -1,9 +1,9 @@
# Documentation Policy
**Base Policy Version:** 1.12
**Base Policy Version:** 1.13
**Last Updated**: 2026-11-11
**Upstream Source:** [Standard Repository Policies documentation](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4/docs/policy/documentation.md)
**Last Updated**: 2026-11-22
**Upstream Source:** [Standard Repository Policies documentation](https://forge.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15/docs/policy/documentation.md)
## Purpose
@@ -132,6 +132,15 @@ semantics. Internal documents explain how this application implements or consume
contracts. Internal docs may name a field, file, or protocol to identify a
dependency, but must link to its canonical contract for the definition.
### Upstream Dependencies
When documenting an upstream dependency, identify the library and link to its
canonical documentation for its features and behavior. Maintain local
documentation for application-specific integration, configuration, and
adaptations. Brief summaries may orient readers; upstream documentation remains
the canonical reference for upstream behavior. Where behavior differs by
version, link to documentation applicable to the imported version.
### Security Topics
This policy owns what documentation and examples may contain. Architecture owns

View File

@@ -299,7 +299,7 @@ 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. |
| [Documentation policy](../policy/documentation.md#upstream-dependencies) | Completed: adopted upstream v1.13's dependency-documentation rule from revision `5b9088601290564647a9e20c13f95c0da9f4cb15`. Apply it to the remaining documentation work below. |
| [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. |