Repository navigation
🐛 Keep REPL work in its selected project directory - #1121
Conversation
PR #1121: 🐛 Keep REPL work in its selected project directory68 files, +3443 / -477 Scope🔴 PR has 3920 lines changed. Split into focused PRs. 🟡 3920 lines changed. PRs under 400 receive more thorough review. 🟡 68 files changed. Are all changes related? 🟡 Changes span 7 directories. StructuralOxlint structural signals:
SlopOxlint slop signals:
Static AnalysisOxlint: 224 diagnostics across 20 files (26 rules) no-shadow (55): packages/cli/src/repl/workspace-mount-installation.ts, packages/cli/src/repl/sidekick/admission.ts, packages/cli/src/repl/repositories/deno/provider.ts (+7) Correctness
No extraneous code patterns detected. |
taras
left a comment
There was a problem hiding this comment.
Independent review of cc185f11ab1b4cb55fe9d21b21fb2b4f7b9debf7: PASS, covering all A1–A12 acceptance clauses with no findings.
Reviewer: Codex Astra (gpt-6-astra, medium), replacing a fully joined Fable quota refusal under AGENTS.md. The reviewer inspected the affected filesystem/projection, recovery, component and guide consumers, reused the retained focused evidence, and left source unchanged. No new benchmark is claimed.
CI2444 has demonstrated integration failures. The original Implementor is repairing those separately; this review describes the commit above and does not establish merge readiness.
taras
left a comment
There was a problem hiding this comment.
Independent affected closeout of d958c88e2708e9a005d4bb565f9d0640c05a1fb9: changes required, one blocking finding.
In portable Files routing, an ordinary manual Node/Bun entry with no Sidekick root limits canonicalizes an absolute target’s parent before permission admission. The real <Dir> probe records:
target-parent-realpath → permission:write → permission:absolute → refusal
Required ordering: restore acknowledged results first; admit genuinely live requests before target routing/canonicalization; retain terminal effective-request checks. Add the focused portable/manual regression proving denied absolute requests perform no target canonicalization.
CI2446 is green. The original Implementor is applying this bounded correction; the final exact-head affected review and CI remain required before merge. Other findings stay closed.
|
#1121 merged at The original Architect passed the correction, and the same independent Astra reviewer has confirmed its finding is resolved on the exact follow-up commit. Required CI for #1122 is running. The prior green CI for #1121 remains evidence for the merged revision and is not substituted for the follow-up checks. |
Carry the reviewed two-file permission correction forward after #1121 merged.
Ordinary REPL responses and entries now start in the selected project directory, independently of session storage. Sidekick XMD file operations stay within captured project roots, with explicit session scopes for read-only assets and component authoring. Shell commands, native agents and separately authenticated Git operations retain their existing authority.
<Cwd />reports the actual contextual directory.<REPL.AssetDir>reads session assets;<REPL.ComponentDir>authors session components. Ordinary component invocation continues in the project, and<REPL.Test>retains session-relative targets and child placement. New approved imports publish beneath sessionassets/.When unfinished work from project A is reopened from B, startup asks to switch to A before loading project plugins, profiles or providers. Declining leaves the entry unfinished. Completed history stays passive, and acknowledged effects do not repeat.
Focused evidence covers contextual placement and projection, allowed and refused filesystem operations, asset imports, session component creation/testing, retained mounts, original-directory recovery and executable guide examples. Current signed candidate:
d958c88e2708e9a005d4bb565f9d0640c05a1fb9. The bounded CI correction reconciles runtime portability, early refusal handling and retained Files coverage. Its affected Architect/Planner feedback is running. The prior independent Astra PASS coveredcc185f11; final-delta independent closure and required CI remain pending. This PR stays draft until the delivery gates complete.Closes #1113.