Approve the Notarius implementation plan
This commit is contained in:
@@ -20,13 +20,13 @@ match the other three targets.
|
|||||||
|
|
||||||
- [x] [Feature 0024: Standalone Scriptorium adoption](features/0024-scriptorium-v0-16-adoption.md) — closed after independent review with no findings; role `e936d52` passed the full offline suite and all clean repeats.
|
- [x] [Feature 0024: Standalone Scriptorium adoption](features/0024-scriptorium-v0-16-adoption.md) — closed after independent review with no findings; role `e936d52` passed the full offline suite and all clean repeats.
|
||||||
- [x] [Feature 0025: Standalone Audita adoption](features/0025-audita-v4-adoption.md) — closed after independent review with no findings; role `b818f60` passed the full offline suite and all clean repeats.
|
- [x] [Feature 0025: Standalone Audita adoption](features/0025-audita-v4-adoption.md) — closed after independent review with no findings; role `b818f60` passed the full offline suite and all clean repeats.
|
||||||
- [ ] [Feature 0026: Standalone Notarius adoption](features/0026-notarius-v0-10-adoption.md) — roadmap approved, targeting v0.10.0; staged implementation planning is next.
|
- [ ] [Feature 0026: Standalone Notarius adoption](features/0026-notarius-v0-10-adoption.md) — roadmap and staged implementation plan approved; ready for the v0.10.0 sprint.
|
||||||
- [ ] Standalone Narratio adoption.
|
- [ ] Standalone Narratio adoption.
|
||||||
- [ ] Compatible prompt/campaign assets and coordinated suite integration.
|
- [ ] Compatible prompt/campaign assets and coordinated suite integration.
|
||||||
- [ ] Collection assembly and consumer dependency/guidance updates.
|
- [ ] Collection assembly and consumer dependency/guidance updates.
|
||||||
|
|
||||||
Scriptorium and Audita adoption are complete; no implementation plan is active.
|
Scriptorium and Audita adoption are complete. The Notarius roadmap and staged
|
||||||
The Notarius roadmap is approved; its staged implementation plan is next.
|
implementation plan are approved and ready for execution.
|
||||||
Later features will be scoped individually; this ordering does not require
|
Later features will be scoped individually; this ordering does not require
|
||||||
separate features for every listed
|
separate features for every listed
|
||||||
integration deliverable. Keep one active implementation plan at
|
integration deliverable. Keep one active implementation plan at
|
||||||
|
|||||||
@@ -230,8 +230,9 @@ fingerprints, migration machinery, or provider checks are needed.
|
|||||||
## Dependencies and Follow-up Work
|
## Dependencies and Follow-up Work
|
||||||
|
|
||||||
Scriptorium and Audita adoption are complete and provide reviewed native-field
|
Scriptorium and Audita adoption are complete and provide reviewed native-field
|
||||||
and build-identity examples. This roadmap is approved. The next step is to prepare
|
and build-identity examples. This roadmap and its staged implementation plan are
|
||||||
the staged implementation plan at `docs/roadmap/implementation.md`.
|
approved. The plan at [implementation.md](../implementation.md) is ready for
|
||||||
|
execution.
|
||||||
|
|
||||||
Narratio adoption follows Notarius implementation, independent review, and
|
Narratio adoption follows Notarius implementation, independent review, and
|
||||||
closeout. Later suite integration owns the D&D pipeline/tuning migration,
|
closeout. Later suite integration owns the D&D pipeline/tuning migration,
|
||||||
|
|||||||
@@ -1,11 +1,244 @@
|
|||||||
# Implementation Plan
|
# Implementation Plan 0026: Adopt Notarius v0.10.0
|
||||||
|
|
||||||
No implementation plan is currently active.
|
Status: ready
|
||||||
|
|
||||||
[Feature 0025](features/0025-audita-v4-adoption.md) was closed on 2026-12-03
|
Target executor: GPT-5.6-Terra
|
||||||
after implementation and independent review with no actionable findings. Its
|
|
||||||
roadmap retains completion evidence; Git history preserves the executed plan.
|
|
||||||
|
|
||||||
[Feature 0026: standalone Notarius v0.10.0 adoption](features/0026-notarius-v0-10-adoption.md)
|
Feature roadmap: [Feature 0026](features/0026-notarius-v0-10-adoption.md)
|
||||||
has an approved roadmap in the [agreed upgrade sequence](application-upgrade-sequence.md).
|
|
||||||
Prepare and approve its staged implementation plan before beginning execution.
|
Active plan location: `docs/roadmap/implementation.md`
|
||||||
|
|
||||||
|
## Objective
|
||||||
|
|
||||||
|
Deliver the approved standalone Notarius v0.10.0 role interface, schema 6,
|
||||||
|
source-build identity, documentation, and offline role coverage. The feature
|
||||||
|
roadmap owns the scope and acceptance criteria. Change the role's coupled
|
||||||
|
configuration interface and its tests together, then record the workspace handoff.
|
||||||
|
|
||||||
|
## Execution Rules
|
||||||
|
|
||||||
|
- This staged plan is approved for implementation. Execute Stage 1 followed by
|
||||||
|
Stage 2; reread each stage's listed policies immediately before it.
|
||||||
|
- Confirm repository state and preserve unrelated changes. Commit each validated
|
||||||
|
stage in its owning repository, and mark its completion in this plan. Do not
|
||||||
|
push, publish, change suite pins, or deploy to an operational host.
|
||||||
|
- Keep the existing Git, binary stat/build, file and template flow. The binary
|
||||||
|
stat decides whether the imperative build is needed; rebuild only on checkout
|
||||||
|
change or missing binary. Preserve its change semantics and build environment.
|
||||||
|
Trust other modules to converge state. Add no production validation, version
|
||||||
|
probe, assembly facts, compatibility loader, state file, or custom module.
|
||||||
|
- Test supplied values and observable outcomes, not default snapshots, task
|
||||||
|
traces, trusted module postconditions, native framework internals, or cache
|
||||||
|
algorithms. No provider, preflight, extraction, credential, reference-file
|
||||||
|
read, HTTP service, or full upstream release suite is a required gate.
|
||||||
|
- Follow workspace tooling instructions for missing tools. Report an actual
|
||||||
|
unresolved prerequisite or contract conflict without weakening role behavior.
|
||||||
|
|
||||||
|
## Starting State and Preconditions
|
||||||
|
|
||||||
|
- The feature roadmap and this staged implementation plan are approved.
|
||||||
|
- `ansible-role-notarius` is clean on `main` at
|
||||||
|
`6aef48b7e12e3651971444b8c224d96ff1879e6c`, selecting v0.8.1, schema 5,
|
||||||
|
and Go `1.26/stable`. Recheck and preserve subsequent unrelated work.
|
||||||
|
- The read-only application source is `../notarius`; tag v0.10.0 resolves to
|
||||||
|
`752c9b44d2c0bb3bfb1e02a5d4379f7cc5b6261e`. Use that tag's contracts.
|
||||||
|
- The workspace `.venv` contains Ansible, `/snap/bin/go` is Go 1.27.4 on
|
||||||
|
`1.27/stable`, and passwordless sudo is available at planning time. If tools
|
||||||
|
are missing, follow the workspace README and pinned `requirements-dev.txt`.
|
||||||
|
- The local Ubuntu 26.04 host is the existing role test host. Its harness uses
|
||||||
|
sudo and manages `/usr/local/src/notarius`, `/usr/local/bin/notarius`, and
|
||||||
|
`/usr/local/etc/notarius/config.yml`; the existing imported fixture is
|
||||||
|
`/usr/local/etc/notarius/test-pipelines.yml`. Local testing may change these
|
||||||
|
paths and provision the Go Snap, distinct from operational deployment.
|
||||||
|
- Reuse the role's `collections/requirements.yml`, currently
|
||||||
|
`community.general` 13.3.0, and its temporary collection path. Keep other pins.
|
||||||
|
|
||||||
|
## Repository Scope
|
||||||
|
|
||||||
|
- `ansible-role-notarius` owns build/defaults/spec/template, README, and tests.
|
||||||
|
- The workspace owns implementation tracking and review evidence.
|
||||||
|
- `../notarius`, framework sources, and the reviewed Scriptorium/Audita roles
|
||||||
|
are read-only references. Follow upstream agent reading guides when inspecting.
|
||||||
|
- Other roles, assets, pipeline, collection, and consumer remain unchanged; do
|
||||||
|
not run their integration suites or change their compatibility selections.
|
||||||
|
|
||||||
|
## Stage 1: Deliver the Native Notarius Role and Offline Coverage
|
||||||
|
|
||||||
|
### Objective
|
||||||
|
|
||||||
|
Leave a coherent standalone role that installs v0.10.0 and renders schema 6
|
||||||
|
from field-specific caller inputs, with documentation and offline tests migrated
|
||||||
|
in the same commit.
|
||||||
|
|
||||||
|
### Required Policy Review
|
||||||
|
|
||||||
|
Read `AGENTS.md`, `docs/orientation.md`, `docs/conventions.md`,
|
||||||
|
`docs/ansible.md`, and `docs/testing.md`, then the approved feature roadmap and
|
||||||
|
its tagged configuration, native migration, shared reference, and operations
|
||||||
|
references. Read `../notarius/AGENTS.md` and its applicable reading guide and
|
||||||
|
inspect role-local agent instructions before editing.
|
||||||
|
|
||||||
|
### Preconditions
|
||||||
|
|
||||||
|
This plan is approved; starting-state and tool checks have been confirmed.
|
||||||
|
Inspect the role's defaults, argument spec, template, tasks, README, integration
|
||||||
|
harness, `tests/converge.yml`, and `tests/prepare-import.yml` before editing.
|
||||||
|
|
||||||
|
### Owning Repository
|
||||||
|
|
||||||
|
`ansible-role-notarius`
|
||||||
|
|
||||||
|
### Required Changes
|
||||||
|
|
||||||
|
1. Set `notarius_version: v0.10.0`, `notarius_config_version: 6`, and
|
||||||
|
`notarius_go_snap_channel: 1.27/stable`. Preserve the configured repository,
|
||||||
|
paths, metadata, dependency switch and Go executable. Build `./cmd/notarius`
|
||||||
|
with `-trimpath`, `CGO_ENABLED=0`, `GOWORK=off`, and `GOTOOLCHAIN=local`.
|
||||||
|
Replace the old ldflags with:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
"-s -w -X go.maximumdirect.net/releasekit/internal/runtimeinfo.injectedVersion={{ notarius_version }}"
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Implement all eight nullable native variables from the feature roadmap, with
|
||||||
|
optional list/dict/path/int types as specified there. Retain nullable
|
||||||
|
`notarius_pipelines`, `notarius_output_directory`, and
|
||||||
|
`notarius_debug_directory`. Remove all retired variables enumerated in the
|
||||||
|
roadmap from active defaults, spec, template, fixtures, and examples; mention
|
||||||
|
them only in migration guidance. Do not translate their values.
|
||||||
|
3. Use the existing single template. Always emit the selected version; render
|
||||||
|
imports at `config.imports`, native resource fields at `promptkit`, workers
|
||||||
|
at `concurrency.workers`, and cache directory at root. Omit null leaves and
|
||||||
|
empty parents using `is not none`, serialize caller structures unchanged,
|
||||||
|
and preserve supported falsey and nested-null values. Explicitly supplied
|
||||||
|
nulls yield only `version: 6`; no application policy defaults are invented.
|
||||||
|
4. Update README defaults, inventory example, validation, and migration guide.
|
||||||
|
Cover native resources and qualified IDs, source-relative imports and whole
|
||||||
|
record replacement, overlays versus LLM profiles, workers versus backend
|
||||||
|
admission, producer turns/mode versus transport retry and structural repair,
|
||||||
|
CLI migration and durable output boundary, and the cache/reference/debug
|
||||||
|
consequences stated in the roadmap. Link tagged upstream contracts. Explain
|
||||||
|
caller ownership of assets, shared references, credentials and runtime calls.
|
||||||
|
5. Migrate the existing harness in place, retaining temporary collection setup,
|
||||||
|
local inventory, cleanup, syntax and production lint. Use native `config
|
||||||
|
validate`, `config show`, `pipeline validate`, `promptkit show`, and `version`
|
||||||
|
commands, with flags following the full command path. Immediately repeat each
|
||||||
|
identical role case and require `changed=0` and `failed=0`:
|
||||||
|
|
||||||
|
- Explicitly set all optional application inputs to null and schema version
|
||||||
|
to 6; verify the managed document contains only the marker and validates.
|
||||||
|
- Supply synthetic backend/profile/prompt resources (including a namespaced
|
||||||
|
profile), source-relative schema root, positive workers, output/cache/debug
|
||||||
|
values, and caller-composed pipeline maps. Use a representative supported
|
||||||
|
pipeline shaped from the tagged minimal example, with native producer mode,
|
||||||
|
cache and turn controls and shared reference collection selections. Include
|
||||||
|
supported nested null/empty and falsey values; inspect deployed values and
|
||||||
|
selected resources offline, and run native pipeline validation without
|
||||||
|
provider calls, transcript bytes, reference bytes, or cache allocation.
|
||||||
|
- Exercise a caller-owned required import and empty containers in an existing
|
||||||
|
case, using native path-selected config inspection to confirm composition.
|
||||||
|
The role supplies import entries; fixture setup and cleanup own the file.
|
||||||
|
- Replace the v0.7.0 selection case with explicitly requested v0.10.0.
|
||||||
|
Retain missing-binary recovery using the caller's Go wrapper with dependency
|
||||||
|
management disabled, assert wrapper use and `notarius v0.10.0`, and repeat.
|
||||||
|
|
||||||
|
Native inspection assertions should cover supplied values, not derived
|
||||||
|
defaults or complete reports. Use valid fixture values; workers must be
|
||||||
|
positive, output directory nonempty, and schema root source-relative.
|
||||||
|
|
||||||
|
### Validation
|
||||||
|
|
||||||
|
From `ansible-role-notarius` run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bash -n tests/integration
|
||||||
|
git diff --check
|
||||||
|
tests/integration
|
||||||
|
```
|
||||||
|
|
||||||
|
The harness must install the pinned collection, pass syntax and production
|
||||||
|
profile lint, run native offline validation and inspection, verify explicit
|
||||||
|
version selection and recovery, and report four clean repeats. If lint attempts
|
||||||
|
an unrelated dependency download, its offline mode may be used after dependency
|
||||||
|
installation. Do not silence real lint failures.
|
||||||
|
|
||||||
|
### Completion Criteria
|
||||||
|
|
||||||
|
The role's defaults, spec, template, documentation and tests agree; the selected
|
||||||
|
version and supplied configuration pass offline, with clean repeats. No new
|
||||||
|
production task or build trigger exists. Record commands, results, fixture
|
||||||
|
adjustments and test-host changes for handoff.
|
||||||
|
|
||||||
|
### Commit
|
||||||
|
|
||||||
|
Commit intent: `Update Notarius to its native configuration interface`.
|
||||||
|
|
||||||
|
## Stage 2: Record the Implementation Handoff
|
||||||
|
|
||||||
|
### Objective
|
||||||
|
|
||||||
|
Record the tested role revision and leave Feature 0026 ready for independent
|
||||||
|
review while preserving the existing suite compatibility set.
|
||||||
|
|
||||||
|
### Required Policy Review
|
||||||
|
|
||||||
|
Reread `AGENTS.md`, `docs/orientation.md`, `docs/conventions.md`,
|
||||||
|
`docs/planning.md`, and `docs/testing.md` before recording validation claims.
|
||||||
|
|
||||||
|
### Preconditions
|
||||||
|
|
||||||
|
Stage 1 is committed and required checks passed. Inspect the actual role commit,
|
||||||
|
role working tree, workspace changes, and other repository status.
|
||||||
|
|
||||||
|
### Owning Repository
|
||||||
|
|
||||||
|
Workspace root.
|
||||||
|
|
||||||
|
### Required Changes
|
||||||
|
|
||||||
|
1. Record role commit, exact checks and results, supplied native configuration
|
||||||
|
and version outcomes, clean repeats, limitations, deviations, and test-host
|
||||||
|
changes in Feature 0026. State that independent review remains pending.
|
||||||
|
2. Update `docs/status.md`, the current upgrade-sequence entry, and concise plan
|
||||||
|
progress notes. Use `in_progress`, not `done`. Mark completion of this stage.
|
||||||
|
Do not begin Narratio adoption before review and closeout.
|
||||||
|
3. Preserve other repositories and dependency selections. Do not write speculative
|
||||||
|
remediation, publish, retire the plan, or claim a live deployment/provider test.
|
||||||
|
|
||||||
|
### Validation
|
||||||
|
|
||||||
|
From the workspace root run:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git diff --check
|
||||||
|
git -C ansible-role-notarius status --short
|
||||||
|
scripts/status
|
||||||
|
```
|
||||||
|
|
||||||
|
Check edited Markdown's local links. Compare the committed role diff and recorded
|
||||||
|
evidence against every feature acceptance criterion; reuse Stage 1's successful
|
||||||
|
checks for unchanged role code. Confirm out-of-scope trees and pins are unchanged.
|
||||||
|
Existing ahead-of-origin commits are not failures.
|
||||||
|
|
||||||
|
### Completion Criteria
|
||||||
|
|
||||||
|
Evidence accurately identifies the role revision and pending review. After the
|
||||||
|
handoff commit, role and workspace contain no uncommitted feature work; report
|
||||||
|
unrelated changes separately. No suite deployment or credential validation is
|
||||||
|
claimed.
|
||||||
|
|
||||||
|
### Commit
|
||||||
|
|
||||||
|
Commit intent: `Record the Notarius update for review`.
|
||||||
|
|
||||||
|
## Final Validation and Handoff
|
||||||
|
|
||||||
|
Report both commits, commands and results, deviations, remaining failures, and
|
||||||
|
any complexity added beyond the planned task flow with the requirement that
|
||||||
|
justified it. Identify local test-host changes. Feature 0026 stays in progress
|
||||||
|
until independent review; Narratio follows review and closeout.
|
||||||
|
|
||||||
|
## Progress Notes
|
||||||
|
|
||||||
|
Roadmap and staged plan approved on 2026-12-03. Ready for implementation;
|
||||||
|
no implementation stage has begun.
|
||||||
|
|||||||
@@ -4,11 +4,11 @@ Last updated: 2026-12-03
|
|||||||
|
|
||||||
Current milestone: Operational D&D pipeline deployment
|
Current milestone: Operational D&D pipeline deployment
|
||||||
|
|
||||||
Current focus: Feature 0026's standalone Notarius v0.10.0 roadmap is approved;
|
Current focus: Feature 0026's standalone Notarius v0.10.0 roadmap and staged plan
|
||||||
preparing its staged implementation plan is next. Features 0024 and 0025 are
|
are approved and ready for implementation. Features 0024 and 0025 are
|
||||||
complete after independent review with no findings, at Scriptorium role `e936d52`
|
complete after independent review with no findings, at Scriptorium role `e936d52`
|
||||||
and Audita role `b818f60`.
|
and Audita role `b818f60`.
|
||||||
No implementation plan is active.
|
The active plan is at `docs/roadmap/implementation.md`.
|
||||||
The agreed sequence is
|
The agreed sequence is
|
||||||
Scriptorium → Audita → Notarius → Narratio → coordinated assets/suite integration
|
Scriptorium → Audita → Notarius → Narratio → coordinated assets/suite integration
|
||||||
→ collection and consumer updates. Existing suite pins remain unchanged. See the
|
→ collection and consumer updates. Existing suite pins remain unchanged. See the
|
||||||
@@ -52,7 +52,7 @@ Scriptorium → Audita → Notarius → Narratio → coordinated assets/suite in
|
|||||||
| F0023 | Adopt Narratio v3.1.0 and forward Scriptorium credentials | Narratio role, pipeline role, collection, consumer, and workspace | done | Public Narratio role `758aed7a`, pipeline `0f841fd`, collection `002e86c`; local consumer `67cc22f`. Independent review found no actionable issues; [feature evidence](roadmap/features/0023-narratio-scriptorium-credentials.md) |
|
| F0023 | Adopt Narratio v3.1.0 and forward Scriptorium credentials | Narratio role, pipeline role, collection, consumer, and workspace | done | Public Narratio role `758aed7a`, pipeline `0f841fd`, collection `002e86c`; local consumer `67cc22f`. Independent review found no actionable issues; [feature evidence](roadmap/features/0023-narratio-scriptorium-credentials.md) |
|
||||||
| F0024 | Adopt Scriptorium v0.16.0 | Scriptorium role and workspace | done | Role `e936d52` passed independent review with no findings and a fresh full offline suite run; [completion evidence](roadmap/features/0024-scriptorium-v0-16-adoption.md); suite unchanged |
|
| F0024 | Adopt Scriptorium v0.16.0 | Scriptorium role and workspace | done | Role `e936d52` passed independent review with no findings and a fresh full offline suite run; [completion evidence](roadmap/features/0024-scriptorium-v0-16-adoption.md); suite unchanged |
|
||||||
| F0025 | Adopt Audita v4.3.0 | Audita role and workspace | done | Role `b818f60` passed independent review with no findings and a fresh full offline suite run; [completion evidence](roadmap/features/0025-audita-v4-adoption.md); suite unchanged |
|
| F0025 | Adopt Audita v4.3.0 | Audita role and workspace | done | Role `b818f60` passed independent review with no findings and a fresh full offline suite run; [completion evidence](roadmap/features/0025-audita-v4-adoption.md); suite unchanged |
|
||||||
| F0026 | Adopt Notarius v0.10.0 | Notarius role and workspace | ready | [Feature roadmap](roadmap/features/0026-notarius-v0-10-adoption.md) approved; staged implementation plan is next; suite unchanged |
|
| F0026 | Adopt Notarius v0.10.0 | Notarius role and workspace | ready | [Feature roadmap](roadmap/features/0026-notarius-v0-10-adoption.md) and [staged implementation plan](roadmap/implementation.md) approved; ready for implementation; suite unchanged |
|
||||||
| R0001 | Simplify completed standalone-role test suites | workspace and standalone roles | done | Role commits `e08c63c`, `d2d0b9d`, and `cfecf37` passed implementation and independent review |
|
| R0001 | Simplify completed standalone-role test suites | workspace and standalone roles | done | Role commits `e08c63c`, `d2d0b9d`, and `cfecf37` passed implementation and independent review |
|
||||||
|
|
||||||
## Updating This File
|
## Updating This File
|
||||||
|
|||||||
Reference in New Issue
Block a user