nisse-core: group modules into packages #147

Merged
dev-agent merged 1 commits from core-packages into main 2026-10-13 21:22:28 +00:00
Collaborator

Groups nisse-core's modules into packages, one per architecture section, as agreed before M7.2. It's a pure move, with no change in behaviour.

Package Modules
models (L9, L7) llm, catalog, probe, render, render_anthropic, context
log (L7, L6) canonical, views
state (L8) store (was state), reconcile, worker, cancel, dump
knowledge (L10, L6.4) vault, memory
conversation (L5) transport, matrix
execution (L13) ssh (was execution), testing
authority (P3, P4, L4) actions

gitea, oplog and envfile stay at the top level until each one gains a second module. Each package's __init__ holds only a docstring, with no re-exports.

Every reference is rewritten: imports, monkeypatch targets, python -m nisse_core.state.dump, comments in scripts and CI, and the docs. nisse-core/README.md describes the new layout, and the Development Plan records the move ahead of M7.2.

Locally, all 826 unit tests pass, ruff is clean, and the integration tests are collected without errors.

🤖 Generated with Claude Code

https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk

Groups `nisse-core`'s modules into packages, one per architecture section, as agreed before M7.2. It's a pure move, with no change in behaviour. | Package | Modules | |---|---| | `models` (L9, L7) | `llm`, `catalog`, `probe`, `render`, `render_anthropic`, `context` | | `log` (L7, L6) | `canonical`, `views` | | `state` (L8) | `store` (was `state`), `reconcile`, `worker`, `cancel`, `dump` | | `knowledge` (L10, L6.4) | `vault`, `memory` | | `conversation` (L5) | `transport`, `matrix` | | `execution` (L13) | `ssh` (was `execution`), `testing` | | `authority` (P3, P4, L4) | `actions` | `gitea`, `oplog` and `envfile` stay at the top level until each one gains a second module. Each package's `__init__` holds only a docstring, with no re-exports. Every reference is rewritten: imports, monkeypatch targets, `python -m nisse_core.state.dump`, comments in scripts and CI, and the docs. `nisse-core/README.md` describes the new layout, and the Development Plan records the move ahead of M7.2. Locally, all 826 unit tests pass, `ruff` is clean, and the integration tests are collected without errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
dev-agent added 1 commit 2026-10-13 21:16:09 +00:00
nisse-core: group modules into packages by architecture section
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m37s
CI / e2e (pull_request) Successful in 4m5s
e351d0a74e
A pure move; behaviour unchanged.

- models (L9, L7): llm, catalog, probe, render, render_anthropic, context
- log (L7, L6): canonical, views
- state (L8): store (was state), reconcile, worker, cancel, dump
- knowledge (L10, L6.4): vault, memory
- conversation (L5): transport, matrix
- execution (L13): ssh (was execution), testing
- authority (P3, P4, L4): actions
- gitea, oplog, envfile stay at the top until each gains a second module.

Every import, monkeypatch target, script and doc reference rewritten.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01J5Utyfzw7gF7UhjRDEtjTk
dongar approved these changes 2026-10-13 21:22:16 +00:00
dev-agent merged commit 90afc4f8dd into main 2026-10-13 21:22:28 +00:00
dev-agent deleted branch core-packages 2026-10-13 21:22:28 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: dev/nisse#147