feat(context): reasoning-thread continuity, L3 doc filtering, and gate hardening

Threads reasoning_content across inference calls and journal renders, filters
markdown noise out of L3 repo-knowledge retrieval, adds PlanLinter H3 checks,
and tightens filesystem tool output/dir-listing behavior surfaced by prior
live QA (see project_readloop_campaign memory).
This commit is contained in:
2026-07-10 11:13:43 +04:00
parent f51a8dada4
commit 3d5e05c1fb
32 changed files with 742 additions and 85 deletions
+18
View File
@@ -89,6 +89,22 @@ type EventEntry struct {
Detail string
}
// PlanStageStatus tracks a stage's lifecycle in a locked execution plan.
type PlanStageStatus int
const (
PlanPending PlanStageStatus = iota
PlanRunning
PlanCompleted
PlanFailed
)
// PlanStage is one stage in a locked execution plan, with live execution status.
type PlanStage struct {
ID string
Status PlanStageStatus
}
// ToolStatus mirrors the Kotlin ToolDisplayStatus.
type ToolStatus int
@@ -194,6 +210,8 @@ type Session struct {
Name string
LastEventAt int64
CurrentStage string
PlanGoal string
PlanStages []PlanStage
WorkspaceRoot string // bound cwd, from session.workspace_bound
LastOutput string
LastResponse string