Skip to content

feat(ai): multi-scale semantic outline & inspectional scanner (devops ai read --inspect) #272

Closed

Description

@dan-petty

Context & Rationale

Replaces naive monolithic file dumping with human-like inspectional reading and hierarchical perceptual scaffolding. Allows agents to navigate code and documentation across 3 discrete focal zoom levels:

Scope & Deliverables

  • Context & Rationale*: Replaces naive monolithic file dumping with human-like inspectional reading and hierarchical perceptual scaffolding. Allows agents to navigate code and documentation across 3 discrete focal zoom levels:
  • Level 0 (Topology)**: AST class/method hierarchies, exported symbols, docstring summaries, and cyclomatic hotspots without function bodies (< 200 tokens/file).
  • Level 1 (Structural Outline)**: Function signatures, parameter types, return contracts, and control-flow sketches.
  • Level 2 (Deep Focal Window)**: Line-bounded targeted code slices with surrounding breadcrumb context.
  • Acceptance Criteria*: Sub-10ms AST outline generation; 85%+ token reduction compared to full-file ingestion; seamless integration with Stage1PreAnalysis.

Strategic Alignment

  • Milestone: v0.2.21 (Deep Cognitive Information Foraging, Syntopical Reading & Epistemic Research Engine)
  • Roadmap Reference: docs/ROADMAP.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p0-criticalscope/aitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions