Skip to content

docs: propose Lua runtime and configuration model RFCs for OQ-009/OQ-010 - #10

Merged
Xuepoo merged 1 commit into
mainfrom
feat/oq009-010-rfcs
Aug 25, 2026
Merged

Xuepoo merged 1 commit into
mainfrom
feat/oq009-010-rfcs

Conversation

@Xuepoo

@Xuepoo Xuepoo commented Aug 25, 2026 •

Copy link
Copy Markdown
Contributor

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 via mlua; 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

  • Added: two RFCs above (sidebar_order 14 and 15, unique in docs/specifications/).
  • Updated: docs/specifications/README.md (index rows), docs/decisions/open-questions.md (OQ-009/OQ-010 State cells now Proposed: [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), full just check exit 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/review transitions return DEPENDENCY_INCOMPLETE / INVALID_TASK_TRANSITION. Per dispatch, scoped work proceeded in dedicated worktree .worktrees/ctx-0017-rfcs without flipping task status; blocker recorded as PX-0118, checkpoint 01M0X1XTXXEH06ACA2VHQWPDB1 at commit 7659f0c. Commander should transition CTX-0017 when accepting.

Follow-ups

  • Annotate docs/decisions/index.md candidate 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).

@Xuepoo
Xuepoo merged commit 61c0d86 into main Aug 25, 2026
2 checks passed
@Xuepoo
Xuepoo deleted the feat/oq009-010-rfcs branch August 25, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant