M7.2: share the loop's parts
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 2m21s
CI / e2e (pull_request) Successful in 11m45s

Shared parts, not a shared scheduler (agreed): nisse-review will have its
own small scheduler; a common one waits until two exist to compare.

- nisse_core.loop.driver: the driver run, moved; the agent names its
  waiting tools per run (nisse-dev's are WAITING_TOOLS), and execution
  goes to any Executor (ToolOutcome moves with it).
- nisse_core.loop.tools: the tool helper and the tools any agent offers
  (notes, memory, memory_done, ask_expert); nisse_core.loop.expert.
- nisse_core.knowledge.handlers: Knowledge, the vault and memory as
  control tools, the index and prompt text, out of LoopAgent.
- nisse_core.config: file reading, references, people, tuning sections of
  the agent's own, LLM numbers, the vault.
- New core tests: a driver run with a non-workspace executor and the
  agent's own waiting set; Knowledge alone; the shared config pieces.

Docs: the Development Plan marks M7.2 done; Architecture Part L and the
nisse-core README name the new parts.

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:31:29 +00:00
1 parent 90afc4f8dd
commit f32ccf9881
34 files changed
+899 -485

No files matched your search

+1 -1
View File
@@ -9,10 +9,10 @@ from pathlib import Path
import pytest
from nisse_core.loop.expert import BudgetExhausted, ExpertDesk
from nisse_core.models.llm import LiteLLMClient, RoleMap
from nisse_core.oplog import OpLog
from nisse_dev.evals import collect
from nisse_dev.expert import BudgetExhausted, ExpertDesk
from nisse_dev.state import StateStore
pytestmark = pytest.mark.integration
+1 -1
View File
@@ -28,10 +28,10 @@ from nisse_core.log.canonical import (
ToolResult,
UserMessage,
)
from nisse_core.loop.expert import parse_answer
from nisse_core.models.catalog import ModelCatalog, select_client
from nisse_core.models.llm import AnthropicPassthroughClient, LiteLLMClient, LLMError
from nisse_dev.config import AgentConfig
from nisse_dev.expert import parse_answer
from nisse_dev.loop.tools import ASK_HUMAN, FINISH_MILESTONE, RESTATE
from nisse_dev.tools import EXECUTION_TOOLS