Skip to content

docs: consolidate development artifacts - #56

Merged
2233admin merged 1 commit into
mainfrom
codex/consolidate-development-docs
Jul 31, 2026
Merged

docs: consolidate development artifacts#56
2233admin merged 1 commit into
mainfrom
codex/consolidate-development-docs

Conversation

@2233admin

Copy link
Copy Markdown
Owner

Summary

Verification

  • uv run pytest tests/unit/test_public_release_contract.py -q --no-cov (2 passed)
  • root inventory and retired-document reference scan passed
  • README relative-link scan passed
  • Python compile check passed
  • semantic AST unchanged across 58 modified Python files
  • independent verifier: PASS, no blocking findings
  • git diff --check passed

Known baseline

Targeted Ruff reported three pre-existing findings (UP041 x2, N818 x1); rerun with those baseline rules ignored passed with no additional findings.

@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@repowise-bot

repowise-bot Bot commented Jul 31, 2026

Copy link
Copy Markdown

✅ Health: 8.8
🚨 Change risk: 7.7/10 (high).

📋 At a glance
5 hotspots touched · 10 dead-code findings.

Files & modules (2)
  • backend (5 files)
    • backend/ws_agent_manager.py
    • backend/pipeline/pipeline.py
    • backend/processors/claude_processor.py
    • backend/processors/local_processor.py
    • .../v1/providers.py
  • tests (3 files)
    • .../channels/test_web_scraper_channel.py
    • .../pipeline/test_pipeline_errors.py
    • .../channels/test_api_channel.py

📌 Before you merge

  • Run tests/integration/test_webhooks_api.py, .../pipeline/test_pipeline.py: they import the changed files
🔎 More signals (3)

🗺️ Change map

flowchart LR
  subgraph PR ["Changed in this PR (4 with dependents)"]
    f_backend_pipeline_pipeline_py["backend/pipeline/pipeline.py 🔥"]:::changed
    f_backend_ws_agent_manager_py["backend/ws_agent_manager.py 🔥"]:::changed
    f_backend_config_py["backend/config.py"]:::changed
    f_backend_processors_openai_processor_py["backend/processors/openai_processor.py"]:::changed
  end
  f_backend_api_v1___init___py[".../v1/__init__.py"]
  f_backend_pipeline_pipeline_py --> f_backend_api_v1___init___py
  f_backend_main_py["backend/main.py"]
  f_backend_pipeline_pipeline_py --> f_backend_main_py
  f_backend_models___init___py["backend/models/__init__.py"]
  f_backend_pipeline_pipeline_py --> f_backend_models___init___py
  f_backend_pipeline_runner_py["backend/pipeline/runner.py"]
  f_backend_pipeline_pipeline_py --> f_backend_pipeline_runner_py
  f_backend_agent_server_py["backend/agent_server.py"]
  f_backend_ws_agent_manager_py --> f_backend_agent_server_py
  f_backend_channels_opencli_channel_py["backend/channels/opencli_channel.py"]
  f_backend_ws_agent_manager_py --> f_backend_channels_opencli_channel_py
  f_backend_config_py --> f_backend_api_v1___init___py
  f_backend_api_v1_browsers_py[".../v1/browsers.py"]
  f_backend_config_py --> f_backend_api_v1_browsers_py
  f_backend_api_v1_nodes_py[".../v1/nodes.py"]
  f_backend_config_py --> f_backend_api_v1_nodes_py
  f_backend_api_v1_system_py[".../v1/system.py"]
  f_backend_config_py --> f_backend_api_v1_system_py
  f_backend_database_py["backend/database.py"]
  f_backend_processors_openai_processor_py --> f_backend_database_py
  f_backend_processors_openai_processor_py --> f_backend_main_py
  more(["+6 more dependents"])
  PR --> more
  t_tests_unit_pipeline_test_pipeline_py(["✅ .../pipeline/test_pipeline.py"]):::guard
  t_tests_unit_pipeline_test_pipeline_py -.-> f_backend_pipeline_pipeline_py
  t_tests_integration_test_webhooks_api_py(["✅ tests/integration/test_webhooks_api.py"]):::guard
  t_tests_integration_test_webhooks_api_py -.-> f_backend_config_py
  classDef changed fill:#dbeafe,stroke:#1d4ed8,color:#1e3a5f
  classDef warn fill:#fef3c7,stroke:#b45309,color:#78350f
  classDef guard fill:#dcfce7,stroke:#15803d,color:#14532d
Loading

Solid arrows: code that imports the changed files (16 direct dependents, from the last indexed snapshot). Dashed: history/tests.

🔥 Hotspots touched (5)

  • .../channels/test_web_scraper_channel.py: 2 commits/90d, 0 dependents · primary owner: xujinghua (100%)
  • backend/ws_agent_manager.py: 3 commits/90d, 2 dependents · primary owner: xujinghua (100%)
  • backend/pipeline/pipeline.py: 10 commits/90d, 6 dependents · primary owner: xujinghua (100%)
2 more
  • .../pipeline/test_pipeline_errors.py: 2 commits/90d, 1 dependents · primary owner: xujinghua (100%)
  • .../channels/test_api_channel.py: 2 commits/90d, 0 dependents · primary owner: xujinghua (100%)

💀 Dead code (10 findings)

  • 💀 backend/processors/claude_processor.py (file-level) (confidence 0.40)
  • 💀 backend/processors/claude_processor.py ClaudeProcessor (confidence 0.70)
  • 💀 backend/ws_agent_manager.py unregister_connection (confidence 1.00)
7 more
  • 💀 backend/ws_agent_manager.py is_connected (confidence 1.00)
  • 💀 backend/ws_agent_manager.py list_connected (confidence 1.00)
  • 💀 backend/ws_agent_manager.py dispatch_collect (confidence 1.00)
  • 💀 backend/ws_agent_manager.py resolve_response (confidence 1.00)
  • 💀 backend/processors/local_processor.py (file-level) (confidence 0.40)
  • 💀 backend/processors/local_processor.py LocalProcessor (confidence 0.70)
  • 💀 .../v1/providers.py (file-level) (confidence 0.40)

📊 See the full report for this PR
Your repo map with this PR's blast radius lit up, every caller of the contracts it changes, and health before and after. No sign-in. · ⭐ Star Repowise · 📥 Install bot · Silence on a single PR with [skip repowise] in the title · Per-repo toggle on repowise.dev/settings?tab=bot · Updated 2026-07-31 16:07 UTC

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Summary by CodeRabbit

  • Documentation

    • Updated contribution guidance to clarify where development plans, tasks, and architectural decisions should be documented.
    • Removed obsolete project plans, audits, handoff notes, and task trackers.
    • Refreshed documentation references and terminology across project materials.
  • Chores

    • Cleaned up outdated planning references in code comments, documentation, and tests.
    • No user-facing functionality or runtime behavior changed.

Walkthrough

The change removes obsolete planning and audit documents, adds repository documentation rules, and replaces historical goal and PR references across backend, frontend, documentation, and tests. Executable behavior and public declarations remain unchanged.

Changes

Repository documentation cleanup

Layer / File(s) Summary
Repository guidance and document references
AGENTS.md, README.md, docs/*
Plans and tasks now use GitHub Issues, architectural decisions use docs/adr, and stale document references were updated. Obsolete root planning and audit documents were deleted.
Backend documentation terminology
backend/**/*
Backend comments and docstrings replace historical goal references with descriptive runtime and integration terminology.
Frontend and test terminology
frontend/lib/api/*, tests/**/*
Frontend comments and test documentation use descriptive runtime, integration, and hardening terminology. Test behavior is unchanged.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Poem

A rabbit hops through docs so neat,
Old goal-names vanish from the sheet.
Issues hold plans, ADRs hold lore,
Runtime words now guide the door.
No code hops; tests keep their beat.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the primary documentation consolidation and removal changes.
Description check ✅ Passed The description directly covers document removal, issue tracking, reference updates, hygiene rules, and verification results.
Docstring Coverage ✅ Passed Docstring coverage is 84.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@AGENTS.md`:
- Around line 20-27: Update the “Documentation Hygiene” guidance in AGENTS.md to
include root-level TODO* files alongside PLAN_*, GOAL*, HANDOFF*, and AUDIT* in
the prohibited transient-document patterns, while preserving the existing
instruction to track active plans and tasks in GitHub Issues.

In `@backend/agent_runtimes/base.py`:
- Line 5: Update the adapter description near the “ABC” reference so the
singular subject and verb agree, changing “an ABC adapters implement” to
singular “an ABC adapter implements” while preserving the surrounding meaning.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 93f1fa93-cf4a-45cd-82d0-2114258cc515

📥 Commits

Reviewing files that changed from the base of the PR and between 25256c2 and 60f58b8.

📒 Files selected for processing (91)
  • .claude-project.md
  • AGENTS.md
  • AUDIT-cybernetic-remediation.md
  • GOAL-2.md
  • GOAL-3.md
  • GOAL-4.md
  • GOAL-5.md
  • GOAL-6.md
  • GOAL-7.md
  • GOAL-agent-runtimes.md
  • GOAL.md
  • GRILL-KICKOFF.md
  • HANDOFF-strangler-fig.md
  • LIVE_WEBHOOK_ACCEPTANCE.md
  • PLAN_adapter_selfheal.md
  • PLAN_collection_nodes.md
  • PLAN_general_analysis_loop.md
  • PLAN_native_nodes_loop.md
  • PLAN_plugin_system.md
  • PLAN_product_positioning.md
  • PLAN_realtime_tool_capabilities.md
  • PLAN_ui_reskin.md
  • PONYTAIL.md
  • README.md
  • TODOS.md
  • backend/agent_runtimes/base.py
  • backend/agent_runtimes/pi_adapter.py
  • backend/agent_runtimes/registry.py
  • backend/api/v1/browser_act.py
  • backend/api/v1/chat.py
  • backend/api/v1/model_defaults.py
  • backend/api/v1/providers.py
  • backend/browser_act/__init__.py
  • backend/browser_act/cli.py
  • backend/browser_act/scripts.py
  • backend/browser_act_packs/VENDOR.md
  • backend/browser_act_packs/catalog.py
  • backend/browser_act_packs/manifest.py
  • backend/channels/browser_act_channel.py
  • backend/channels/crawl4ai_channel.py
  • backend/channels/skill_channel.py
  • backend/config.py
  • backend/llm/__init__.py
  • backend/llm/anthropic.py
  • backend/llm/base.py
  • backend/llm/catalog.py
  • backend/llm/factory.py
  • backend/llm/openai_compat.py
  • backend/llm/resolver.py
  • backend/migrations/versions/c9d0e1f2a3b4_add_runtimes_to_edge_nodes.py
  • backend/migrations/versions/d8e9f0a1b2c3_add_provider_models_and_model_defaults.py
  • backend/models/model_default.py
  • backend/models/provider_model.py
  • backend/pipeline/ai_processor.py
  • backend/pipeline/pipeline.py
  • backend/processors/claude_processor.py
  • backend/processors/local_processor.py
  • backend/processors/openai_processor.py
  • backend/security/url_guard.py
  • backend/services/provider_model_service.py
  • backend/ws_agent_manager.py
  • docs/CONTROL_THEORY_ARCHITECTURE.md
  • docs/SYSTEM_ANALYSIS.md
  • docs/WIRING_GAP_LEDGER.md
  • docs/dify-p0-compatibility-runtime-PRD.md
  • docs/dify-p0-compatibility-runtime-issues/05-dify-manifest-intake-and-plugin-registry.md
  • frontend/lib/api/endpoints.ts
  • frontend/lib/api/types.ts
  • tests/integration/test_auth_ws.py
  • tests/integration/test_browser_act_packs_api.py
  • tests/integration/test_browser_act_seeds.py
  • tests/integration/test_model_defaults_api.py
  • tests/integration/test_provider_models_api.py
  • tests/unit/api/test_nodes_upsert.py
  • tests/unit/browser_act/test_cli.py
  • tests/unit/browser_act_packs/test_manifest.py
  • tests/unit/channels/test_api_channel.py
  • tests/unit/channels/test_browser_act_channel.py
  • tests/unit/channels/test_web_scraper_channel.py
  • tests/unit/llm/test_adapters.py
  • tests/unit/llm/test_catalog.py
  • tests/unit/llm/test_pr_e_consumers.py
  • tests/unit/llm/test_resolver.py
  • tests/unit/pipeline/test_ai_processor.py
  • tests/unit/pipeline/test_pipeline_errors.py
  • tests/unit/test_agent_server.py
  • tests/unit/test_model_default.py
  • tests/unit/test_provider_model.py
  • tests/unit/test_runner.py
  • tests/unit/test_schedule_service_redbeat.py
  • tests/unit/worker/test_beat_schedule.py
💤 Files with no reviewable changes (24)
  • LIVE_WEBHOOK_ACCEPTANCE.md
  • PONYTAIL.md
  • PLAN_ui_reskin.md
  • GOAL-agent-runtimes.md
  • PLAN_plugin_system.md
  • PLAN_native_nodes_loop.md
  • PLAN_collection_nodes.md
  • PLAN_general_analysis_loop.md
  • GOAL.md
  • TODOS.md
  • GOAL-6.md
  • GOAL-3.md
  • HANDOFF-strangler-fig.md
  • GRILL-KICKOFF.md
  • GOAL-7.md
  • GOAL-4.md
  • GOAL-2.md
  • PLAN_adapter_selfheal.md
  • AUDIT-cybernetic-remediation.md
  • GOAL-5.md
  • docs/dify-p0-compatibility-runtime-issues/05-dify-manifest-intake-and-plugin-registry.md
  • .claude-project.md
  • PLAN_realtime_tool_capabilities.md
  • PLAN_product_positioning.md

Comment thread AGENTS.md
Comment on lines +20 to +27
## Documentation Hygiene

- Keep the repository root limited to durable product, architecture, testing,
and agent-instruction entry points.
- Track active plans and tasks in GitHub Issues. Record durable architecture
decisions in `docs/adr/`; do not add root-level `PLAN_*`, `GOAL*`, `HANDOFF*`,
or `AUDIT*` files.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Prohibit future root-level TODO* documents.

The rule forbids PLAN_*, GOAL*, HANDOFF*, and AUDIT*, but it omits TODO*. Add TODO* so the transient documents removed by this PR cannot be reintroduced.

As per coding guidelines, active plans and tasks belong in GitHub Issues, and the repository root must contain only durable entry points.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@AGENTS.md` around lines 20 - 27, Update the “Documentation Hygiene” guidance
in AGENTS.md to include root-level TODO* files alongside PLAN_*, GOAL*,
HANDOFF*, and AUDIT* in the prohibited transient-document patterns, while
preserving the existing instruction to track active plans and tasks in GitHub
Issues.

Source: Coding guidelines

the caller branches on (never ``isinstance``), a small task/result value-object
pair, and an ``ABC`` adapters implement. See ``GOAL-agent-runtimes.md`` §2 for
the design rationale — the short version: the three target frameworks
pair, and an ``ABC`` adapters implement. The three target frameworks

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix the grammar in the adapter description.

Line 5 says “an ABC adapters implement.” Rewrite the sentence so the subject and verb agree, for example: “an ABC adapter implements.”

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@backend/agent_runtimes/base.py` at line 5, Update the adapter description
near the “ABC” reference so the singular subject and verb agree, changing “an
ABC adapters implement” to singular “an ABC adapter implements” while preserving
the surrounding meaning.

@2233admin
2233admin merged commit 79b53fd into main Jul 31, 2026
15 checks passed
@2233admin
2233admin deleted the codex/consolidate-development-docs branch July 31, 2026 16:18
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