Files
ansible-workspace-dnd/docs/roadmap/application-upgrade-sequence.md

170 lines
10 KiB
Markdown
Raw Normal View History

# Application Upgrade Sequence
## Current Sequence: Native Interfaces and Shared Inputs
Decision agreed: 2026-12-02, following review of the public release tags.
**Scriptorium → Audita → Notarius → Narratio → coordinated assets/suite
integration → collection and consumer updates.**
| Application | Starting suite version | Adoption target |
| --- | --- | --- |
| Scriptorium | v0.15.0 | v0.16.0 |
| Audita | v2.0.1 | v4.3.0 |
| Notarius | v0.8.1 | v0.10.0 |
| Narratio | v3.1.0 | v4.0.0 |
These are repository selections, not observations of an operational host.
Seriatim remains at v1.5.0. The reviewed Narratio v4.0.0 integration baselines
match the other three targets.
2026-12-03 12:22:25 +00:00
- [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.
2026-12-03 14:33:45 +00:00
- [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.
2026-12-03 16:05:52 +00:00
- [x] [Feature 0026: Standalone Notarius adoption](features/0026-notarius-v0-10-adoption.md) — closed after independent review with no findings; role `85cd3a3` passed the full offline suite and all clean repeats.
- [x] [Feature 0027: Standalone Narratio adoption](features/0027-narratio-v4-adoption.md) — closed after independent review with no findings; public role `2a4e82c` passed the full offline suite and all clean repeats.
- [ ] Compatible prompt/campaign assets and coordinated suite integration.
- [ ] Collection assembly and consumer dependency/guidance updates.
All four standalone adoptions are complete after independent review, and their
reviewed role commits are pushed. Coordinated assets/suite integration is next.
Later features will be scoped individually; this ordering does not require
separate features for every listed integration deliverable. Keep one active
implementation plan at
2026-12-03 12:22:25 +00:00
[implementation.md](implementation.md), following roadmap approval.
### Boundaries and Migration Consequences
Standalone features own generic application interfaces, build requirements,
documentation, and focused offline role tests. They do not advance pipeline,
collection, or consumer pins. Preserve the existing suite compatibility set
until coordinated integration; do not install a mixture of old callers and new
incompatible native CLIs.
Track prompt-library and campaign-document migrations explicitly alongside
the application work. Asset repositories remain authoritative for content;
integration owns their compatible deployment and configuration bindings.
Do not update a tracked asset branch to an incompatible format without carrying
forward the effect on the existing suite, which currently follows `main`.
Choose the asset revision/cutover arrangement when planning that work.
Carry these reviewed consequences into the owning feature roadmaps:
- All four applications require Go 1.27.0 or newer and use ReleaseKit version
identity. Update source-build contracts without adding role-private state.
- Scriptorium requires native CLI, imports, and PromptKit resource migration.
- Audita requires configuration schema 3, ordered stages, native PromptKit
resources, removal of confidence thresholds, and shared runtime glossaries.
- Notarius requires configuration schema 6, native producer/concurrency
controls, shared party/glossary references, and accepted-result caching.
Preserve `/var/cache/notarius` as the suite location; model changes alone
do not invalidate acceptance, so fresh experiments need refresh or bypass.
- Narratio requires native commands, shared campaign inputs, explicit secrets
bootstrap configuration, and replacement of retired downstream/cache fields.
Older local manifests are unsupported; follow upstream guidance for a new
baseline and compatible product imports, preserving old work separately.
- Review Narratio's cleanup retention explicitly: the enabled suite option
will remove the entire session run history under the new release.
- Native preflight can contact providers. It is an operator workflow, not a
new online gate for Ansible convergence or offline role tests.
The four tagged release notes and their linked migration guides own the exact
application contracts: [Scriptorium v0.16.0](https://gitea.maximumdirect.net/eric/scriptorium/src/tag/v0.16.0/docs/releases/v0.16.0.md),
[Audita v4.3.0](https://gitea.maximumdirect.net/eric/audita/src/tag/v4.3.0/docs/releases/v4.3.0.md),
[Notarius v0.10.0](https://gitea.maximumdirect.net/eric/notarius/src/tag/v0.10.0/docs/releases/v0.10.0.md),
and [Narratio v4.0.0](https://gitea.maximumdirect.net/eric/narratio/src/tag/v4.0.0/docs/releases/v4.0.0.md).
This decision authorizes planning in that order. Deployment, live provider
checks, and release publication remain separately scoped activities.
## Historical Sequence: Completed September 2026
The remainder records the earlier, completed sequence. Its version-specific
migration notes are historical and do not define the current targets above.
Decision agreed: 2026-09-28
## Purpose and Order
Adopt the newly released applications through focused, individually reviewed
features in this order:
**Scriptorium → Audita → Notarius → Narratio → suite integration.**
This document tracks the cross-feature direction, not implementation steps.
Each feature roadmap owns its scope and decisions. Only one staged plan is
active at a time, at [implementation.md](implementation.md).
## Version Baseline
These are the suite pins at the start of this upgrade, not assertions about
what is installed on an operational host. Targets are the releases reviewed
on the decision date; later releases require deliberate review.
| Application | Starting suite version | Adoption target |
| --- | --- | --- |
| Scriptorium | v0.13.0 | v0.15.0 |
| Audita | v0.9.1 | v2.0.1 |
| Notarius | v0.7.1 | v0.8.1 |
| Narratio | v2.2.0 | v3.0.0 |
Seriatim is unchanged by this sequence.
## Progress and Feature Links
Release-summary and migration-guidance triage is complete. Standalone
Scriptorium, Audita, Notarius, and Narratio adoption are complete after independent
review. Coordinated suite integration and its three review remediations are
complete. This upgrade sequence was closed on 2026-09-29; operational deployment
and a new tagged release remain separate activities.
- [x] [Feature 0018: Scriptorium adoption](features/0018-scriptorium-v0-15-adoption.md) — complete through role `b174c8c`; independent review found no remediation issues.
- [x] [Feature 0019: Audita adoption](features/0019-audita-v2-adoption.md) — complete through role `c3dd59f`; independent review found no remediation issues.
- [x] [Feature 0020: Notarius adoption](features/0020-notarius-v0-8-adoption.md) — complete through role `6aef48b`; independent review found no remediation issues; suite unchanged.
- [x] [Feature 0021: Narratio adoption](features/0021-narratio-v3-adoption.md) — complete through role `3c0700b`; independent review found no remediation issues; suite unchanged.
- [x] [Feature 0022: Coordinated suite integration](features/0022-coordinated-suite-upgrade.md) — complete with three review findings resolved at public pipeline `37b1cf6`, public collection `b3bc045`, and local consumer `15f0f4e`.
## Adoption Boundaries
Completing a standalone-role update does **not** advance the suite's application
or role dependency pins, collection snapshot, or deployment-repository pins.
Keep that existing compatibility set until the final integration feature
assembles and validates the coordinated configuration.
Standalone features own generic application interfaces. The integration feature
owns D&D defaults, cross-application configuration, testing overlays, credential
references, compatible dependency pins, and consumer upgrade guidance. Each
feature follows roadmap → staged plan → implementation → review → closeout.
No operational deployment is authorized merely by this sequencing decision.
## Compatibility Constraints to Carry Forward
- **Scriptorium is not a documentation-only upgrade from our baseline.** The
intervening v0.14.0 introduces ConfigKit and changes configuration acceptance,
selection, and retry behavior. Review those changes as well as v0.15.0's
licensing and dependency updates.
- **Audita and Narratio need a coordinated suite cutover.** Audita v2 requires
migrated configuration; Narratio v3 expects that interface and no longer owns
the retired downstream settings or generated Audita configuration.
- **Overlay terminology changes on both sides of the Notarius boundary.**
Narratio's selector and the suite-managed downstream files must migrate
together. Preserve explicit selection and independent application ownership.
- **Existing Narratio manifests need operator migration guidance.** Carry the
upstream provenance-field migration into final integration planning. Preserve
session progress; do not infer a requirement to delete checkpoints, force all
stages, edit immutable remote snapshots, or automate the migration.
- **Review retry and timeout semantics explicitly.** New transport retry and
repair behavior is not necessarily equivalent to the previous settings.
Preserve user intent without copying old values mechanically or inventing
new suite policy.
The upstream documentation remains authoritative for exact fields and migration
procedures:
- [Scriptorium v0.14.0](https://gitea.maximumdirect.net/eric/scriptorium/src/tag/v0.14.0/docs/releases/v0.14.0.md)
and [v0.15.0](https://gitea.maximumdirect.net/eric/scriptorium/src/tag/v0.15.0/docs/releases/v0.15.0.md).
- [Audita v2 migration](https://gitea.maximumdirect.net/eric/audita/src/tag/v2.0.1/docs/migrations/v2.md).
- [Notarius v0.8.0](https://gitea.maximumdirect.net/eric/notarius/src/tag/v0.8.0/docs/releases/v0.8.0.md)
and [v0.8.1](https://gitea.maximumdirect.net/eric/notarius/src/tag/v0.8.1/docs/releases/v0.8.1.md).
- [Narratio v3.0.0](https://gitea.maximumdirect.net/eric/narratio/src/tag/v3.0.0/docs/releases/v3.0.0.md)
and [migration procedures](https://gitea.maximumdirect.net/eric/narratio/src/tag/v3.0.0/docs/operations.md#migrating-manifest-overlay-provenance).