diff --git a/README.md b/README.md index dba5b72..93da4bd 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ OpenAI-compatible model endpoints, and returns generated output with validation metadata. The application uses -[Promptkit v0.11.0](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/) +[Promptkit v0.11.1](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/) for prompt, profile, schema, preparation, generation, and validation behavior. Scriptorium owns executable configuration, CLI and HTTP mapping, process behavior, output presentation, and HTTP artifact-containment policy. @@ -39,8 +39,8 @@ a model. For complete invocation and output behavior, see the - [Migration from the former Go package](docs/consumers/migrating-to-promptkit.md) - [Subprocess integration](docs/integrations/subprocess.md) - [Architecture policy](docs/policy/architecture.md) -- [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md) -- [Promptkit Go consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md) +- [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md) +- [Promptkit Go consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md) ## Examples diff --git a/docs/api.md b/docs/api.md index bdb6062..1264c0b 100644 --- a/docs/api.md +++ b/docs/api.md @@ -68,11 +68,11 @@ The optional `model` object accepts `endpoint`, `model`, `temperature`, `max_tokens`, `top_p`, `timeout_seconds`, `service_tier`, `reasoning_effort`, `api_key_env`, and `extra_params`. Numeric ranges and framework credential semantics are defined by the -[Promptkit format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md). +[Promptkit format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md). Explicit zero values for the numeric fields are overrides; zero `timeout_seconds` disables the per-attempt generation deadline only, retaining the request context and configured transport cap. The timeout layers are defined in -the [Promptkit outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/integrations/openai-compatible-chat.md#timeout-and-cancellation). +the [Promptkit outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/integrations/openai-compatible-chat.md#timeout-and-cancellation). Each built-in transient retry gets a fresh generation timeout; the caller's request context remains the outer cancellation boundary. diff --git a/docs/cli.md b/docs/cli.md index b8bac5d..501c44d 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -90,7 +90,7 @@ only; the caller context and configured transport cap remain active. CLI durations are converted to whole seconds by truncation toward zero, so any duration whose absolute value is below one second becomes an explicit zero-second override. The timeout layers are defined in the -[Promptkit outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/integrations/openai-compatible-chat.md#timeout-and-cancellation). +[Promptkit outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/integrations/openai-compatible-chat.md#timeout-and-cancellation). With the built-in client, each transient retry gets a fresh generation timeout; this flag does not limit the complete run. `--run-timeout` keeps subsecond precision and starts immediately before engine diff --git a/docs/config.md b/docs/config.md index 777a112..8f60742 100644 --- a/docs/config.md +++ b/docs/config.md @@ -3,7 +3,7 @@ This is the canonical reference for Scriptorium application settings. Prompt, profile, schema, execution-setting, built-in profile, and framework credential semantics are defined by the -[Promptkit v0.11.0 format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md). +[Promptkit v0.11.1 format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md). For command syntax, see the [CLI reference](cli.md); for HTTP request shapes and outcomes, see the [HTTP API reference](api.md). @@ -26,7 +26,7 @@ The maintained [minimal configuration](../examples/config.yml), ## Application Configuration File -Configuration is decoded by ConfigKit v0.4.0 as strict YAML. Unknown fields, +Configuration is decoded by ConfigKit v0.4.1 as strict YAML. Unknown fields, empty files, multiple YAML documents, and YAML aliases/anchors are rejected. An explicit empty string is a value: it clears a file-provided optional path or, for required `prompt_dir`, fails the command's prerequisite. A scalar @@ -152,7 +152,7 @@ parse those framework file formats. contracts. See the -[tagged Promptkit format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md) +[tagged Promptkit format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md) for all of those definitions. The files under [`examples/prompts`](../examples/prompts/), [`examples/profiles`](../examples/profiles/), and @@ -195,7 +195,7 @@ client retains its own retry behavior. The tagged integration contract owns eligibility and timing. Promptkit's -[OpenAI-compatible integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/integrations/openai-compatible-chat.md) +[OpenAI-compatible integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/integrations/openai-compatible-chat.md) defines outbound authentication, provider request mapping, transport limits, and timeout layering. @@ -204,4 +204,4 @@ and timeout layering. - [CLI reference](cli.md) - [HTTP API reference](api.md) - [Operations guide](operations.md) -- [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md) +- [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md) diff --git a/docs/consumers/api.md b/docs/consumers/api.md index 4b83b91..0ae8ba3 100644 --- a/docs/consumers/api.md +++ b/docs/consumers/api.md @@ -14,7 +14,7 @@ and the HTTP service according to the boundary your application needs. Go applications that need an in-process prompt framework should import Promptkit directly. The tagged -[Promptkit Go consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md) +[Promptkit Go consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md) owns that interface; Scriptorium does not provide a Go library package. Consumers arriving from the former Scriptorium Go API should follow the [migration guide](migrating-to-promptkit.md). @@ -35,4 +35,4 @@ Scriptorium does not persist run state. A retry can produce different output and can incur another provider request. CLI exits belong to the [CLI reference](../cli.md), HTTP status behavior belongs to the [HTTP API reference](../api.md), and framework semantics belong to -[Promptkit v0.11.0](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md). +[Promptkit v0.11.1](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md). diff --git a/docs/consumers/migrating-to-promptkit.md b/docs/consumers/migrating-to-promptkit.md index b2c2f8b..2bfefff 100644 --- a/docs/consumers/migrating-to-promptkit.md +++ b/docs/consumers/migrating-to-promptkit.md @@ -4,7 +4,7 @@ Scriptorium `v0.11.1` at `gitea.maximumdirect.net/eric/scriptorium` is the final release that provides -the former in-process Go framework. Promptkit `v0.11.0` at +the former in-process Go framework. Promptkit `v0.11.1` at `gitea.maximumdirect.net/eric/promptkit` is the destination for that framework API. Scriptorium `v0.12.0` and later provide the CLI and HTTP application only. @@ -19,7 +19,7 @@ Start from a clean consumer checkout and review the pending diff before committing it. Add the published Promptkit module: ```sh -go get gitea.maximumdirect.net/eric/promptkit@v0.11.0 +go get gitea.maximumdirect.net/eric/promptkit@v0.11.1 ``` For an ordinary consumer that imports the former root package under its @@ -51,14 +51,14 @@ go mod tidy go test ./... ``` -Confirm that `go.mod` selects Promptkit `v0.11.0` and that no Go file imports +Confirm that `go.mod` selects Promptkit `v0.11.1` and that no Go file imports the former Scriptorium package: ```sh test "$( go list -m -f '{{.Path}}@{{.Version}}' \ gitea.maximumdirect.net/eric/promptkit -)" = 'gitea.maximumdirect.net/eric/promptkit@v0.11.0' +)" = 'gitea.maximumdirect.net/eric/promptkit@v0.11.1' if git grep -n \ 'gitea.maximumdirect.net/eric/scriptorium' \ -- '*.go' @@ -73,20 +73,20 @@ fi Promptkit preserves the established engine, request, result, profile, source-option, model-client, artifact, validation-value, and public-error shapes where practical. Exact declarations and current behavior belong to the -tagged [Promptkit consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md) +tagged [Promptkit consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md) and Go source. Promptkit also includes migration-relevant public contracts that were not in Scriptorium `v0.11.1`: -- [`WithArtifactReader`](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/engine.go#L169-L174) +- [`WithArtifactReader`](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/engine.go#L169-L174) and the - [`ArtifactReader` declaration](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/types.go#L315) + [`ArtifactReader` declaration](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/types.go#L315) provide the artifact-reading extension described by the tagged - [extension-interface guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md#extension-interfaces). -- [`ErrProfileRequired` and `ErrAPIKeyEnvMissing`](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/engine.go#L33-L48) + [extension-interface guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md#extension-interfaces). +- [`ErrProfileRequired` and `ErrAPIKeyEnvMissing`](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/engine.go#L33-L48) provide the specific identities described by the tagged - [error guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md#handle-errors). + [error guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md#handle-errors). Use those tagged owners for exact signatures, wrapping guarantees, and extension behavior. diff --git a/docs/development.md b/docs/development.md index 4791c92..1e022c6 100644 --- a/docs/development.md +++ b/docs/development.md @@ -2,9 +2,9 @@ This is the contributor entry point for Scriptorium. Scriptorium is an application that consumes the public -[Promptkit v0.11.0 package](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md); +[Promptkit v0.11.1 package](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md); framework implementation work belongs in Promptkit. Application configuration -uses ConfigKit v0.4.0; keep Scriptorium's schema and source selection local. +uses ConfigKit v0.4.1; keep Scriptorium's schema and source selection local. ## Initial Orientation @@ -29,13 +29,13 @@ tests. | HTTP routes, DTOs, limits, status mapping, or artifact policy | [HTTP API contract](api.md), [adapter internals](internal/adapters.md), and [source internals](internal/sources.md) | | Application configuration or precedence | [Configuration contract](config.md), [adapter internals](internal/adapters.md), [source internals](internal/sources.md), and `internal/config` definition/load tests | | Prepared-run presentation | [CLI contract](cli.md), [adapter internals](internal/adapters.md), and `internal/format` | -| Prompt, profile, schema, generation, or validation semantics | [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md) and the [Promptkit consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md) | -| OpenAI-compatible outbound behavior or timeout layering | [Promptkit integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/integrations/openai-compatible-chat.md) | +| Prompt, profile, schema, generation, or validation semantics | [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md) and the [Promptkit consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md) | +| OpenAI-compatible outbound behavior or timeout layering | [Promptkit integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/integrations/openai-compatible-chat.md) | | Subprocess behavior | [Subprocess integration](integrations/subprocess.md) and [CLI contract](cli.md) | | Runtime operation or recovery | [Operations](operations.md) | | Dependencies, copied assets, or attribution | The [OSS policy](policy/oss.md), [component attributions](oss/attribution.md), and [architecture policy](policy/architecture.md) | | Release documentation, packaging, or publication | The [release policy](policy/release.md), [OSS policy](policy/oss.md), [release procedure](release.md), [hosted release workflow](../.woodpecker/release.yml), and [architecture policy](policy/architecture.md) | -| Examples or copyable assets | The owning Scriptorium contract, the relevant [Promptkit format contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md), and the related files under `examples/` | +| Examples or copyable assets | The owning Scriptorium contract, the relevant [Promptkit format contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md), and the related files under `examples/` | | Architecture decisions or future work | The [documentation policy](policy/documentation.md), relevant accepted ADRs, and relevant roadmap documents | Cross-project changes land and release in Promptkit before Scriptorium adopts diff --git a/docs/internal/adapters.md b/docs/internal/adapters.md index 4b63d40..f3cfc8c 100644 --- a/docs/internal/adapters.md +++ b/docs/internal/adapters.md @@ -9,7 +9,7 @@ own IO and presentation mechanics, not framework decisions. External contracts are canonical in the [CLI reference](../cli.md) and [HTTP API reference](../api.md). Promptkit's public engine contract is described by its tagged -[Go consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md). +[Go consumer guide](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md). ## Components And Collaborators diff --git a/docs/internal/overview.md b/docs/internal/overview.md index 1f2774a..a549591 100644 --- a/docs/internal/overview.md +++ b/docs/internal/overview.md @@ -15,5 +15,5 @@ public behavior belongs in the linked contracts. | `internal/report` | Projects one terminal Promptkit observation into Scriptorium-owned execution metadata. | [adapter internals](adapters.md) | Framework implementation packages are provided by -[Promptkit v0.11.0](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md) +[Promptkit v0.11.1](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md) and are not part of this repository. diff --git a/docs/internal/sources.md b/docs/internal/sources.md index 6a46462..80f878c 100644 --- a/docs/internal/sources.md +++ b/docs/internal/sources.md @@ -5,7 +5,7 @@ This document covers Scriptorium-owned source locations and the restricted HTTP artifact reader. Prompt, profile, schema, and ordinary artifact semantics are owned by the tagged -[Promptkit format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md). +[Promptkit format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md). ## Application Source Locations diff --git a/docs/operations.md b/docs/operations.md index 93bf884..1b67083 100644 --- a/docs/operations.md +++ b/docs/operations.md @@ -9,7 +9,7 @@ fields, or HTTP wire behavior. - [CLI reference](cli.md): commands, output destinations, and exit codes. - [Configuration reference](config.md): application settings, source locations, defaults, and credential mapping. -- [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md): +- [Promptkit framework formats](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md): prompt, profile, schema, execution-setting, and framework credential contracts. - [HTTP API reference](api.md): route, request/response schema, status codes, @@ -150,7 +150,7 @@ setting and then Promptkit's default, while explicit zero disables additional attempts. Existing generation timeouts apply per attempt, while the caller context covers the complete operation. Provider `Retry-After` timing can exceed Promptkit's ordinary backoff cap; consult the -[outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/integrations/openai-compatible-chat.md) +[outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/integrations/openai-compatible-chat.md) for details. CLI `run` can set a [whole-run deadline](cli.md) when total execution time must diff --git a/docs/oss/attribution.md b/docs/oss/attribution.md index 6f21857..81840d9 100644 --- a/docs/oss/attribution.md +++ b/docs/oss/attribution.md @@ -1,6 +1,7 @@ # Open-Source Attribution -Scriptorium's own terms are in the repository [LICENSE](../../LICENSE). +Scriptorium's grant is in [COPYRIGHT](../../COPYRIGHT), with the complete +license text in [LICENSE](../../LICENSE). The [OSS policy](../policy/oss.md) governs these entries. Dependency versions are recorded in [go.mod](../../go.mod) and [go.sum](../../go.sum); source and notice links below identify the exact commits for the selected versions. @@ -13,53 +14,47 @@ SPDX-License-Identifier: LGPL-3.0-or-later License and notices: [LGPL v3](licenses/LGPL-3.0.txt) | [GPL v3 companion](licenses/GPL-3.0.txt) | -[upstream LICENSE](https://gitea.maximumdirect.net/eric/promptkit/src/commit/db05b56166ca2d8650dfaf660e1cf0eed3932e1d/LICENSE) +[upstream COPYRIGHT](https://gitea.maximumdirect.net/eric/promptkit/src/commit/15e40679546f2e21b6f51cc84b6f0a087a8486db/COPYRIGHT) | +[upstream LICENSE](https://gitea.maximumdirect.net/eric/promptkit/src/commit/15e40679546f2e21b6f51cc84b6f0a087a8486db/LICENSE) -Source: [Promptkit v0.11.0](https://gitea.maximumdirect.net/eric/promptkit/src/commit/db05b56166ca2d8650dfaf660e1cf0eed3932e1d) +Source: [Promptkit v0.11.1](https://gitea.maximumdirect.net/eric/promptkit/src/commit/15e40679546f2e21b6f51cc84b6f0a087a8486db) ## ConfigKit -Upstream copyright statement: no project-specific statement is present in the -selected module; the FSF copyright in its license text belongs to that license -document and is not substituted for a project notice. +Copyright (C) 2026 Eric Rakestraw -SPDX-License-Identifier: LGPL-3.0-only +SPDX-License-Identifier: LGPL-3.0-or-later License and notices: [LGPL v3](licenses/LGPL-3.0.txt) | [GPL v3 companion](licenses/GPL-3.0.txt) | -[upstream LICENSE](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/e6ced0d3d1194b58e0b3dc8970089471ba175258/LICENSE) +[upstream COPYRIGHT](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/0adb94f59e44827908eff401d4381a398fe17107/COPYRIGHT) | +[upstream LICENSE](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/0adb94f59e44827908eff401d4381a398fe17107/LICENSE) -Source: [ConfigKit v0.4.0](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/e6ced0d3d1194b58e0b3dc8970089471ba175258) +Source: [ConfigKit v0.4.1](https://gitea.maximumdirect.net/eric/ConfigKit/src/commit/0adb94f59e44827908eff401d4381a398fe17107) ## Promptkit OpenRouter Catalog -Upstream copyright statement: no project-specific statement is present in the -selected module. The linked upstream README records the profile assets' -Promptkit origin and the copyright holder's deliberate relicensing. +Copyright (C) 2026 Eric Rakestraw -SPDX-License-Identifier: LGPL-3.0-only +SPDX-License-Identifier: MIT -License and notices: [LGPL v3](licenses/LGPL-3.0.txt) | -[GPL v3 companion](licenses/GPL-3.0.txt) | -[upstream LICENSE](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/f7518043ebdd70b8959506201639903dff0b85ab/LICENSE) | -[asset licensing notice](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/f7518043ebdd70b8959506201639903dff0b85ab/README.md) +License and notices: [MIT](licenses/MIT.txt) | +[upstream COPYRIGHT](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/4f731d217e0bc39151c010f50fb5912706e7b6b3/COPYRIGHT) | +[upstream LICENSE](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/4f731d217e0bc39151c010f50fb5912706e7b6b3/LICENSE) -Source: [OpenRouter catalog v2.20260922.1](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/f7518043ebdd70b8959506201639903dff0b85ab) +Source: [Promptkit OpenRouter Catalog v2.20260926.0](https://gitea.maximumdirect.net/eric/promptkit-backend-openrouter/src/commit/4f731d217e0bc39151c010f50fb5912706e7b6b3) ## Promptkit Rakestrawhome Catalog -Upstream copyright statement: no project-specific statement is present in the -selected module. The linked upstream README records the profile asset's -Promptkit origin and the copyright holder's deliberate relicensing. +Copyright (C) 2026 Eric Rakestraw -SPDX-License-Identifier: LGPL-3.0-only +SPDX-License-Identifier: MIT -License and notices: [LGPL v3](licenses/LGPL-3.0.txt) | -[GPL v3 companion](licenses/GPL-3.0.txt) | -[upstream LICENSE](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/d664696142bf7c2d93db2a6b2e07f3deb55f2226/LICENSE) | -[asset licensing notice](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/d664696142bf7c2d93db2a6b2e07f3deb55f2226/README.md) +License and notices: [MIT](licenses/MIT.txt) | +[upstream COPYRIGHT](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/48918a3ad39fd99843cda94a86133b1b3881d596/COPYRIGHT) | +[upstream LICENSE](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/48918a3ad39fd99843cda94a86133b1b3881d596/LICENSE) -Source: [Rakestrawhome catalog v2.20260922.0](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/d664696142bf7c2d93db2a6b2e07f3deb55f2226) +Source: [Promptkit Rakestrawhome Catalog v2.20260926.0](https://gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/src/commit/48918a3ad39fd99843cda94a86133b1b3881d596) ## jsonschema/v6 diff --git a/docs/policy/architecture.md b/docs/policy/architecture.md index dbc9bd2..def19b4 100644 --- a/docs/policy/architecture.md +++ b/docs/policy/architecture.md @@ -25,14 +25,14 @@ The `inspect` command has prompt and profile modes. Scriptorium does not expose a reusable root Go package. The application consumes -[Promptkit v0.11.0](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/consumers/pkg-promptkit.md) +[Promptkit v0.11.1](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/consumers/pkg-promptkit.md) through its supported root package. Promptkit owns prompt execution, preparation, source formats, built-in profiles, model-client behavior, and validation. Scriptorium owns application configuration, executable adapters, prepared-run and definition-inspection presentation, process behavior, and HTTP deployment policy. -Scriptorium also consumes ConfigKit v0.4.0 for application configuration +Scriptorium also consumes ConfigKit v0.4.1 for application configuration decoding, resolution, and validation flow. Scriptorium owns its application schema, defaults, normalization, validation rules, source selection, and CLI flag mapping; ConfigKit does not own Promptkit framework sources or HTTP @@ -92,9 +92,9 @@ vendored Promptkit implementation, or unpublished dependency assumptions. - `internal/format` owns deterministic prepared-run and definition-inspection text and JSON presentation. - Promptkit owns framework orchestration and contracts. Its - [format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/formats.md) + [format reference](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/formats.md) and - [outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.0/docs/integrations/openai-compatible-chat.md) + [outbound integration contract](https://gitea.maximumdirect.net/eric/promptkit/src/tag/v0.11.1/docs/integrations/openai-compatible-chat.md) are canonical. ## HTTP Artifact Security Boundary diff --git a/docs/roadmap/policy.md b/docs/roadmap/policy.md index 5840fa4..e999404 100644 --- a/docs/roadmap/policy.md +++ b/docs/roadmap/policy.md @@ -3,9 +3,8 @@ ## Status Accepted feature direction, recorded on 2026-09-26; implementation is pending. -Align the policies and supporting documentation with the standard policy -repository at commit `dafa823981004d4d58a5eb1b59a84ffebbd979da`, reviewed in -`../policy`. This roadmap defines the target state, not an implementation +Align the policies and supporting documentation with the agreed licensing +conventions below. This roadmap defines the target state, not an implementation sequence. The [OSS policy](../policy/oss.md) will own the ongoing rules. ## Current Baseline @@ -19,10 +18,10 @@ adoption record in Git. Current policy versions are: - release policy base version 1.2. The maintainer has already changed the project grant to GPL-3.0-or-later. -[COPYRIGHT](../../COPYRIGHT) follows the upstream application convention, +[COPYRIGHT](../../COPYRIGHT) follows the agreed application convention, including project identity, copyright holder and year, SPDX expression, grant, disclaimer, and third-party statement. [LICENSE](../../LICENSE) contains -the complete GPLv3 text; its only byte-level difference from the upstream +the complete GPLv3 text; its only byte-level difference from the standard reference is a missing final newline. No substantive rewrite is needed. Remaining differences are documentation and policy alignment: @@ -44,9 +43,9 @@ the checked-in release note unchanged as the hosted body. ### Licensing Policy And Ownership Adopt OSS policy base version **1.2** and documentation policy base version -**1.5**, preserving Scriptorium-specific customizations. Upstream's agent, -architecture, testing, and release templates have no new changes in this -update; their local versions remain unchanged. +**1.5**, preserving Scriptorium-specific customizations. Agent, architecture, +testing, and release policies need no changes for this adoption; their versions +remain unchanged. | Canonical document | Target responsibility | | --- | --- | @@ -85,9 +84,7 @@ maintaining a separate footer. - **[OSS policy](../policy/oss.md):** adopt the v1.2 scope, author-choice rules, canonical locations, coordinated maintenance, and navigation conventions. - Use Scriptorium's actual grant in examples. Adapt template references to - local files; do not retain adoption instructions or links to absent example - directories. + Use Scriptorium's actual grant in examples and link to local canonical files. - **[Documentation policy](../policy/documentation.md):** adopt the v1.5 ownership entries and project-licensing boundary. Preserve local ownership, minimal-example guidance, ADR lifecycle, and policy metadata conventions. @@ -107,8 +104,8 @@ maintaining a separate footer. the canonical release procedure. Preserve historical completion evidence. - **Licensing files:** preserve the already-aligned grant and text. Restoring `LICENSE`'s final newline is optional mechanical alignment, not a substantive - correction or new release gate. Do not copy the entire upstream license - collection or generic COPYRIGHT examples into Scriptorium unnecessarily. + correction or new release gate. Obtain any needed standard license texts + from their public publishers; no additional license collection is needed. ## Preserved Scope @@ -134,7 +131,7 @@ Version selection and publication remain separate preparation work under the ## Completion Criteria -- The two updated policies identify the selected upstream versions and actual +- The two updated policies identify the selected base versions and actual adoption date, preserving local customizations and settled scope. - Current project-license descriptions agree with `COPYRIGHT`; documentation distinguishes the grant, complete text, and upstream attribution. diff --git a/go.mod b/go.mod index 2a278e6..fe9b1f6 100644 --- a/go.mod +++ b/go.mod @@ -3,13 +3,13 @@ module gitea.maximumdirect.net/eric/scriptorium go 1.25.5 require ( - gitea.maximumdirect.net/eric/ConfigKit v0.4.0 - gitea.maximumdirect.net/eric/promptkit v0.11.0 + gitea.maximumdirect.net/eric/ConfigKit v0.4.1 + gitea.maximumdirect.net/eric/promptkit v0.11.1 ) require ( - gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v2 v2.20260922.1 // indirect - gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v2 v2.20260922.0 // indirect + gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v2 v2.20260926.0 // indirect + gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v2 v2.20260926.0 // indirect github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect go.yaml.in/yaml/v4 v4.0.0-rc.6 // indirect golang.org/x/text v0.14.0 // indirect diff --git a/go.sum b/go.sum index cc81e76..de07a37 100644 --- a/go.sum +++ b/go.sum @@ -1,11 +1,11 @@ -gitea.maximumdirect.net/eric/ConfigKit v0.4.0 h1:fo+vKff3zTGeWqJIA38NtT84b6OUP//9ZmBH3lFuKgk= -gitea.maximumdirect.net/eric/ConfigKit v0.4.0/go.mod h1:tYWpsrbLyu05r8+1MapWp5fN6ZrX9I8hU2xEPedYmYk= -gitea.maximumdirect.net/eric/promptkit v0.11.0 h1:x7JguOUiInPVXK0GEitjyoRFqqvcuSTjYUvqJ+whtik= -gitea.maximumdirect.net/eric/promptkit v0.11.0/go.mod h1:0zEBVlJJC+ldDdXazAgybYBXNSe74vwFx5dyOuSos/w= -gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v2 v2.20260922.1 h1:S2/Q/JDE+m8Ca3pDhAjVbfYrdlEhs9blj0STgNopHo0= -gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v2 v2.20260922.1/go.mod h1:a3VBbh9oaGXD6ruxhtwHj+AWW6DY/SSyby1QtMmYSUo= -gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v2 v2.20260922.0 h1:Y0EXc3eh12eKW2NrOviVqdk3oBo6UUjopt1YAa1B3Oc= -gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v2 v2.20260922.0/go.mod h1:mtgD1E0SGm0e/I8Ffhz+AYX7GN7RKUWJXehNFIKHs4Y= +gitea.maximumdirect.net/eric/ConfigKit v0.4.1 h1:Rl2eaP5NgDgUQt8QZe0DYxF8GFc/6cnkUTLRSf5dcCU= +gitea.maximumdirect.net/eric/ConfigKit v0.4.1/go.mod h1:tYWpsrbLyu05r8+1MapWp5fN6ZrX9I8hU2xEPedYmYk= +gitea.maximumdirect.net/eric/promptkit v0.11.1 h1:fSDLdrijUi0ya4P8N4Z1g31p9LPZWVrLHVFogahUkqQ= +gitea.maximumdirect.net/eric/promptkit v0.11.1/go.mod h1:onm/FBPUKQ8/NSPwTEk26Ut+dVX2iXcq8vEseB+g/0E= +gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v2 v2.20260926.0 h1:wdab+R+lgMZxzYwhbAuCrW7zdSQ1cW9ovBR6UzLmZR4= +gitea.maximumdirect.net/eric/promptkit-backend-openrouter/v2 v2.20260926.0/go.mod h1:a3VBbh9oaGXD6ruxhtwHj+AWW6DY/SSyby1QtMmYSUo= +gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v2 v2.20260926.0 h1:baCCIB6Ee5t0S4Zc++NTBIPcJEv5UPS6DlSrpZfykwg= +gitea.maximumdirect.net/eric/promptkit-backend-rakestrawhome/v2 v2.20260926.0/go.mod h1:mtgD1E0SGm0e/I8Ffhz+AYX7GN7RKUWJXehNFIKHs4Y= github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI= github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8= github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ=