Files
correx/settings.gradle
kami 918f2f5652 feat(stage-workingset): durable, replay-safe stage working set (slices 1-4)
Stage agents were spending most of their turn budget re-discovering files
already known from prior stages/attempts. Root cause: nothing durable carries
acquired knowledge across handoffs and retries. First four slices of the fix:

- core:sourcedesc — new dependency-free module: describe(path, bytes) derives
  comment-free structural navigation metadata (module, bounded symbols, bounded
  imports, versioned format). Deliberately non-prose: descriptors are derived
  from agent-writable files and rendered into successor-stage context, so
  comments/docstrings/literals are excluded to close a prompt-injection channel.
  CAS post-image hash stays authoritative; descriptor is disposable navigation.

- kernel retry-repair state (ContextFeedback): on retry, name the authoritative
  CAS images of files this stage already wrote so the agent patches them instead
  of re-reading to rediscover them.

- kernel file-written manifest (SessionOrchestratorArtifacts): each produced
  file surfaced with its authoritative CAS image plus a comment-free structural
  descriptor (via core:sourcedesc, over recorded CAS bytes — replay-safe).

- apps/server RepoMapIndexer: route the injected repo-map descriptor through the
  comment-free describe(). Previously scraped leading comments, which were
  embedded into L3 and surfaced verbatim to successor stages — an injection
  channel from one stage into the next. Structural facts (module + imports +
  symbols) remain as the retrieval signal.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-20 14:22:12 +04:00

55 lines
1.4 KiB
Groovy

pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = 'correx'
include ':apps:cli'
include ':apps:server'
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:talkie'
include ':core:sessions'
include ':core:tasks'
include ':core:config'
include ':core:risk'
include ':core:journal'
include ':core:critique'
include ':core:sourcedesc'
include ':infrastructure:persistence'
include ':infrastructure:inference'
include ':infrastructure:inference:commons'
include ':infrastructure:inference:llama_cpp'
include ':infrastructure:inference:openai_compat'
include ':infrastructure:router'
include ':infrastructure:router:turbovec'
include ':infrastructure:compression'
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'