Skip to content

[Refactor] Audit design conformance and implement missing runtime behavior #28

Description

@dotnetpower

Motivation

Review the current architecture and performance contracts against executable paths, preserve the uncommitted hardening work under #27, and implement reproducible missing behavior rather than equating standalone modules with integrated features.

Work

  • Trace freshness, indexing, search, resource governance, and P2P contracts to their consumers.
  • Add regression evidence and implement validated gaps incrementally.
  • Measure meaningful bottlenecks and repeat critical review.
  • Synchronize English/Korean documentation with implemented and unimplemented contracts.

Acceptance

Document an explicit design conformance matrix, focused evidence, supported Python test results, performance measurements, and any work requiring further implementation or operational validation.

Related Code

  • infomesh/crawler/crawl_loop.py
  • infomesh/services.py
  • infomesh/index/local_store.py
  • infomesh/search/query.py
  • docs/en/02-architecture.md

Implementation Verification (2026-09-19)

Implementation checklist rechecked against the current local checkout. Python 3.13: 2,089 passed (54.48 s); Python 3.12: 2,089 passed (62.74 s). The supported gate excludes optional vector tests. Ruff lint/format, strict mypy, build, actionlint, editor checks and diff validation are recorded in the bilingual conformance report.

The latest #28 follow-up corrects owner-deletion starvation beyond the first 20 peers, with a durable per-URL cursor and 45-peer/restart/failure/churn/old-database regression evidence.

Evidence: docs/en/13-design-conformance.md and docs/ko/13-design-conformance.md, Open-Issue Acceptance Recheck. Physical LLM/audio quality, optional vector implementation, cross-platform and long-duration public-network validation are not certified by these local tests.

Status: implementation and local validation ready for maintainer review; no commit, push, deployment or issue closure performed. Checked boxes are not publication evidence.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    crawlerWeb crawler & content extractionrefactorCode improvement (no behavior change)search-qualitySearch relevance & ranking

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions