Issue #592 Scenario-Pack Terminology Preflight¶
This historical Reference preserves the original source record.
The record below describes its own evidence date and revision, where stated.
It does not establish current behavior, implementation completion, or installed qualification.
The preserved file is available at source revision 6d35d245f11a.
Its last recorded file change before this rewrite was 76024b0323cb.
Current interfaces and successor decisions take precedence for present use.
The inventory includes a dated maintenance row for the #1667 architecture rewrite.
This note fixes the terminology boundary for issue #592. It does not rename a
runtime identifier, migrate an asset, or change pack acquisition. The issue
predates the ACES-to-RAES project rename and the companion repository's current
OpenRAE/env-packs identity. Its architectural intent remains current: APTL
documentation must use the portable system's current vocabulary and must not
present an APTL-private catalog concept as a companion contract.
No new ADR is required. ADR-035 assigns portable scenario meaning to RAES, ADR-053 owns pack/backend interaction, issue #589 records the four-way capture and pack-ownership boundary, and issue #934 governs current versus historical identity wording.
Terminology decision¶
| Meaning | Canonical wording | Boundary |
|---|---|---|
| Portable authored meaning | RAES scenario, RAES SDL, or RAES runtime contract | OpenRAE/rae owns the schemas, parser, semantic validation, compilation, planning, diagnostics, and controlled vocabulary. |
| Reusable packaged scenario material | RAES environment pack or environment pack | OpenRAE/env-packs owns the pack format, schemas, validation, tooling, and released pack bytes. Use scenario pack only as the broader domain category, in an issue or historical title, or when distinguishing TechVault as pack-specific rather than product-owned. |
| APTL operator selection index | APTL startup catalog or curated scenario catalog | scenarios/catalog.json and aptl.core.scenario_catalog.ScenarioCatalog are an APTL-owned alias and card-metadata index. They are not a portable RAES schema, a pack registry, or the companion repository. |
| One admitted source | scenario source, ScenarioBundle, and, when present, validated pack identity/version/digest |
APTL stages and admits a selected source. Do not call an arbitrary URL, directory, package index, or repository a catalog entry accepted by the runtime. |
| Exact compatibility identity | The literal identifier, for example env-pack, raes-env-packs, raes_env_packs, ScenarioSourceKind.ENV_PACK, scenario_catalog, or scenarios/catalog.json |
Code, config, package, CLI, telemetry, and persisted identifiers are contracts rather than prose. Issue #592 does not rename them. |
| Historical evidence | The name recorded at the time, including ACES and Brad-Edwards/aces-scenario-packs |
Accepted ADRs, requirements, issue titles, changelog entries, and sealed evidence retain historical identity. Current guidance may explain the successor name; it must not rewrite history. |
The unqualified statement that "catalogs" own scenario content is too broad.
Current prose must name the actual owner: RAES owns portable meaning;
OpenRAE/env-packs owns the environment-pack contract and released pack bytes;
the scenario author owns the authored scenario; and APTL owns its local startup
catalog and runtime realization. APTL's catalog must not be generalized into a
cross-repository catalog abstraction.
Repository documentation inventory¶
docs/architecture/issue-954-runtime-docs-and-test-authority-preflight.md: candidate runtime and test authority boundaries.
The repository-scoped terminology inventory at this preflight has these surfaces. Generated dependency files and source/test identifiers are excluded from the documentation inventory, but their contracts are named below because prose must not accidentally rename them.
| Surface | Files | Disposition |
|---|---|---|
| Architecture rewrite (2026-11-08, issue #1667) | docs/adrs/adr-001-docker-compose-deployment.md, docs/architecture/documentation-boundaries.md, docs/architecture/enterprise-infrastructure.md, docs/architecture/networking.md, docs/reference/compose-topology.md |
Keep admitted Scenario Pack declarations distinct from root compatibility stubs and native runtime observations. |
| Documentation migration assignments | docs/architecture/documentation-assignments.md |
Assign delivery ownership and reader purpose. Preserve exact source headings and pack terminology. |
| Required trial readiness | docs/architecture/exp-011-resource-readiness-design.md |
Keep admitted environment-pack and entry identity distinct from native resource observations and read-only source readiness. |
| Released RAES dependency adoption | docs/architecture/issue-1603-raes-11-module-locations-preflight.md, docs/architecture/issue-1603-released-module-design.md |
Keep dependency floors, exact released pack identities, installed adapter qualification, and observed runtime state distinct. |
| Scoped participant tool qualification | docs/architecture/issue-1646-scoped-tool-affordances-preflight.md, docs/testing/scoped-tools-1646-candidate.md |
Keep released environment-pack identity distinct from the installed tool authority and tested candidate artifact. |
| Participant tool admission | docs/architecture/participant-action-enforcement.md |
Keep environment-pack release identity distinct from installed native tool mappings and RAES action authority. |
| Native realization reporting and runtime dependencies | docs/adrs/adr-007-python-cli-control-plane.md, docs/architecture/issue-1130-owned-descendant-reporting-design.md, docs/architecture/issue-1130-runtime-realization-attestation-preflight.md |
Keep the released environment-pack identity distinct from the RAES reporting contract, Python dependency boundary, native ownership and protected evidence handoff. |
| Pack boundary enforcement | docs/architecture/issue-1121-pack-boundary-preflight.md |
Preserve original and independent RPT adapter ownership, exact compatibility exceptions, and selected host requirements. |
| Native runtime readback | docs/architecture/issue-1017-native-runtime-attestation-design.md, docs/architecture/issue-1017-techvault-bridge-retirement-preflight.md |
Keep released pack identity and author authority distinct from backend native observations and installed reader capabilities. |
| PHP image re-pin | docs/architecture/issue-1407-php-image-repin-preflight.md |
Keep the released environment-pack MISP and Roundcube selectors distinct from the backend-selected image digests and the MISP web companion. |
| Configured pack source | docs/architecture/issue-1413-configured-pack-source-preflight.md |
Keep release-directory acquisition distinct from portable pack semantics, content identity, installed adapters, and backend realization. |
| TechVault SOC dependency removal | docs/adrs/adr-063-remove-thehive-and-cortex.md, docs/architecture/issue-1411-thehive-license-readiness-preflight.md |
Keep the pack's service declarations and release decision distinct from LilRAE's adoption and realization of that release. |
| Released experiment tuple and family adapters | docs/architecture/issue-1465-released-experiment-tuple-preflight.md, docs/architecture/issue-1465-released-experiment-tuple-design.md, docs/architecture/family-adapter-contract.md, docs/reference/family-adapters.md |
Keep the env-packs experiment loader and the RAES trial compiler distinct from LilRAE family admission and the installed adapter. |
| Trusted source image bindings | docs/architecture/issue-1097-trusted-source-image-preflight.md, docs/source-image-catalog.md |
Keep released environment-pack source declarations distinct from the backend-owned immutable image catalog, runtime authority, and independent image evidence. |
| PyPI distribution transition | docs/architecture/issue-1234-pypi-transition-preflight.md |
Preserve environment-pack and installed-provider ownership while changing only the product distribution and release wiring. |
| Participant desktop adapter boundary | docs/architecture/issue-1273-participant-desktop-adapter-preflight.md, docs/reference/appliance-seat-launcher.md |
Keep authored pack references distinct from generic desktop resolution, publication, and rule-tool validation. |
| Dashboard owner-declared config | docs/architecture/issue-1422-wazuh-dashboard-config-readability-preflight.md, docs/architecture/issue-1422-wazuh-dashboard-owned-config-design.md |
Keep pack-declared file owners and modes distinct from generic content placement and the backend profile start steps. |
| LilRAE public naming boundary | docs/architecture/issue-1232-lilrae-naming-preflight.md |
Preserve pack, RAES, and backend ownership while explaining the project's public name and retained compatibility identifiers. |
| TheHive and Cortex removal | docs/adrs/adr-063-remove-thehive-and-cortex.md, docs/architecture/issue-1411-thehive-license-readiness-preflight.md |
Keep the TechVault pack removal in env-packs distinct from the LilRAE realization, MCP server, and SOC integration that LilRAE removes when it adopts that pack release. |
| LilRAE name and command decisions | docs/adrs/adr-062-lilrae-name-and-naming-convention.md |
The command successor clause (#1402) renames only the CLI command. The TechVault environment pack keeps its own frozen sync-service command name; a pack change, not the backend, can rename it. |
| Shipped seat network investigation | docs/architecture/issue-1194-shipped-seat-network-preflight.md |
Keep authored environment-pack topology distinct from APTL runtime attachment verification and shipped seat delivery evidence. |
| Base-container terminology | docs/architecture/issue-1193-base-container-terminology-preflight.md |
Keep env-pack artifact resolution and authored content sources distinct from the base-container node route and its base image. |
| Historical seat implementation audit | docs/architecture/issue-1022-historical-branch-audit.md |
Distinguish historical pack inputs from current APTL guest realization and delivery policy. |
| TechVault database realization | docs/architecture/issue-1183-techvault-postgresql-startup-preflight.md |
Keep the pack's declared database, schema, and seed content distinct from APTL's backend-selected client-authentication posture and initialization bookkeeping. |
| Wazuh API cold-boot recovery | docs/architecture/issue-1188-wazuh-api-cold-boot-preflight.md |
Keep the exact-pack recovery boundary and observed process failure distinct from the pack's authored content and an unproven API exit trigger. |
| Canonical participant delivery and host access | docs/adrs/adr-059-canonical-techvault-delivery-and-host-mcp-access.md, docs/raes/issue-601-participant-demonstration.md, docs/reference/host-mcp-access.md, docs/reference/mcp.md, docs/reference/participant-profile.md |
Keep the TechVault pack identity distinct from the APTL-owned delivery, transport and qualification contracts. |
| Current user and authoring guidance | README.md, docs/deployment.md, docs/index.md, docs/reference/cli.md, docs/reference/techvault-scenario-overview.md, docs/sdl/index.md, docs/sdl/techvault-curated-variants.md, docs/testing/smoke-test-plan.md |
Treat docs/sdl/index.md as the exemplar: companion authoring and format links are separate from the APTL-owned operator catalog and runtime section. Qualify nearby catalog prose as APTL startup selection when context is not explicit. |
| Accepted realization and pack-boundary decisions | docs/adrs/adr-012-opentelemetry-integration.md, docs/adrs/adr-035-raes-sdl-adoption.md, docs/adrs/adr-046-dynamic-raes-scenario-realization.md, docs/adrs/adr-053-pack-backend-deployment-serving-interaction-seam.md |
Preserve decision history. Add current clarification around historical names instead of mechanically rewriting accepted records. |
| Proposed product and release decisions | docs/adrs/adr-054-lilrae-core-and-experience-ownership.md, docs/adrs/adr-058-adoption-and-security-release-gates.md |
Keep TechVault pack-specific and APTL runtime-specific concerns distinct. Replace ambiguous ownership by unnamed "catalogs" only when editing current prose. |
| Current architecture guidance | docs/architecture/issue-1000-manual-release-qa-preflight.md, docs/architecture/issue-1002-wazuh-api-tls-warmup-preflight.md, docs/architecture/issue-589-scenario-pack-capture-ownership-preflight.md, docs/architecture/issue-601-participant-demonstration-preflight.md, docs/architecture/issue-851-first-time-user-docs-preflight.md, issue-591-scenario-pack-capture-asset-ownership-preflight.md, issue-866-techvault-realization-contract-preflight.md, issue-875-scenario-content-declaration-preflight.md, issue-878-scenario-verification-plugin-seam-preflight.md, issue-912-misp-redis-post-realization-mutation-preflight.md, issue-913-shuffle-post-realization-mutation-preflight.md, issue-934-rename-boundary-preflight.md, issue-949-orborus-control-authority-preflight.md, issue-951-fresh-env-pack-start-preflight.md, issue-955-systemd-substrate-privilege-preflight.md, issue-957-wazuh-attestation-evidence-credentials-preflight.md, issue-970-generic-lab-lifecycle-preflight.md, issue-956-sdl-runtime-authority-materialization-preflight.md, issue-980-pack-adapter-install-seam-preflight.md, issue-985-owned-lab-fixture-preflight.md, issue-992-backend-observability-ownership-preflight.md, issue-1006-container-base-images-preflight.md |
Reuse their ownership, admission, realization, validation, and historical-identity decisions. Do not create a second terminology or pack-ownership model. |
| Owned test fixture pack | docs/testing/lab-fixture-pack.md |
The fixture is a test input APTL admits through the production resolver. It is not a released environment pack, an APTL startup-catalog entry, or a product scenario. |
| Extension documentation | src/aptl_techvault/README.md |
A plugin may be compatible with an exact pack binding; it is neither the pack, RAES, an APTL startup-catalog entry, nor a new catalog authority. |
| Historical requirements and review evidence | docs/requirements/SCN-010/requirement.md, docs/reviews/962-lilrae-readiness/ |
Preserve historical names and exact recorded links. The review's backlog and identity dispositions provide current interpretation without changing the underlying evidence. |
| Code quality architecture | docs/architecture/issue-1510-code-quality-preflight.md |
Keep env-pack validation and pack admission authority unchanged while the refactor moves code between layers. |
| Developer and CI tools architecture | docs/architecture/issue-1580-developer-ci-tools-preflight.md |
Keep env-packs admission and the pack boundary checker's owner-derived facts unchanged when the tools change language. |
| Terminology record and navigation labels | docs/architecture/issue-592-scenario-pack-terminology-preflight.md, docs/architecture/index.md, mkdocs.yml |
Titles may preserve an issue's or file's historical locator. Descriptive labels for current contracts use the terminology above. |
| User and workshop rewrite | docs/getting-started/environment-bindings.md, docs/getting-started/pack-reference.md |
Keep admitted pack identity, adapter behavior, runtime observations, and historical qualification distinct. |
| Scenario pack installation guide | docs/getting-started/installing-packs.md |
Keep the content-pack and adapter distinction and the env-pack identity and source selection; do not rename the pack, RAES, or backend contracts. |
| Interface and scenario rewrite | docs/containers/victim-template-guide.md, docs/reference/interface-source-checks.md |
Keep upstream environment-pack authoring distinct from backend realization and observed evidence. |
| Lab start trials | docs/reference/lab-start-trials.md |
Keep the trial SDL declarations and the scenario pack's prompt assets distinct from the LilRAE trial record. |
The inventory identified three current-prose hazards for issue #592 to resolve: the tautological rename sentence at the start of the issue #589 preflight, the unqualified "Catalogs and env-packs" owner in ADR-054, and README wording in which "The catalog ships" immediately follows the companion-repository paragraph. The implementation clarifies the current project name, names each content and runtime owner, and qualifies the catalog as APTL's startup catalog. None justifies changing a code or persisted identifier.
Issue #880 consumption guidance
The acquired runtime path and retained backend/fixture ownership are documented
in docs/architecture/issue-880-techvault-env-pack-consumption-preflight.md,
docs/components/default-defensive-posture.md, docs/components/wazuh-siem.md,
docs/getting-started/installation.md, docs/getting-started/quick-start.md, and
docs/sdl/complex-scenarios.md.
| Contributor reconciliation, 2026-11-12 | docs/reference/documentation-toolchain.md, docs/reference/parser-boundaries.md, docs/reference/release-contract.md, docs/reviews/1668-contributor-source-checks.md, docs/security/update-assessment.md, docs/testing/index.md | Keep scenario content, runtime ownership, source records, and current interface descriptions distinct. |
Required incumbent boundaries¶
This is a documentation-only change. It adds no security, configuration, network, persistence, or OS exposure. Companion hyperlinks are references for humans; they are not runtime source URLs, trust roots, resolver inputs, or authorization grants.
Any implementation that expands beyond prose is outside issue #592 and must reuse, rather than duplicate, these incumbents:
| Cross-cutting layer | Canonical incumbent and required passage |
|---|---|
| Local selection shape | ScenarioCatalog, ScenarioCatalogEntry, and ScenarioCatalogMetadata in aptl.core.scenario_catalog, including strict Pydantic shapes, unique IDs, project containment, and RAES parsing. Do not mirror this schema in docs, the API, or a pack model. |
| Pack ingress and validation | ScenarioSourceConfig, resolve_scenario_bundle(), ScenarioBundle, env_pack_bundle(), env-packs validate_pack() / validate_pack_content_manifest(), and aptl.utils.pathsafe. An external documentation link never bypasses installed-package acquisition, exact identity/digest validation, contained immutable staging, or no-follow path checks. |
| Portable semantic validation | RAES public SDL models, parse_sdl_file, compiler/planner diagnostics, RuntimeModel, and ExecutionPlan. APTL does not create a scenario-pack DTO, vocabulary, parser, or validation fork. |
| Capability and lifecycle handoff | create_aptl_manifest(), create_aptl_runtime_target(), start_raes_scenario(), DeploymentBackend, and the existing lab lifecycle. Do not dispatch on a repository name, catalog label, pack display name, or nearby file. |
| API and error envelope | The existing authenticated /api/scenarios router, narrow response DTOs, ScenarioNotFoundError / ScenarioValidationError, generic HTTP details, and redacted projection errors remain the only catalog API surface. Do not expose catalog paths, raw RAES objects, parser errors, or pack bytes. |
| Auth, secrets, and configuration | verify_token, WebAuthSettings, BFF host/CSRF/session protections, strict AptlConfig, EnvVars, placeholder validation, and generated-config owners remain unchanged. Pack or catalog prose never selects credentials, environment keys, host paths, providers, commands, or policy. |
| Logging and observability | get_logger, redact, bounded RAES diagnostics, and LabResult remain authoritative. No raw source content, internal path, credential, parser payload, backend stderr, URL token, or plugin metadata is added to logs or error envelopes. |
| Persistence | Existing snapshot/run-store and content-addressed evidence boundaries remain unchanged. Terminology is not a schema migration and must not rewrite persisted source kinds, pack identities, historical evidence, or archive readers. |
| OS/process exposure | None for this issue. No repository link or pack/catalog field may flow to shell text, process argv, Docker/Compose commands, SSH, curl, import strings, or unrestricted filesystem access. |
The extensibility seam remains (pack identity, version, digest, scenario entry
point) admitted through ScenarioBundle, with APTL startup aliases as a
separate optional projection. A future pack source varies behind the authorized
resolver and trust-root policy; it does not add another catalog schema or make
the source kind, repository name, or pack identity a dispatch branch.
Guardrails and anti-patterns¶
- Do not globally replace ACES with RAES or rewrite immutable historical records, links, schema keys, import roots, issue titles, or changelog entries.
- Do not call
OpenRAE/env-packsa private catalog, make APTL's startup catalog a portable pack contract, or imply that catalog listing proves acquisition, admission, realization, readiness, qualification, or semantic verification. - Do not collapse a RAES scenario, an environment pack, an APTL catalog alias,
a
ScenarioBundle, a verifier plugin, and a running lab into one concept. - Do not introduce a pack/catalog DTO, validator, exception hierarchy, logger, resolver, workflow engine, persistence record, API route, or compatibility alias for a terminology-only issue.
- Do not move product-specific container, Compose, credential, host path, MCP, readiness, evidence, or lifecycle language into RAES or environment-pack authoring sections. Keep it in explicitly APTL-owned sections.
- Do not turn documentation hyperlinks into package acquisition or runtime trust configuration.
Non-goals and implementation boundary¶
- No scenario, environment-pack, capture, inventory, plugin, or evidence asset migration.
- No change to RAES or env-packs contracts, dependencies, package coordinates, schemas, validation, controlled vocabularies, or repository ownership.
- No rename of source, config, CLI, API, telemetry, persistence, or error identifiers, and no compatibility layer for old prose.
- No change to APTL scenario selection, pack acquisition, lab realization, authentication, secret handling, logging, observability, or persistence.
- No claim that the historical companion repository remains a current runtime source. Current documentation links and runtime trust are separate concerns.