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

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
This commit is contained in:
dongarandClaude Opus 5.5 committed 2026-10-13 21:16:09 +00:00
1 parent 06759d5d70
commit e351d0a74e
117 files changed
+291 -265

No files matched your search

+11 -11
View File
@@ -26,7 +26,7 @@ from dataclasses import dataclass, replace
from datetime import UTC, datetime
from typing import Any
from nisse_core.actions import (
from nisse_core.authority.actions import (
CONTAINED,
DANGEROUS,
REFUSED,
@@ -34,8 +34,12 @@ from nisse_core.actions import (
Action,
Verdict,
)
from nisse_core.cancel import Cancel
from nisse_core.canonical import (
from nisse_core.conversation.transport import InboundMessage, Transport
from nisse_core.execution.ssh import HostKeyChanged, HostUnavailable
from nisse_core.gitea import GiteaClient, GiteaError, Issue, PullRequest
from nisse_core.knowledge.memory import Memory
from nisse_core.knowledge.vault import Vault, VaultError
from nisse_core.log.canonical import (
ActionVerdict,
DelegationCompleted,
DelegationStarted,
@@ -46,15 +50,11 @@ from nisse_core.canonical import (
ToolResult,
UserMessage,
)
from nisse_core.execution import HostKeyChanged, HostUnavailable
from nisse_core.gitea import GiteaClient, GiteaError, Issue, PullRequest
from nisse_core.llm import LLMError, RoleMap
from nisse_core.memory import Memory
from nisse_core.models.llm import LLMError, RoleMap
from nisse_core.oplog import OpLog
from nisse_core.state import WorkItem
from nisse_core.transport import InboundMessage, Transport
from nisse_core.vault import Vault, VaultError
from nisse_core.worker import Worker
from nisse_core.state.cancel import Cancel
from nisse_core.state.store import WorkItem
from nisse_core.state.worker import Worker
from nisse_dev.config import GENERAL
from nisse_dev.delegation import DELEGATION_INTENT, Delegation
from nisse_dev.expert import BudgetExhausted, ExpertDesk