Files
correx/settings.gradle
T
kami 545068d222 feat: plane-2 tool-call intent validation (path containment slice)
Implements the full vertical slice for invariant #9 tool-call assessment:
- core:toolintent — new module with ToolCallRule seam, ToolCallAssessor,
  WorldProbe/FileSystemWorldProbe, WorkspacePolicy, PathContainmentRule,
  and RiskMapping (assessment → RiskSummary / AssessedIssue)
- core:tools — ToolCallAssessmentRecord + ToolInvocationRecord.assessment
  field; DefaultToolReducer handles ToolCallAssessedEvent (replay proof)
- core:config — ToolsConfig gains workspaceRoot + privilegedLocations;
  ConfigLoader parses both; DEFAULT_PRIVILEGED_LOCATIONS built-in
- core:kernel — OrchestratorEngines gains toolCallAssessor/workspacePolicy/
  worldProbe fields; SessionOrchestrator.dispatchToolCalls runs
  runPlane2Assessment before the tier gate: BLOCK → hard-reject without
  executing; PROMPT_USER → elevates tier into approval path with plane2Risk
  in the ApprovalRequestedEvent
- apps/server — constructs PathContainmentRule + ToolCallAssessor +
  WorkspacePolicy from config and wires them into OrchestratorEngines

Assessment is recorded as ToolCallAssessedEvent (environment observed once,
facts stored, replay reads events — invariant #9). Assessor and WorldProbe
are only invoked on the live orchestrator path, never in replay.
2026-05-31 04:22:58 +04:00

52 lines
1.2 KiB
Groovy

pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = 'correx'
include ':apps:cli'
include ':apps:server'
include ':apps:tui'
include ':apps:worker'
include ':apps:desktop'
include ':core:kernel'
include ':core:events'
include ':core:transitions'
include ':core:context'
include ':core:inference'
include ':core:artifacts'
include ':core:artifacts-store'
include ':core:validation'
include ':core:approvals'
include ':core:tools'
include ':core:toolintent'
include ':core:router'
include ':core:sessions'
include ':core:config'
include ':core:risk'
include ':infrastructure:persistence'
include ':infrastructure:inference'
include ':infrastructure:inference:commons'
include ':infrastructure:inference:llama_cpp'
include ':infrastructure:router'
include ':infrastructure:router:turbovec'
include ':infrastructure:tools'
include ':infrastructure:tools:filesystem'
include ':infrastructure:workflow'
include ':infrastructure:artifacts-cas'
include ':testing:replay'
include ':testing:contracts'
include ':testing:kernel'
include ':testing:integration'
include ':testing:fixtures'
include ':testing:projections'
include ':testing:transitions'
include ':testing:approvals'
include ':testing:deterministic'