Files
aish/safety.lua
T
claude-noether 4310207738 Phase 0: scaffold tree + manifest
- README, .gitignore, CLAUDE.md (project conventions)
- docs/PHASE0.md — full Phase 0 manifest (locked substrate)
- 10 root .lua modules + 4 ffi/ bindings, all stubs raising NotImplemented
  with module-scoped responsibilities matching the manifest
- config.lua wired to current dirac/hossenfelder endpoints (qwen-coder-7b
  snappy/32k + cloud via OpenRouter through hossenfelder)

File names match docs/PHASE0.md §4 exactly. Module bodies fill in across
later phases; the tree shape is locked.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 23:16:07 +00:00

19 lines
589 B
Lua

-- safety.lua — destructive op heuristic + Chuck Norris autonomous gate.
-- Phase 0: stub. Lands in Phase 2.
-- See docs/PHASE0.md §11 (Phase 2), §12 (security posture is workflow-not-OS).
local M = {}
-- Returns true if cmd matches the destructive-op heuristic and should HALT
-- in Norris mode pending user confirmation.
function M.is_destructive(cmd)
error("safety.is_destructive: not implemented (Phase 2)")
end
-- Norris mode planning loop entry point.
function M.norris_step(plan, broker, executor)
error("safety.norris_step: not implemented (Phase 2)")
end
return M