Repository navigation
docs: propose Lua runtime and configuration model RFCs for OQ-009/OQ-010 - #10
Merged
Merged
Conversation
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.
Closes the design work for CarryCtx task CTX-0017 (no GitHub Issue exists yet; task is the coordination record). Drafts only — nothing is accepted and no implementation is authorized.
Outcome
Two new PROPOSED specification documents structuring the candidates behind open questions OQ-009/OQ-010 for independent review:
docs/specifications/lua-runtime-rfc.md— Lua Runtime RFC: three runtime/binding candidates with trade-offs (vendored Lua 5.4 +mlua; LuaJIT viamlua; vendored Lua 5.4 + Bitty-owned thin binding), a proposed restricted standard-library baseline per VM class, rooted module-search rules, and a structured diagnostics contract.docs/specifications/configuration-model-rfc.md— Configuration Model RFC: pipeline candidates (two-stage declarative ConfigPlan + Rust reconciliation; imperative; hybrid overlay), layer/merge/attribution obligations, reload classification framework, and project-trust mechanics.Both carry problem statement, candidate options with trade-offs, explicit open points, traceability to OQ/DIR/risk/threat IDs, and security-review notes. Status stays
draft/proposed; no question is answered.Affected docs
sidebar_order14 and 15, unique indocs/specifications/).docs/specifications/README.md(index rows),docs/decisions/open-questions.md(OQ-009/OQ-010 State cells nowProposed: [link], matching the established sibling pattern; questions remain open/unanswered).Security impact
Strengthens-only proposals aligned to the normative baseline: restricted Lua libraries (R-006/T-06), unsafe-surface audit requirement for any binding (R-018/T-14), fail-closed recovery and safe-mode interaction (R-009), declarative-only project configuration with path+hash consent (T-08/R-010), restrictive origin handling (R-020). No normative control is downgraded; acceptance requires security-auditor review evidence.
Validation evidence
Local CI-equivalent gates on this branch, all passing (73 files):
just links,just metadata,just language,just markdownlint(0 issues), fulljust checkexit 0. Commit message validated with commitlint 21.2.2.Dependencies and lifecycle note
CTX-0017 is hard-blocked by its strong dependency on CTX-0016 (in_progress under another agent):
claim/start/reviewtransitions returnDEPENDENCY_INCOMPLETE/INVALID_TASK_TRANSITION. Per dispatch, scoped work proceeded in dedicated worktree.worktrees/ctx-0017-rfcswithout flipping task status; blocker recorded as PX-0118, checkpoint01M0X1XTXXEH06ACA2VHQWPDB1at commit 7659f0c. Commander should transition CTX-0017 when accepting.Follow-ups
docs/decisions/index.mdcandidate queue ("Drafted: Configuration Model RFC") and technology-strategy ADR/RFC list at merge time — deliberately untouched here to avoid conflicts with five in-flight sibling RFC tasks (PX-0129).