Adopt upstream documentation policy update

This commit is contained in:
2026-11-23 02:05:51 +00:00
parent be3539986d
commit 3c9a71364a
3 changed files with 26 additions and 9 deletions

View File

@@ -7,6 +7,9 @@ Material: `docs/policy/oss.md`, `docs/policy/meta.md`,
`docs/policy/architecture.md`, `docs/policy/testing.md`, `docs/policy/architecture.md`, `docs/policy/testing.md`,
`docs/policy/release.md`, `AGENTS.md`, and the Policy Reading Guide section `docs/policy/release.md`, `AGENTS.md`, and the Policy Reading Guide section
of `docs/development.md`, adapted for this repository. of `docs/development.md`, adapted for this repository.
`docs/policy/documentation.md` uses source revision
`5b9088601290564647a9e20c13f95c0da9f4cb15`; the other listed material uses
`593c9b52273c5c879785ae9e995d21026df467b4`.
Copyright (C) 2026 Eric Rakestraw Copyright (C) 2026 Eric Rakestraw
@@ -14,9 +17,12 @@ SPDX-License-Identifier: CC-BY-SA-4.0
License and notices: [CC BY-SA 4.0](licenses/CC-BY-SA-4.0.txt) | License and notices: [CC BY-SA 4.0](licenses/CC-BY-SA-4.0.txt) |
[COPYRIGHT](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4/COPYRIGHT) | [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://gitea.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15/COPYRIGHT) |
[LICENSE](https://gitea.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15/LICENSE).
[Source](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4). [Source](https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4) |
[Source](https://gitea.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15).
## PromptKit ## PromptKit

View File

@@ -1,10 +1,10 @@
# Documentation Policy # Documentation Policy
**Base Policy Version:** 1.12 **Base Policy Version:** 1.13
**Last Updated**: 2026-11-17 **Last Updated**: 2026-11-22
**Upstream Source:** https://gitea.maximumdirect.net/eric/policy/src/commit/593c9b52273c5c879785ae9e995d21026df467b4/docs/policy/documentation.md **Upstream Source:** https://gitea.maximumdirect.net/eric/policy/src/commit/5b9088601290564647a9e20c13f95c0da9f4cb15/docs/policy/documentation.md
## Purpose ## 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 contracts. Internal docs may name a field, file, or protocol to identify a
dependency, but must link to its canonical contract for the definition. 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 ### Security Topics
This policy owns what documentation and examples may contain. Architecture owns This policy owns what documentation and examples may contain. Architecture owns

View File

@@ -390,9 +390,11 @@ no identified Scriptorium-specific requirement that warrants a legacy path.
### Documentation: Upstream Contracts And Local Integration ### Documentation: Upstream Contracts And Local Integration
The user selected canonical upstream documentation for adopted PromptKit, The [adopted documentation policy](../policy/documentation.md#upstream-dependencies),
ConfigKit, and CommandKit features. Scriptorium documents that it imports and based on upstream v1.13, now captures canonical upstream ownership. The remaining
adopts each library and links the relevant upstream owner. Remove local documentation cleanup applies that rule to adopted PromptKit, ConfigKit, and
CommandKit features. Scriptorium documents that it imports and adopts each library
and links the relevant upstream owner. Remove local
explanations, reference tables, tutorials, and format/default catalogs that explanations, reference tables, tutorials, and format/default catalogs that
merely restate those libraries. Upstream behavior discussed in this roadmap merely restate those libraries. Upstream behavior discussed in this roadmap
identifies adoption work; it is not a parallel consumer reference to maintain. identifies adoption work; it is not a parallel consumer reference to maintain.
@@ -426,7 +428,7 @@ The documentation pass must cover these current duplication points:
| `docs/consumers/upgrading-cli.md`, `docs/consumers/upgrading-promptkit.md`, `docs/consumers/migrating-to-promptkit.md` | Keep the necessary Scriptorium interface/configuration migration and historical package-split boundary. Link upstream for library API, definition-format, schema, and default migrations instead of maintaining duplicate walkthroughs and feature lists. Remove or condense superseded intermediary guidance and repair incoming links. | | `docs/consumers/upgrading-cli.md`, `docs/consumers/upgrading-promptkit.md`, `docs/consumers/migrating-to-promptkit.md` | Keep the necessary Scriptorium interface/configuration migration and historical package-split boundary. Link upstream for library API, definition-format, schema, and default migrations instead of maintaining duplicate walkthroughs and feature lists. Remove or condense superseded intermediary guidance and repair incoming links. |
| `docs/consumers/api.md`, `docs/integrations/subprocess.md`, `docs/api.md` | Preserve application interface selection, process/stream/file responsibilities, and the complete Scriptorium-owned HTTP wire contract. Refer native report schemas and framework semantics upstream instead of reproducing them. HTTP documentation cleanup does not add reporting fields. | | `docs/consumers/api.md`, `docs/integrations/subprocess.md`, `docs/api.md` | Preserve application interface selection, process/stream/file responsibilities, and the complete Scriptorium-owned HTTP wire contract. Refer native report schemas and framework semantics upstream instead of reproducing them. HTTP documentation cleanup does not add reporting fields. |
| `docs/internal/overview.md`, `docs/internal/adapters.md`, `docs/internal/sources.md` | Describe local components, wiring, handoff, and adapter effects. Remove repeated library lifecycle/algorithm explanations and link to the native contracts. | | `docs/internal/overview.md`, `docs/internal/adapters.md`, `docs/internal/sources.md` | Describe local components, wiring, handoff, and adapter effects. Remove repeated library lifecycle/algorithm explanations and link to the native contracts. |
| `docs/policy/documentation.md`, `docs/development.md` | Clarify the existing ownership rules and reading guide: local CLI/configuration/integration owners cover Scriptorium-specific behavior; adopted library features have canonical upstream owners. This is a focused documentation-ownership clarification, not a policy-suite refresh. | | `docs/policy/documentation.md`, `docs/development.md` | The policy clarification is complete through adoption of upstream documentation policy v1.13. Apply its Upstream Dependencies rule during cleanup and align the contributor reading guide; no additional local policy rewrite or policy-suite refresh is required. |
| `docs/policy/architecture.md` | Update the implemented integration boundary and upstream links when the upgrade lands. Keep application constraints and ownership decisions, with upstream semantics referenced rather than redefined. Accepted ADR decision content remains unchanged. | | `docs/policy/architecture.md` | Update the implemented integration boundary and upstream links when the upgrade lands. Keep application constraints and ownership decisions, with upstream semantics referenced rather than redefined. Accepted ADR decision content remains unchanged. |
Retain the minimal Scriptorium quickstart and maintained examples that exercise Retain the minimal Scriptorium quickstart and maintained examples that exercise