Skip to content

docs: granularization / evidence-pack design#30

Merged
ozgesolidkey merged 1 commit into
mainfrom
docs/granularization-design
Jul 2, 2026
Merged

docs: granularization / evidence-pack design#30
ozgesolidkey merged 1 commit into
mainfrom
docs/granularization-design

Conversation

@ozgesolidkey

Copy link
Copy Markdown
Contributor

Adds docs/GRANULARIZATION_DESIGN.md — the design for LOGAN's pre-LLM granularization layer.

What it specifies

  • Principle: deterministic first, tokens last — LOGAN does the volume work natively; the LLM only sees the distilled artifact.
  • Part 1 — Granularization layer: record stitching (line→record→event with stable unit_ids), persisted per-file structured index (persist what trend_fields computes), layered map-reduce summaries (whole-file → component → chunk → unit), addressability by unit_id + viewerLine.
  • Part 2 — Evidence pack: one compact briefing (fields, level/component counts, crashes, top time-gaps, baseline deltas, anomaly flags) exposed as a single MCP call the agent fetches first.
  • Part 3 — Cost-efficient tool use: work-by-reference + drill-on-demand, payload caps, proposer→deterministic-verify before pinning.
  • What-exists-vs-new table + 5-step build order, and a tie-back to the AI-logging-framework idea (emit-time IDs vs analysis-time units).

Docs-only change.

🤖 Generated with Claude Code

Spec for the pre-LLM granularization layer: native record stitching into
typed addressable units, persisted structured index, layered map-reduce
summaries, and a compact evidence-pack briefing the agent fetches first so
it works by-reference instead of dragging raw log text into context.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ozgesolidkey
ozgesolidkey merged commit 926ac90 into main Jul 2, 2026
3 checks passed
@ozgesolidkey
ozgesolidkey deleted the docs/granularization-design branch July 2, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant