Skip to content

Type coverage report — public surface mypy --strict

Auto-generated by scripts/audit_types.py. The v1.1 type-completeness follow-on consumes this as a checklist.

Allowlist source (CONTRACT v1.0 #C5): every module reachable from activegraph.__all__ plus each pack's top-level __all__. Tier model (CONTRACT v1.0 #C2): 100% target on re-exports, 80% on second ring.

Classification: clean = mypy --strict reports zero errors against this module; dirty = one or more errors. Clean modules get strict = true in pyproject.toml; dirty modules fall back to lenient mypy until the v1.1 follow-on lands.

Summary

  • Allowlist modules: 38 (driven by activegraph.__all__ plus pack-level __all__s)
  • Clean (mypy --strict passes): 22 / 38 (57.9%)
  • Dirty (one or more findings): 16 (gap to 100% target: 16 modules)

Error categories (across dirty modules)

  • type-arg — 49 occurrence(s)
  • no-untyped-def — 28 occurrence(s)
  • no-any-return — 7 occurrence(s)
  • union-attr — 6 occurrence(s)
  • unused-ignore — 4 occurrence(s)
  • no-untyped-call — 4 occurrence(s)
  • misc — 3 occurrence(s)
  • attr-defined — 3 occurrence(s)
  • arg-type — 2 occurrence(s)
  • index — 1 occurrence(s)

Clean modules (mypy --strict passes)

  • [x] activegraph.core.clock
  • [x] activegraph.core.event
  • [x] activegraph.core.ids
  • [x] activegraph.core.patch
  • [x] activegraph.core.view
  • [x] activegraph.errors
  • [x] activegraph.frame
  • [x] activegraph.llm.errors
  • [x] activegraph.observability.metrics
  • [x] activegraph.policy
  • [x] activegraph.runtime.budget
  • [x] activegraph.runtime.config_errors
  • [x] activegraph.runtime.errors
  • [x] activegraph.runtime.exec_errors
  • [x] activegraph.runtime.registration_errors
  • [x] activegraph.runtime.scheduler
  • [x] activegraph.store.errors
  • [x] activegraph.store.memory
  • [x] activegraph.store.url
  • [x] activegraph.tools.base
  • [x] activegraph.tools.context
  • [x] activegraph.tools.errors

Dirty modules

activegraph.behaviors.base

  • [ ] 4 error(s); categories: no-untyped-def (3), type-arg (1)

activegraph.behaviors.decorators

  • [ ] 7 error(s); categories: type-arg (7)

activegraph.core.graph

  • [ ] 4 error(s); categories: no-untyped-def (2), unused-ignore (1), no-untyped-call (1)

activegraph.observability.logging

  • [ ] 4 error(s); categories: type-arg (4)

activegraph.observability.migration

  • [ ] 5 error(s); categories: type-arg (3), no-any-return (1), no-untyped-def (1)

activegraph.observability.prometheus

  • [ ] 4 error(s); categories: type-arg (3), unused-ignore (1)

activegraph.observability.status

  • [ ] 1 error(s); categories: no-any-return (1)

activegraph.packs

  • [ ] 19 error(s); categories: type-arg (16), misc (1), unused-ignore (1), arg-type (1)

activegraph.packs.diligence.settings

  • [ ] 1 error(s); categories: misc (1)

activegraph.runtime.diff

  • [ ] 1 error(s); categories: index (1)

activegraph.runtime.patterns

  • [ ] 15 error(s); categories: no-untyped-def (11), no-untyped-call (3), no-any-return (1)

activegraph.runtime.runtime

  • [ ] 38 error(s); categories: type-arg (13), no-untyped-def (10), union-attr (6), no-any-return (3), attr-defined (3), unused-ignore (1), misc (1), arg-type (1)

activegraph.store.base

  • [ ] 1 error(s); categories: no-untyped-def (1)

activegraph.store.serde

  • [ ] 1 error(s); categories: no-any-return (1)

activegraph.store.sqlite

  • [ ] 0 error(s); categories:

activegraph.tools.decorators

  • [ ] 2 error(s); categories: type-arg (2)