Update .gitignore to exclude Python-related files and directories. Enhance AGENTS.md and README.md with clarifications on documentation structure and product identity. Add technical architecture references and local setup instructions. Revise privacy guardrails and product identity documents for consistency. Remove obsolete memory and context documentation. Expand reflection spaces documentation to define context boundaries and lifecycle. Ensure all changes align with the ongoing development of the Kanshō project.
This commit is contained in:
1 parent
3a367b7bcc
commit
d62673e48b
89 files changed
+13463
-241
No files matched your search
@@ -0,0 +1,20 @@
|
||||
"""Layer 1 surface. Domain derivations register here later. No prompt text, no React payloads."""
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Callable
|
||||
|
||||
_READERS: dict[str, Callable[..., Any]] = {}
|
||||
|
||||
|
||||
def register_reader(key: str, reader: Callable[..., Any]) -> None:
|
||||
_READERS[key] = reader
|
||||
|
||||
|
||||
def read(key: str, *, profile_id: str, context: dict[str, Any] | None = None) -> Any:
|
||||
if key not in _READERS:
|
||||
raise KeyError(key)
|
||||
return _READERS[key](profile_id=profile_id, context=context or {})
|
||||
|
||||
|
||||
def list_readers() -> list[str]:
|
||||
return sorted(_READERS)
|
||||
Reference in new issue
Block a user