4310207738
- 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>
21 lines
570 B
Lua
21 lines
570 B
Lua
-- history.lua — persistent session log + memory.jsonl.
|
|
-- Phase 0: NO disk I/O. This module is a stub placeholder so module names are
|
|
-- stable when Phase 1 lands the persistence layer.
|
|
-- See docs/PHASE0.md §11 (Phase 1).
|
|
|
|
local M = {}
|
|
|
|
function M.open_session(dir)
|
|
error("history.open_session: not implemented (Phase 1)")
|
|
end
|
|
|
|
function M.append_turn(session, turn)
|
|
error("history.append_turn: not implemented (Phase 1)")
|
|
end
|
|
|
|
function M.summarize_and_close(session, broker)
|
|
error("history.summarize_and_close: not implemented (Phase 3)")
|
|
end
|
|
|
|
return M
|