Monorepo: make the Common Lisp runtime canonical for operation and asset state #6
Labels
No labels
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
invalid
question
refactor
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/hackmode#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The Common Lisp runtime and
emacs-hackmodecurrently maintain separate operation/asset state. The runtime uses Tek9-backed operation databases and typed objects; Emacs uses files/directories plus direct BBRF commands. This guarantees drift and blocks reliable shell/server/Emacs collaboration.Current behavior
Runtime:
source/hackmode-core/operations.lispownsoperation,*current-operation*, Tek9 operation registry, and per-operation*db*.source/hackmode-core/objects.lispowns typed Hackmode objects.Emacs:
emacs/hackmode.el(migrated by #4) tracks current operation using~/.local/share/hackmode/current-opandop-path.Desired behavior
The Common Lisp Hackmode runtime is canonical for operation and asset lifecycle. Emacs, LISH, and later server/Quasar clients call a stable Hackmode protocol/API instead of reimplementing state.
Architecture
Introduce the smallest useful protocol boundary around:
Do not duplicate StarIntel schemas; map Hackmode assets to the existing StarIntel document representation where possible.
Implementation scope
:allocation :classbugs from per-instance asset/operation state where necessaryDependencies
Depends on #4 monorepo migration. Blocks CouchDB asset integration (#3), outbox ingest, shell pipelines, Emacs convergence, and Quasar reuse.
Acceptance criteria
Verification