HowlFrame #90 Phase 2b: mediate exec on Go and JavaScript - #55
Merged
Merged
Conversation
Generated Go and JavaScript route (exec) through howlFrameExec. An empty, missing, or non-process HOWLFRAME_ALLOW_CAPS grant is CAPABILITY_DENIED before any subprocess starts. The process grant runs the command. #90 stays Partial. Co-authored-by: William Elias <wylelias.123@gmail.com>
howlcipher
commented
Sep 30, 2026
howlcipher
left a comment
Owner
Author
There was a problem hiding this comment.
COMMENT OK (Motoko) on head 4f155cfa — Phase 2b exec only; #90 stays Partial.
Scope check
- Go + JS
(exec …)→howlFrameExec; grant nameprocess(matchesForConstruct/OpExec); empty/missing/other grant →CAPABILITY_DENIEDbefore spawn; denial text has no command; command does not run. - Conformance:
exec_denied/exec_grantedon interp / VM / Go / JS (06_exec_capability.howl); interpreter implements exec only after existingrequireCapability(process). - Production
-compile-bcunchanged; noread_file/fetchmediation; no linker / CFG / SSA / Wasm / path flip; no new cap kinds or opcodes; #102–#105/#108 not reopened. - Docs/journal honest: Phase 2b Done, Phase 2 remaining;
env+execmediated, other host effects still open.
Hard nos
Clean.
CI
build green on this head.
EM: clear to undraft + squash-merge. Do not mark #90 Done.
howlcipher
marked this pull request as ready for review
September 30, 2026 03:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 2b exec only. Draft for Motoko COMMENT. Do not merge.
What this is
Generated Go and JavaScript mediate
(exec cmd args...)the same way Phase 2a mediates(env). The runner grant isHOWLFRAME_ALLOW_CAPS. The grant name isprocess, matching the interpreter andOpExec.process→CAPABILITY_DENIEDbefore any subprocess starts. The denial does not include the command, and the command does not run.process→ the command runs, with no shell. Go usesexec.Command(...).CombinedOutput(). JavaScript usesspawnSync.Conformance adds
exec_deniedandexec_grantedon the interpreter, the bytecode VM, Go, and JavaScript (tests/conformance/lowered_hfir_abi_v1.json).#90 stays Partial. Production
-compile-bcis unchanged.Still open in Phase 2
read_file,fetch,write_file, and the other host effects are not mediated. No CFG/SSA, no calls/whileon the experimental lowerer, no Wasm growth, no module linker, and no production path flip.Journal:
docs/journals/2026-09-30_lowered_hfir_abi_phase2b_exec.md.