Repository navigation
Align Kali, port, and socket docs and stale references with the shipped runtime #954
Description
The original report found removed scenario paths, a missing default catalog entry, and docs and tests describing old images, ports, and Docker sockets.
#851 has since fixed the front-door quick-start. The README, docs/getting-started/installation.md, and docs/getting-started/quick-start.md only use commands the CLI provides. aptl lab scenarios lists techvault from the installed pack, and the quick-start documents --scenario techvault. This issue now covers only the remaining mismatches.
Remaining work
Kali, published ports, and Docker sockets
docs/components/kali-redteam.mdcontradicts itself and the runtime:- line 27 says no host port is published, but line 51 gives
ssh … kali@localhost -p 2023; - it states the base image is
kalilinux/kali-last-release; - it links the removed
containers/kali/Dockerfile.
- line 27 says no host port is published, but line 51 gives
docs/containers/victim-template-guide.md:165usesssh kali@localhost -p 2023.- No user docs describe which services mount the host Docker socket or why.
Stale secondary docs
-
docs/components/kali-redteam.md:58refers toaptl scenario start, which does not exist. -
docs/requirements/CLI-005/requirement.md:24traces to the missingsrc/aptl/cli/scenario.py. -
Docs under
docs/raes/cite the missingscenarios/techvault.sdl.yamlandscenarios/techvault-operational.sdl.yaml:dsl-008-realization-preflight.mdm1-raes-conformance-truth-up-preflight.mdtechvault-curated-live-validation-gate.mdtechvault-live-validation-preflight.mdtechvault-static-validation-preflight.md
Fix them, or mark them as dated historical records.
Tests against the Compose stub
docker-compose.ymlis a stub ("No config on this stub is live"), but 37 test files still parse it, for exampletests/test_docker_compose_port_bindings.pyandtests/test_kali_capture_compose.py. Those assertions test nothing live.
Done when
- Kali, published-port, and Docker socket documentation matches the rendered candidate runtime.
- No user-facing or requirement doc references a removed command, source file, or scenario path, unless it is marked as a dated historical record.
- Tests that assert runtime properties check rendered or observed behavior, not the Compose stub. Tests that only exercise the stub are removed or retargeted.
Activity
aptl lab init+aptl lab startfails at the bind-mount preflight for every scenario (5.2.0 and dev) #951[-]Quick-start docs, scenario catalog, and compose tests describe a range that no longer exists[/-][+]Make quick-start instructions and catalog match the shipped lab[/+][-]Make quick-start instructions and catalog match the shipped lab[/-][+]Align Kali, port, and socket docs and stale references with the shipped runtime[/+]docs(requirements): leave CLI-005's statement for the requirement audit
docs(requirements): leave CLI-005's statement for the requirement audit
Brad-Edwards commentedon Oct 12, 2026
🛠️ Picked up by /implement - driver codex, branch
954-align-kali-port-socket-docs, 2026-10-12T17:46:17.441Z.Brad-Edwards commentedon Oct 12, 2026
gc workflow phase recorded:
preflight(issue #954). Posted by the MCP server to enforce ordering between workflow steps (issue #794 MVP-2). Do not edit or delete — used by downstream tools to gate phase prerequisites.Brad-Edwards commentedon Oct 12, 2026
gc workflow phase recorded:
plan(issue #954). Posted by the MCP server to enforce ordering between workflow steps (issue #794 MVP-2). Do not edit or delete — used by downstream tools to gate phase prerequisites.Complete #954 in its existing PR #1263, consolidating all work into one delivery branch.
Design: this change adds no runtime authority, secret transport, endpoint, renderer or lifecycle controller. Existing RAES admission, deployment realization, capture, operator access and runtime validators remain authoritative. TechVault assertions use the installed pack; generic tests retain owned fixtures. Native observations are never inferred from pure rendering. Keep asset inventories and requirement traceability aligned with file moves/deletions. Local checks remain targeted; full suites, coverage, prose and lab lifecycle qualification remain CI-owned. No new requirement or structural gate is introduced.
docs: align Kali, published-port and Docker socket docs with the real…
docs: retire references to removed commands, files and scenario paths
test: check TechVault runtime properties on the rendered pack, not th…
Brad-Edwards commentedon Oct 12, 2026
gc_codex_review — sanitized deferred publication for issue #954, cycle 1 of 1
Reviewed revision:
211574d58e9585f08a51a9aa444e88eaa6efa6aa24437623dd82a3983fd44e43Architectural read
The complete diff reuses the installed pack planner, interpreter and production renderers for TechVault assertions. Documentation distinguishes current runtime contracts from dated historical records and rendering from native observation. Existing admission, network, capability, capture and socket boundaries remain authoritative; this change adds no runtime authority.
Verdict:
shipNotes
Findings
Brad-Edwards commentedon Oct 12, 2026
gc_codex_review pre-push cycle 1 of 1 complete for issue #954 on branch '954-align-kali-port-socket-docs'. Posted by the MCP server to enforce the pre-push hard-cap-1 contract (issues #796, #804, #906). Do not edit or delete — used by the next
gc_codex_review(uncommitted) invocation to count cycles.Brad-Edwards commentedon Oct 12, 2026
Review decision record — codex cycle 1 (issue #954)
Reviewer: codex
Cycle: 1
Verdict:
shipArchitectural read:
Blocking findings: 0 (clean run)
Notes (non-blocking, no decisions):
Brad-Edwards commentedon Oct 12, 2026
Pre-PR base synchronization
refs/remotes/origin/devat8ab91f687dde82d7c5de56ccd22c2279a5404b9emerged_cleanfa7c083f0820062293be30c693142a7c9abfde16f0804ae3ce05b3b618d422ecbaf69cb7a0183667Brad-Edwards commentedon Oct 12, 2026
Ready for review — issue #954
PR: #1263
Plan: #954 (comment)
Outcome
PR #1263 now covers all acceptance criteria of #954, including both #1288 commits and #1261's test cleanup. Runtime docs and tests describe the shipped lab, and coding standards require one complete PR per issue. #1288 is closed; cross-repository rollout is tracked in the parent coordination issue.
Files changed
Added:
docs/CODING_STANDARDS.mddocs/architecture/issue-954-runtime-docs-and-test-authority-preflight.mdtests/techvault_pack.pyModified:
.gc/plan-rules.mdAGENTS.mdCONTRIBUTING.mddocs/architecture/enterprise-infrastructure.mddocs/architecture/exp-008-portable-evidence-bundle-preflight.mddocs/architecture/exp-010-capture-admission-evidence-preflight.mddocs/architecture/index.mddocs/architecture/issue-1000-manual-release-qa-preflight.mddocs/architecture/issue-1006-container-base-images-preflight.mddocs/architecture/issue-1186-seat-privilege-preflight.mddocs/architecture/issue-592-scenario-pack-terminology-preflight.mddocs/architecture/issue-790-ssh-module-split-preflight.mddocs/architecture/issue-824-kiosk-launcher-reset-recovery-preflight.mddocs/architecture/issue-866-techvault-realization-contract-preflight.mddocs/architecture/issue-875-scenario-content-declaration-preflight.mddocs/architecture/issue-880-techvault-env-pack-consumption-preflight.mddocs/architecture/issue-912-misp-redis-post-realization-mutation-preflight.mddocs/architecture/issue-913-shuffle-post-realization-mutation-preflight.mddocs/architecture/issue-957-wazuh-attestation-evidence-credentials-preflight.mddocs/architecture/issue-969-platform-safety-gates-preflight.mddocs/architecture/issue-993-boot-realization-regressions-preflight.mddocs/architecture/networking.mddocs/architecture/obs-002-correlation-identity-clock-preflight.mddocs/components/default-defensive-posture.mddocs/components/kali-redteam.mddocs/components/victim-containers.mddocs/components/wazuh-siem.mddocs/containers/victim-template-guide.mddocs/deployment.mddocs/getting-started/quick-start.mddocs/raes/dsl-008-realization-preflight.mddocs/raes/m1-raes-conformance-truth-up-preflight.mddocs/raes/techvault-live-validation-preflight.mddocs/raes/techvault-static-validation-preflight.mddocs/red-team-taxonomy.mddocs/reference/experiment-runs.mddocs/reference/participant-profile.mddocs/reference/web.mddocs/requirements/APP-2/requirement.mddocs/requirements/CLI-005/requirement.mddocs/requirements/OBS-003/requirement.mddocs/requirements/SCN-003/requirement.mddocs/requirements/SCN-008/requirement.mddocs/requirements/SCN-009/requirement.mddocs/requirements/SCN-010/requirement.mddocs/requirements/SIEM-001/requirement.mddocs/reviews/962-lilrae-readiness/tracked-file-inventory.tsvdocs/specs/soc-feature-spec.mddocs/specs/web-gui-design-preflight.mdmkdocs.ymltests/test_compose_capability_necessity.pytests/test_consistency.pytests/test_continuity.pytests/test_docker_compose_port_bindings.pytests/test_env_pack_realization.pytests/test_in_process_agents.pytests/test_misp_redis_realization_contract.pytests/test_shuffle_realization_contract.pyReviews
Traceability reconciliation
Proposed in this PR — verified against the merged tree in Phase E.
Status
Brad-Edwards commentedon Oct 12, 2026
Delivery readiness recorded — Phase E finalizes issue #954 automatically when PR #1263 merges.
docs: align runtime documentation and tests with the shipped lab (#1263)
github-actions commentedon Oct 12, 2026
Final report — issue #954 complete
PR: #1263
Plan: #954 (comment)
Outcome
PR #1263 now covers all acceptance criteria of #954, including both #1288 commits and #1261's test cleanup. Runtime docs and tests describe the shipped lab, and coding standards require one complete PR per issue. #1288 is closed; cross-repository rollout is tracked in the parent coordination issue.
Files changed
Added:
docs/CODING_STANDARDS.mddocs/architecture/issue-954-runtime-docs-and-test-authority-preflight.mdtests/techvault_pack.pyModified:
.gc/plan-rules.mdAGENTS.mdCONTRIBUTING.mddocs/architecture/enterprise-infrastructure.mddocs/architecture/exp-008-portable-evidence-bundle-preflight.mddocs/architecture/exp-010-capture-admission-evidence-preflight.mddocs/architecture/index.mddocs/architecture/issue-1000-manual-release-qa-preflight.mddocs/architecture/issue-1006-container-base-images-preflight.mddocs/architecture/issue-1186-seat-privilege-preflight.mddocs/architecture/issue-592-scenario-pack-terminology-preflight.mddocs/architecture/issue-790-ssh-module-split-preflight.mddocs/architecture/issue-824-kiosk-launcher-reset-recovery-preflight.mddocs/architecture/issue-866-techvault-realization-contract-preflight.mddocs/architecture/issue-875-scenario-content-declaration-preflight.mddocs/architecture/issue-880-techvault-env-pack-consumption-preflight.mddocs/architecture/issue-912-misp-redis-post-realization-mutation-preflight.mddocs/architecture/issue-913-shuffle-post-realization-mutation-preflight.mddocs/architecture/issue-957-wazuh-attestation-evidence-credentials-preflight.mddocs/architecture/issue-969-platform-safety-gates-preflight.mddocs/architecture/issue-993-boot-realization-regressions-preflight.mddocs/architecture/networking.mddocs/architecture/obs-002-correlation-identity-clock-preflight.mddocs/components/default-defensive-posture.mddocs/components/kali-redteam.mddocs/components/victim-containers.mddocs/components/wazuh-siem.mddocs/containers/victim-template-guide.mddocs/deployment.mddocs/getting-started/quick-start.mddocs/raes/dsl-008-realization-preflight.mddocs/raes/m1-raes-conformance-truth-up-preflight.mddocs/raes/techvault-live-validation-preflight.mddocs/raes/techvault-static-validation-preflight.mddocs/red-team-taxonomy.mddocs/reference/experiment-runs.mddocs/reference/participant-profile.mddocs/reference/web.mddocs/requirements/APP-2/requirement.mddocs/requirements/CLI-005/requirement.mddocs/requirements/OBS-003/requirement.mddocs/requirements/SCN-003/requirement.mddocs/requirements/SCN-008/requirement.mddocs/requirements/SCN-009/requirement.mddocs/requirements/SCN-010/requirement.mddocs/requirements/SIEM-001/requirement.mddocs/reviews/962-lilrae-readiness/tracked-file-inventory.tsvdocs/specs/soc-feature-spec.mddocs/specs/web-gui-design-preflight.mdmkdocs.ymltests/test_compose_capability_necessity.pytests/test_consistency.pytests/test_continuity.pytests/test_docker_compose_port_bindings.pytests/test_env_pack_realization.pytests/test_in_process_agents.pytests/test_misp_redis_realization_contract.pytests/test_shuffle_realization_contract.pyReviews
Traceability reconciliation
No in-scope requirement UIDs. Current traces were corrected, and concurrent requirement retirement records retained.
Status