Repository navigation
feat(install): project capabilities into a directory target - #353
Conversation
Fleet review (glm)Lens: requirements + adversarial. The directory projection mode is threaded through every validation seam with the probed three-runtime shape preserved, and the end-to-end test exercises the production dispatch. Two blocking findings: the install argument parser silently drops every argument after a valid --target-dir value, and the PR claims "Fixes #341" while its own code comment defers the QA-actor half of that issue's scope ("full capability set") to #344/#356. Two questions cover the promised manifest-hash verification and the unwritable-path diagnostic, which the tests do not actually exercise. Blocking (2)
Suggestion (1)
Question (2)
Verdict: not ready |
Post-merge QA (glm)Directory projection mode for install (issue #341). The transactional path is genuinely reused (adapterplan validateDirectoryTarget, single directory result, all-or-nothing enforced), fail-closed diagnostics cover relative/missing/file/empty targets, the manifest records sha256 per artifact, and the directory runtime stays out of the probed runtimeOrder. Two non-blocking test-quality gaps: the readback test only checks that recorded hashes are 64 chars long rather than verifying file content against them, and parseTargetDir returns after the first recognized flag so arguments after --target-dir's value are silently ignored. Suggestion (2)
Verdict: clean |
Post-merge QA (deepseek)Lens: evidence + test design. The merge implements #341 convincingly in breadth: the Two evidence gaps and one defect. The defect is the fail-closed promise for relative paths: the PR body and the Blocking (1)
Suggestion (3)
Verdict: blocking |
Implements the directory projection mode from the maintainer-approved scoped plan (Phase A revision v2):
cortex install --target-dir <path>projects skills as plainSKILL.mdfiles into an existing directory, inside the existing transaction (manifest, ownership, backup, rollback, readback).RuntimeIDdirectory+RootKinddirectory, deliberately outside the probed runtime order; explicitDirectoryTargetMatrixconstructor.error=invalid_targetbefore any write.Full
go test ./internal/...green;go vetclean.Fixes #341