Skip to content

Add evidence-backed simplification audits - #88

Merged
zuiho-kai merged 1 commit into
mainfrom
agent/simplification-audit
Aug 18, 2026
Merged

zuiho-kai merged 1 commit into
mainfrom
agent/simplification-audit

Conversation

@zuiho-kai

Copy link
Copy Markdown
Collaborator

What changed

  • add a cross-repository simplification audit adapted from DeepSeek Harness
  • require production/non-production/ambiguous consumer evidence before calling code dead
  • distinguish trusted typed handoffs from external trust boundaries before flagging defensive code
  • require lifecycle ownership evidence before collapsing async state
  • expose the guide as a mandatory Direct review input without consuming owner-route slots

Why

Dead-code and over-defensive-programming findings need repeatable evidence, but the full procedure belongs in the shared knowledge base rather than every review prompt.

Validation

  • python knowledge/tools/check_knowledge_tree.py
  • python knowledge/tools/check_wiki_lint.py
  • PYTHONPATH=src python -m pytest -q test/test_thin_mcp_server.py (40 passed)
  • Ruff passed for changed Python files
  • git diff --check

Full local collection was not used as evidence because the default Python is 3.9 while the project requires Python 3.11+.

@zuiho-kai
zuiho-kai marked this pull request as ready for review August 18, 2026 08:10
@zuiho-kai
zuiho-kai merged commit f203f0d into main Aug 18, 2026
2 checks passed
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