feat(m0.6-r5): pinned Git packages and materialized environments

- add content-addressed Git checkout cache for exact revisions; no hooks,
  submodules or floating branches
- resolve transitive @alias imports from each package's own manifest
- materialize locked path/Git packages into .marqdo/env atomically and prefer
  a matching env copy in the resolver
- make sync a real environment sync while keeping lock immutable
- kill Unix foreign-kernel process groups so grandchildren do not survive
- add Git/env/transitive integration tests and update package/security specs
This commit is contained in:
cflmy committed 2026-11-20 11:49:05 +08:00
1 parent b5a28a9825
commit 54c7b43d15
12 files changed
+862 -118

No files matched your search

+4 -4
View File
@@ -185,10 +185,10 @@ overflow). In-process math and native plugins are not OS-limited.
* direct `argv` exec (no shell, no interpolation); stdin carries the versioned
request envelope; stdout/stderr are always piped and captured;
* the environment is cleared except `PATH`;
* the wall-clock deadline is enforced by polling `try_wait` and killing the
direct child; output flooding kills the child once the combined byte budget
is exceeded; a 2-second reader grace prevents a grandchild holding the pipes
from hanging the host;
* on Unix the child is a process-group leader (`setpgid`) and the wall-clock
deadline/output overflow kills the whole group, including grandchildren; a
2-second reader grace prevents a surviving pipe holder from hanging the
host. Non-Unix targets only kill the direct child;
* a non-zero exit is data (`RunStatus::Failed`, stderr preserved); a timeout is
`TimedOut` for `run` and an error for the typed `call`.