docsweep 0.3.1__tar.gz → 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {docsweep-0.3.1 → docsweep-0.4.0}/.docsweep.yaml +4 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/.gitignore +6 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/CHANGELOG.md +139 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/NOTICES.md +33 -7
- {docsweep-0.3.1 → docsweep-0.4.0}/PKG-INFO +51 -22
- {docsweep-0.3.1 → docsweep-0.4.0}/README.en.md +47 -19
- {docsweep-0.3.1 → docsweep-0.4.0}/README.md +47 -18
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/D-skill-update-proposal.md +2 -2
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/conventions.md +55 -9
- docsweep-0.4.0/docs/okf-export-format.md +121 -0
- docsweep-0.4.0/docs/okf-mapping.md +126 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/__init__.py +1 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/activity.py +2 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/brief/service.py +8 -28
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/capture/service.py +51 -14
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/__init__.py +5 -2
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/excluded.py +2 -2
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/read.py +113 -12
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/write.py +100 -49
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/parser.py +73 -7
- docsweep-0.4.0/docsweep/closeout.py +1021 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/completion.py +1 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/config.py +130 -4
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/context.py +21 -3
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cookbook.py +6 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cross/service.py +3 -2
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/day.py +2 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/detect.py +64 -2
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/doctor.py +100 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/engine.py +128 -21
- docsweep-0.4.0/docsweep/export.py +532 -0
- docsweep-0.4.0/docsweep/fix_conflict.py +257 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/ics_export.py +2 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/index.py +9 -4
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/init_cmd.py +3 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/inject/api.py +162 -24
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/interactive.py +45 -33
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/mcp_server.py +32 -16
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/migrate.py +106 -20
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/models.py +11 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/notify.py +1 -1
- docsweep-0.4.0/docsweep/okf.py +278 -0
- docsweep-0.4.0/docsweep/okf_check.py +355 -0
- docsweep-0.4.0/docsweep/okf_profiles/0.2.json +23 -0
- docsweep-0.4.0/docsweep/scan.py +747 -0
- docsweep-0.4.0/docsweep/secrets_guard.py +116 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/app.py +20 -3
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/i18n.py +4 -5
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/board.py +23 -4
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/capture.py +24 -13
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/cards.py +9 -2
- docsweep-0.4.0/docsweep/server/static/brief.js +29 -0
- docsweep-0.4.0/docsweep/server/static/capture.js +91 -0
- docsweep-0.4.0/docsweep/server/static/cytoscape.min.js +32 -0
- docsweep-0.4.0/docsweep/server/static/graph.js +80 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_settings.html +0 -5
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/brief.html +3 -16
- docsweep-0.4.0/docsweep/server/templates/capture.html +53 -0
- docsweep-0.4.0/docsweep/server/templates/graph.html +35 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/services/content.py +27 -6
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/services/frontmatter.py +16 -2
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/services/status.py +43 -3
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/similar_guard.py +1 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/stale.py +3 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/templates_gen.py +80 -23
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/timeline.py +5 -3
- docsweep-0.4.0/docsweep/work_queue.py +269 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep-ui.cmd +2 -2
- docsweep-0.4.0/opencode.json +6 -0
- docsweep-0.4.0/opencode.json.many-ai-cli.lock +1 -0
- docsweep-0.4.0/portfolio.md +36 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/pyproject.toml +12 -2
- {docsweep-0.3.1 → docsweep-0.4.0}/templates/.docsweep.yaml +11 -3
- {docsweep-0.3.1 → docsweep-0.4.0}/templates/.githooks/docsweep-check.py +126 -10
- {docsweep-0.3.1 → docsweep-0.4.0}/templates/AGENTS.md +17 -6
- {docsweep-0.3.1 → docsweep-0.4.0}/templates/AGENT_GUIDE.md +25 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/templates/CLAUDE.md +93 -32
- docsweep-0.4.0/tests/conftest.py +34 -0
- docsweep-0.4.0/tests/test_audit_v0_4_0.py +166 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_c2_commands.py +66 -9
- docsweep-0.4.0/tests/test_closeout.py +327 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_config.py +33 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_db_index.py +314 -6
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_detect.py +35 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_engine.py +18 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_export.py +91 -3
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_extras.py +145 -2
- docsweep-0.4.0/tests/test_fix_conflict.py +209 -0
- docsweep-0.4.0/tests/test_fix_conflict_prefer_h1.py +109 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_githooks.py +2 -3
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_index_prune.py +5 -4
- docsweep-0.4.0/tests/test_offline_assets.py +94 -0
- docsweep-0.4.0/tests/test_okf_profile.py +160 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_server_bulk.py +4 -1
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_services_status.py +42 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_templates_gen.py +4 -2
- docsweep-0.4.0/tests/test_work_dir_alias.py +144 -0
- docsweep-0.4.0/tests/test_work_queue_agent_flow.py +216 -0
- docsweep-0.3.1/docs/okf-export-format.md +0 -108
- docsweep-0.3.1/docs/okf-mapping.md +0 -94
- docsweep-0.3.1/docsweep/export.py +0 -287
- docsweep-0.3.1/docsweep/fix_conflict.py +0 -153
- docsweep-0.3.1/docsweep/scan.py +0 -445
- docsweep-0.3.1/docsweep/secrets_guard.py +0 -37
- docsweep-0.3.1/docsweep/server/templates/capture.html +0 -128
- docsweep-0.3.1/docsweep/server/templates/graph.html +0 -99
- {docsweep-0.3.1 → docsweep-0.4.0}/.githooks/pre-push +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/.github/workflows/ci.yml +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/.github/workflows/publish.yml +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/AGENTS.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/CLAUDE.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/LICENSE +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/archive/plan_drop-last-updated-followup.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/archive/plan_name-docsweep-availability.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/archive/plan_templates-drop-last-updated-line.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icon-a-broom.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icon-b-doc-check.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icon-c-sweep-sparkle.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/icons/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/a-broom/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/b-doc-check/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/proposals/c-sweep-sparkle/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/screenshots/webui-archive.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/assets/screenshots/webui-todo.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/ai-agent-integration.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/guidance-rewrite-proposal.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/mockups/dashboard_v0.1.0.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/mockups/dashboard_v0.1.0.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/mockups/mcp_usage_v0.1.0.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docs/zenn/docsweep/2026-06-22_slash-commands-p-s-d/20260622-claude-code-slash-commands.md +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/__main__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/aggregate_index.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/archive.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/atomic.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/auto_triage.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/brief/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/brief/score.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/capture/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/capture/heuristics.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/capture/llm.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/capture/models.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/claim.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/completion.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/ics.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/index.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/init.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/inject.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/mcp.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/memory.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/notify.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cli/commands/serve.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/cross/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/excluded.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/find.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/graph/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/graph/service.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/hints.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/history.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/inject/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/inject/agent_claude.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/inject/agent_codex.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/inject/blocks.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/inject/manifest.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/intent.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/linkcheck.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/memory_scan.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/presets.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/related.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/reports.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/resurrect/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/resurrect/embedding.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/resurrect/service.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/resurrect/similarity.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/review.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/security/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/security/path.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/config_write.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/brief.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/cross.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/graph.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/routes/resurrect.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/sanitize.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/security.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/board.css +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/dnd.js +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/edit.js +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/htmx.min.js +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/i18n.js +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/icons/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/icons/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/icons/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/icons/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/icons/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/static/keymap.js +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_board_body.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_card.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_change_picker.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_due_picker.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_edit_pane.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_label_picker.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/_preview.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/board.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/cross.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/server/templates/resurrect.html +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/services/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/services/archive.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/services/due.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/state.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep/states.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep-ui.command +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/docsweep-ui.sh +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/templates/install-hooks.ps1 +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/templates/install-hooks.sh +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_activity.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_atomic.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_audit_fixes.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_audit_fixes_2026_07_16.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_audit_server.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_brief.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_c5_features.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_capture.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_cli_smoke.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_config_due.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_cross.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_doctor.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_index_stats.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_index_vacuum.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_index_wal.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_init_and_undo_cli.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_interactive.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_invariants.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_mcp_tools.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_mcp_write_tools.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_new_cli_project_dir_autodetect.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_parser.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_resurrect.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_server.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_server_board.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_server_okf.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_server_routes_extras.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_services_archive.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_services_content.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_services_due.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_services_frontmatter.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_state.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_triage_schema.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_undo.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_ux_final.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_ux_remaining.py +0 -0
- {docsweep-0.3.1 → docsweep-0.4.0}/tests/test_ux_w2.py +0 -0
|
@@ -72,6 +72,9 @@ secrets.*
|
|
|
72
72
|
# docsweep の個人作業ログ(公開しない)
|
|
73
73
|
docs/local/
|
|
74
74
|
|
|
75
|
+
# Obsidian knowledge artifacts are not public repository content.
|
|
76
|
+
/docs/obsidian/
|
|
77
|
+
|
|
75
78
|
# docsweep 実行時の生成物(スキャン結果・履歴)
|
|
76
79
|
INDEX.md
|
|
77
80
|
INDEX.json
|
|
@@ -82,3 +85,6 @@ INDEX.json
|
|
|
82
85
|
# それらの期待値を testdata に置くと黙って脱落する。ディレクトリ単位で明示許可。
|
|
83
86
|
!**/testdata/**
|
|
84
87
|
!**/tests/fixtures/**
|
|
88
|
+
# === obsidian-link: managed ===
|
|
89
|
+
/docs/obsidian/
|
|
90
|
+
# === /obsidian-link: managed ===
|
|
@@ -5,6 +5,145 @@
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.4.0] - 2026-08-10
|
|
9
|
+
|
|
10
|
+
### アップグレード時の注意
|
|
11
|
+
|
|
12
|
+
- **本版の適用後に `docsweep index-rebuild` を 1 度実行することを推奨。** 索引の project 単位を
|
|
13
|
+
スキャンルートからリポジトリ(project_root)へ揃えたため、旧採番のファイル行が残る。
|
|
14
|
+
次回の `index-sync` でも自動的に掃除されるが、rebuild の方が確実。
|
|
15
|
+
- `docsweep[mcp]` を使っている場合、`mcp` の下限が `1.28.1` に上がる(CVE-2026-59950 対応)。
|
|
16
|
+
古い版に固定している環境では解決に失敗し得るので、依存の pin を見直すこと。
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- OKF v0.2 profile 駆動の frontmatter 状態分離を追加。標準 `status`(`draft` / `stable` /
|
|
21
|
+
`deprecated`)と docsweep の作業状態 `docsweep_state` を別軸で扱い、旧 `status: planned`
|
|
22
|
+
などは読み取り互換と dry-run migration を維持する。
|
|
23
|
+
- `okf-check`(read-only Bundle 適合検査)と `okf-profiles` を追加。未知 type / 追加キー /
|
|
24
|
+
欠けた任意フィールド / 壊れた link は warning または受理とし、構造上の error と区別する。
|
|
25
|
+
- `export --okf` が同梱 JSON profile を既定で使い、Bundle root `index.md` と v0.2 lifecycle
|
|
26
|
+
frontmatter を生成する。外部 profile は `--okf-profile` を明示した場合だけ読み込む。
|
|
27
|
+
- `closeout-check`(read-only)で親 plan と child plan の関係、状態 conflict、完了条件、検証証跡、
|
|
28
|
+
manual gate、Git dirty overlap を JSON で検査できるようにした。`new plan --split` は
|
|
29
|
+
`docsweep_parent` を子へ付け、旧 plan は限定的な filename + related inference のみで互換判定する。
|
|
30
|
+
- `work_dir` / `work_policy` / `secret_policy` を追加し、`new` / `capture` / MCP `capture_save` の
|
|
31
|
+
保存先を共通解決する。既定はプロジェクト相対 `docs/local`、private queue は export から除外し、
|
|
32
|
+
Git ignore / tracked 状態と秘密情報を保存前に検査する。
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- **cytoscape.js 3.30.0 を同梱し、graph ページの CDN 依存を解消した。** これまで graph ページだけが
|
|
37
|
+
実行時に unpkg から取得しており、オフライン環境で描画できず、利用のたびに外部サーバーへ
|
|
38
|
+
アクセスが渡っていた。`docsweep/server/static/cytoscape.min.js` として同梱し、MIT License 全文と
|
|
39
|
+
SHA-256 を `NOTICES.md` に記載した。Web UI の「このアプリについて」も CDN 節を廃して同梱一覧へ
|
|
40
|
+
統合した。なお **graph が描画されなかった原因は CDN 依存とは別**にもう 1 つあり、それは下記の
|
|
41
|
+
Fixed(inline script が CSP に拒否されていた件)で解消している。
|
|
42
|
+
- profile のルールを Python ソースから分離し、`docsweep/okf_profiles/<version>.json` で管理する。
|
|
43
|
+
ローカル JSON や commit 固定の GitHub Raw URL を利用できるため、ルール更新だけなら
|
|
44
|
+
docsweep の実装 Release を必要としない。旧形式の廃止時期は別途告知する。
|
|
45
|
+
- 作業記録の新規接頭辞を `plan` / `bugfix` / `pending` に整理した。個別リリースの MD は
|
|
46
|
+
`plan_release-vX.Y.Z_*.md`、再利用する手順・参照資料は `manual_*.md` / `reference_*.md` /
|
|
47
|
+
`setup_*.md` とし、旧 `manual_release-*` は履歴互換として読み取る。
|
|
48
|
+
- `apply --action relabel` / `promote` / `resume` の状態変更を共通 status service 経由に寄せ、
|
|
49
|
+
H1 と `docsweep_state`(旧形式では `status`)を同期する。relabel は archive を暗黙実行しない。
|
|
50
|
+
- `inject` / `init` / shipped templates / README の AI 導線を設定済み work queue 前提へ同期した。
|
|
51
|
+
|
|
52
|
+
### Security
|
|
53
|
+
|
|
54
|
+
- **`docsweep[mcp]` の範囲を `mcp>=1.28.1,<2` にした。** 従来の `mcp>=1.0` では
|
|
55
|
+
CVE-2026-59950(fix: 1.28.1)を含む版が install され得た(2026-07-21 監査 F-06)。
|
|
56
|
+
上限を切ったのは **mcp 2.0.0 で `mcp.server.fastmcp` が無くなり、`docsweep mcp` が
|
|
57
|
+
import 時点で落ちる**ため(上限なしだと新規 install が 2.0.0 を掴んで即座に壊れる)。
|
|
58
|
+
2.0 系への対応は次の版で行う。
|
|
59
|
+
|
|
60
|
+
### Fixed
|
|
61
|
+
|
|
62
|
+
- **Web UI の graph / brief / capture の 3 ページが、自分自身の CSP に拒否されて
|
|
63
|
+
機能していなかったのを修正した。** サーバーは全レスポンスに `script-src 'self'`
|
|
64
|
+
(`'unsafe-inline'` なし)を付けているのに、この 3 ページだけ処理を inline `<script>`
|
|
65
|
+
(brief は `onclick=` も)で書いていた。ブラウザは実行を拒否するが**画面には何のエラーも
|
|
66
|
+
出ない**ため、症状は「graph が真っ白」「brief のコピー ボタンが無反応」「capture が
|
|
67
|
+
生成ボタンを押しても何も起きない」という**黙った機能停止**だった。処理を
|
|
68
|
+
`/static/{graph,brief,capture}.js` へ出し、データは `<script type="application/json">`
|
|
69
|
+
(実行されないので CSP の対象外)と `data-*` 属性で渡す形に統一した。
|
|
70
|
+
template に inline script / inline イベント属性が入ったら落ちるテストを追加している。
|
|
71
|
+
- **`.gitignore` が `docs/local/`(末尾スラッシュ)のとき、新規プロジェクトの 1 本目が
|
|
72
|
+
「private work queue が Git ignore されていません」で作れなかったのを修正した。**
|
|
73
|
+
`git check-ignore` は実在しないパスをディレクトリと判断できないため、queue が未作成の
|
|
74
|
+
初回だけディレクトリ限定パターンに一致しなかった。docsweep 自身のテンプレートと
|
|
75
|
+
ドキュメントが `docs/local/` 表記なので、手順どおり設定した利用者が必ず踏む経路だった。
|
|
76
|
+
末尾スラッシュ付きでも問い合わせるようにした。
|
|
77
|
+
- **`fix-conflict --prefer h1` が H1 の値を書き戻せていなかったのを修正した。** 書き戻す値に
|
|
78
|
+
「frontmatter > H1 > filename」で解決済みの state を使っていたため、frontmatter がある
|
|
79
|
+
conflict では **frontmatter 自身の値を自分に書き戻すだけ**になり、`[ok]` を報告しながら
|
|
80
|
+
1 文字も直らなかった(0.3.1 で直したのは `--path` の絞り込み側だけで、この本体は残っていた)。
|
|
81
|
+
H1 の値を本文から取り直すようにし、既に同値なら書き込まないようにした。
|
|
82
|
+
- **frontmatter を 1 フィールド書き換えるたびに、本文との間の空行が消えていたのを修正した。**
|
|
83
|
+
frontmatter を判定する正規表現の閉じ `---` の後ろが `\s*` で、直後の空行まで飲み込んでいた。
|
|
84
|
+
tracked な docs では relabel のたびによけいな差分が出ていた。
|
|
85
|
+
- **現行の OpenAI API キー形式(`sk-proj-…` / `sk-svcacct-…`)を秘密情報スキャンが
|
|
86
|
+
検出できていなかったのを修正した。** 旧パターンが `sk-` の直後に英数 20 文字以上を
|
|
87
|
+
要求しており、途中に `-` が入る現行形式は 1 件も一致しなかった(`secret_policy: block`
|
|
88
|
+
でも素通りしていた)。併せて Slack / Google API key / Stripe の形式を追加し、
|
|
89
|
+
`PRIVATE KEY` ブロックの検出をアルゴリズム名の列挙から一般化した(DSA / PGP / ENCRYPTED を含む)。
|
|
90
|
+
- **`secret_policy` に未知の値(設定の綴り違い等)を渡すと、block が黙って warn に
|
|
91
|
+
なっていたのを修正した。** `off` 以外は `block` として扱う(fail-closed)。無効化できるのは
|
|
92
|
+
明示的な `off` だけになった。
|
|
93
|
+
- **private work queue の保護を互換 fallback で外すときに、黙って外していたのをやめた。**
|
|
94
|
+
`work_dir` / `work_policy` が未設定の既存利用者では private queue の検査結果が error から
|
|
95
|
+
取り除かれるが、その内容が警告としても残らず「保護されている」と誤解できる状態だった。
|
|
96
|
+
落とした検査結果は理由と明示方法つきで warning に残す。`export --okf` も同様に、
|
|
97
|
+
work_policy=private の queue を含めた場合は対象プロジェクト名つきで警告し、
|
|
98
|
+
除外した場合は件数を通知する(黙って含めない・黙って減らさない)。
|
|
99
|
+
- **`work_dir` を junction / symlink でリポジトリ外へ逃がした構成で、その作業記録が
|
|
100
|
+
別プロジェクトの持ち物として登録されていたのを修正した。** `docs/local` をリンク化すると
|
|
101
|
+
`Path.resolve()` がリポジトリの外へ抜け、実体側から上へ辿っても project marker が見つからず、
|
|
102
|
+
`detect_project_root` の fallback が「スキャンルート直下の先頭セグメント」を project にしていた。
|
|
103
|
+
一方 cwd 判定は実体ディレクトリを見るので別名になり、**`docsweep brief` がエラーも警告も出さずに
|
|
104
|
+
0 件を返していた**(実測: 未完 65 件のリポジトリで 0 件。同じ配置の 20 リポジトリすべてが該当)。
|
|
105
|
+
`work_dir` は「そのプロジェクトの作業キュー」と宣言済みの設定なので、実体パスから宣言元
|
|
106
|
+
プロジェクトへ引き戻す対応表を作り、project 判定の入口で marker 走査より先に引くようにした。
|
|
107
|
+
同じ実体を 2 つのプロジェクトが `work_dir` として宣言している場合は、**黙って片方を採らず
|
|
108
|
+
対応表から外す**(どちらが正しいか機械には決められないため)。通常構成(`docs/local` が実体)の
|
|
109
|
+
挙動は変わらない。
|
|
110
|
+
- **索引の project 単位をスキャンルートからリポジトリ(project_root)へ揃えた。**
|
|
111
|
+
索引経由の `WHERE project_id = ?` はスキャンルート名で、索引なしフォールバックは
|
|
112
|
+
`FileRecord.project`(= リポ名)で絞っており、**同じ `--project <リポ名>` が経路に
|
|
113
|
+
よって別の列と比較されていた**。索引が有効だと `docsweep triage --project mer` が
|
|
114
|
+
エラーも警告も出さずに 0 件を返し、「残作業なし」と誤読する状態だった。
|
|
115
|
+
併せて `projects.root_path` は project_root、`files.rel_path` は project_root 相対に
|
|
116
|
+
なる。副作用として、basename が同じスキャンルート(`D:/dev` と `C:/Users/x/dev`)が
|
|
117
|
+
同一 project_id に潰れて互いの登録を消し合う問題も解消した(実測で
|
|
118
|
+
`files_added: 639 / files_deleted: 639 / files_unchanged: 0` だった差分同期が、
|
|
119
|
+
`files_unchanged: 641` の真の no-op になった)。処理順次第で索引が空のまま終わり得た
|
|
120
|
+
危険もなくなる。
|
|
121
|
+
**本修正の適用後は `docsweep index-rebuild` を 1 度実行することを推奨**(旧採番の
|
|
122
|
+
ファイル行は次回の `index-sync` でも自動的に掃除されるが、rebuild の方が確実)。
|
|
123
|
+
掃除した時は stderr に 1 行だけ通知する。空になった project 行は自動削除せず、
|
|
124
|
+
従来どおり `docsweep index-sync --prune-projects` に委ねる。
|
|
125
|
+
`--prune-projects` の現行 ID 算出もスキャンルート単位から「今回の走査で見つかった
|
|
126
|
+
全 project」へ追従させた(直し忘れると生きている project が孤児と誤判定されて
|
|
127
|
+
CASCADE 削除される)。
|
|
128
|
+
- `index-sync` / `index-rebuild` の全走査を DB 書き込みより前に完了させるようにした。
|
|
129
|
+
`index-rebuild` は `DELETE FROM files` の直後に走査ループへ入っていたため、走査中に
|
|
130
|
+
落ちると索引が不完全なまま残っていた(下記 junction 問題で実際に壊れた)。
|
|
131
|
+
- **`docsweep fix-conflict --path` が効いていなかったのを修正。** `--path` の dest が
|
|
132
|
+
`_add_scope_args` の positional `paths`(スキャンルート)と衝突し、positional 側の
|
|
133
|
+
既定値 `[]` が `append` の結果を潰していたため、**1 件だけ指定したつもりで全 conflict が
|
|
134
|
+
処理対象になっていた**(`--prefer` の向きが合わない conflict まで巻き込むと、完了済み
|
|
135
|
+
plan が未着手へ戻る誤修正になる)。dest を分離し、併せて渡されたパスを
|
|
136
|
+
`resolve().as_posix()` で正規化して Windows のバックスラッシュ表記でも一致するようにし、
|
|
137
|
+
1 件も一致しなかった指定は stderr に警告するようにした(黙って「対象なし」で終わると
|
|
138
|
+
誤指定に気づけない)。
|
|
139
|
+
- `index-sync` / `index-rebuild` が、スキャンルート配下に junction / symlink があると
|
|
140
|
+
`ValueError: '...' is not in the subpath of '...'` で中断していたのを修正。
|
|
141
|
+
`FileRecord.path` は `resolve()` 済みのためリンク先がルート外の実体パスに解決され、
|
|
142
|
+
`relative_to(root)` が失敗していた。ルート相対が取れない場合は実体の絶対パスを
|
|
143
|
+
`rel_path` の識別子に使う(表示・移送に使う絶対パスは従来どおり `abs_path` 列を参照する
|
|
144
|
+
ため実害はない)。`index-rebuild` は `DELETE FROM files` の直後にこのループへ入るので、
|
|
145
|
+
中断すると索引が不完全なまま残っていた。
|
|
146
|
+
|
|
8
147
|
## [0.3.1] - 2026-07-18
|
|
9
148
|
|
|
10
149
|
v0.3.0 patch。`.docsweep/backup/` 経由で `docs/local/*.md`(家宣言 private)が
|
|
@@ -4,9 +4,9 @@ docsweep 自体は MIT License で配布されています(リポジトリ直
|
|
|
4
4
|
本ファイルは **配布物に bundle されているサードパーティ・ソフトウェア** の出典と
|
|
5
5
|
ライセンスを記録するためのものです。
|
|
6
6
|
|
|
7
|
-
> 注:
|
|
8
|
-
>
|
|
9
|
-
>
|
|
7
|
+
> 注: bundle 対象のうち **cytoscape.js は MIT License** であり、著作権表記とライセンス全文の
|
|
8
|
+
> 保持が配布条件です(下記 "Bundled" に転載)。htmx は 0BSD のため法的には不要ですが、
|
|
9
|
+
> 透明性・利用者への情報提供の観点から同じ形式で記録しています。
|
|
10
10
|
>
|
|
11
11
|
> **pip install で別途解決される依存**(PyYAML / FastAPI / Jinja2 / mcp 等)は
|
|
12
12
|
> bundle ではないため本ファイル対象外です。各依存パッケージは PyPI 上で自身の
|
|
@@ -30,14 +30,40 @@ Permission to use, copy, modify, and/or distribute this software for any purpose
|
|
|
30
30
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
## Loaded from CDN (not bundled)
|
|
34
|
-
|
|
35
33
|
### cytoscape.js 3.30.0
|
|
36
34
|
|
|
37
35
|
- 用途: Web UI の graph ページのネットワーク可視化
|
|
38
|
-
-
|
|
36
|
+
- 同梱パス: `docsweep/server/static/cytoscape.min.js`
|
|
39
37
|
- 出典: https://github.com/cytoscape/cytoscape.js
|
|
40
|
-
-
|
|
38
|
+
- 取得元: `https://unpkg.com/cytoscape@3.30.0/dist/cytoscape.min.js`(2026-08-10 取得)
|
|
39
|
+
- SHA-256: `a298b253e4b9b08bd0b2fe222ad67b2b9f42d057d7c17f7a050512079c46fddd`
|
|
40
|
+
- ライセンス: **MIT License**
|
|
41
|
+
- 著作権表記: `Copyright (c) 2016-2024, The Cytoscape Consortium.`(原 LICENSE 全文を下記に記載)
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
Copyright (c) 2016-2024, The Cytoscape Consortium.
|
|
45
|
+
|
|
46
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
47
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
48
|
+
the Software without restriction, including without limitation the rights to
|
|
49
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
50
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
51
|
+
so, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
The above copyright notice and this permission notice shall be included in all
|
|
54
|
+
copies or substantial portions of the Software.
|
|
55
|
+
|
|
56
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
57
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
58
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
59
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
60
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
61
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
62
|
+
SOFTWARE.
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
> 2026-08-10(v0.4.0)より前は CDN(unpkg)から実行時取得していました。オフライン完結と
|
|
66
|
+
> 外部への利用状況の送信回避のため同梱へ切り替えています。
|
|
41
67
|
|
|
42
68
|
## Runtime dependencies (not bundled — pulled by pip)
|
|
43
69
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: docsweep
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Sweep, triage and archive AI coding agents' plan/bugfix/pending Markdown across projects.
|
|
5
5
|
Project-URL: Homepage, https://github.com/ishizakahiroshi/docsweep
|
|
6
6
|
Project-URL: Repository, https://github.com/ishizakahiroshi/docsweep
|
|
@@ -22,7 +22,7 @@ Provides-Extra: all
|
|
|
22
22
|
Requires-Dist: fastapi>=0.110; extra == 'all'
|
|
23
23
|
Requires-Dist: jinja2>=3.1; extra == 'all'
|
|
24
24
|
Requires-Dist: markdown>=3.6; extra == 'all'
|
|
25
|
-
Requires-Dist: mcp
|
|
25
|
+
Requires-Dist: mcp<2,>=1.28.1; extra == 'all'
|
|
26
26
|
Requires-Dist: nh3>=0.2; extra == 'all'
|
|
27
27
|
Requires-Dist: python-multipart>=0.0.18; extra == 'all'
|
|
28
28
|
Requires-Dist: questionary>=2.0; extra == 'all'
|
|
@@ -33,7 +33,7 @@ Provides-Extra: all-lite
|
|
|
33
33
|
Requires-Dist: fastapi>=0.110; extra == 'all-lite'
|
|
34
34
|
Requires-Dist: jinja2>=3.1; extra == 'all-lite'
|
|
35
35
|
Requires-Dist: markdown>=3.6; extra == 'all-lite'
|
|
36
|
-
Requires-Dist: mcp
|
|
36
|
+
Requires-Dist: mcp<2,>=1.28.1; extra == 'all-lite'
|
|
37
37
|
Requires-Dist: nh3>=0.2; extra == 'all-lite'
|
|
38
38
|
Requires-Dist: python-multipart>=0.0.18; extra == 'all-lite'
|
|
39
39
|
Requires-Dist: questionary>=2.0; extra == 'all-lite'
|
|
@@ -44,7 +44,7 @@ Requires-Dist: mypy>=1.10; extra == 'dev'
|
|
|
44
44
|
Requires-Dist: pytest>=8.0; extra == 'dev'
|
|
45
45
|
Requires-Dist: ruff>=0.4; extra == 'dev'
|
|
46
46
|
Provides-Extra: mcp
|
|
47
|
-
Requires-Dist: mcp
|
|
47
|
+
Requires-Dist: mcp<2,>=1.28.1; extra == 'mcp'
|
|
48
48
|
Provides-Extra: resurrect
|
|
49
49
|
Requires-Dist: sentence-transformers>=2.0; extra == 'resurrect'
|
|
50
50
|
Provides-Extra: review
|
|
@@ -70,25 +70,23 @@ AI コーディングツール(Claude Code / Codex 等)が生成する `plan
|
|
|
70
70
|
H1 ステータスラベル(`[完了]` / `[計画]` / `[廃止]` 等)を機械的に読み取り、完了を各プロジェクトの
|
|
71
71
|
`archive/` へ自動移送し、陳腐化を「要判断」フラグで可視化し、複数プロジェクトを横断 INDEX で一望できます。
|
|
72
72
|
|
|
73
|
-
## OKF(Open Knowledge Format
|
|
73
|
+
## OKF(Open Knowledge Format)v0.2 対応
|
|
74
74
|
|
|
75
|
-
docsweep は [OKF
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
`
|
|
79
|
-
|
|
75
|
+
docsweep は [OKF v0.2 の公式仕様](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md)
|
|
76
|
+
に合わせ、Markdown frontmatter の `type` / `status` を機械可読に扱います。
|
|
77
|
+
OKF の `status` は文書ライフサイクル(`draft` / `stable` / `deprecated`)なので、
|
|
78
|
+
docsweep の作業状態(`planned` / `in-progress` / `watching` / `done` / `discarded` /
|
|
79
|
+
`pending`)は拡張フィールド `docsweep_state` に分離しています。
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
`type` と追加フィールドは OKF の方針どおり閉じた登録簿にせず、docsweep が標準管理する
|
|
82
|
+
`plan` / `bugfix` / `pending` 以外も壊さず保持します。`manual` / `reference` / `setup` は
|
|
83
|
+
静的な知識文書として扱い、H1 ラベルは
|
|
84
|
+
人間向け表示として併用し、旧形式の `status: planned` なども読み取り互換を維持します。
|
|
85
|
+
既存ファイルを移行するときは `migrate-frontmatter --dry-run` で差分を確認してから
|
|
86
|
+
`--apply` を実行してください。
|
|
82
87
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
archive 自動化のための制約で、自由な type 値は管理対象外として扱います。
|
|
86
|
-
- **H1 ステータスラベル運用は廃止せず併用**。md を開いた瞬間に状態が見える人間向け価値を
|
|
87
|
-
残し、frontmatter が無いファイルは H1 ラベルへフォールバックします(後方互換 100%)。
|
|
88
|
-
|
|
89
|
-
詳細な対応表は [docs/okf-mapping.md](docs/okf-mapping.md) を参照。
|
|
90
|
-
「docsweep を抜けても md が腐らない」を実演する `docsweep export --okf` も提供しています
|
|
91
|
-
([docs/okf-export-format.md](docs/okf-export-format.md))。
|
|
88
|
+
詳細な対応表は [docs/okf-mapping.md](docs/okf-mapping.md)、Bundle の構造は
|
|
89
|
+
[docs/okf-export-format.md](docs/okf-export-format.md) を参照してください。
|
|
92
90
|
|
|
93
91
|
## インストール
|
|
94
92
|
|
|
@@ -160,7 +158,7 @@ pip install 'docsweep[all]'
|
|
|
160
158
|
|
|
161
159
|
# 起動(PATH を気にせず常に動く形)
|
|
162
160
|
python -m docsweep triage
|
|
163
|
-
python -m docsweep serve --root
|
|
161
|
+
python -m docsweep serve --root D:\dev
|
|
164
162
|
python -m docsweep mcp
|
|
165
163
|
|
|
166
164
|
# MCP 登録例(~\.claude\mcp.json)— 絶対パスにすると Python 切替時も安定
|
|
@@ -287,6 +285,9 @@ python -m docsweep capture --from file ./conv.md --save-all
|
|
|
287
285
|
# plan の「変更予定ファイル」と実装実態の整合チェック
|
|
288
286
|
python -m docsweep linkcheck --json
|
|
289
287
|
|
|
288
|
+
# 親 plan と child plan の closeout 検査(read-only。状態変更・archive はしない)
|
|
289
|
+
python -m docsweep closeout-check --path docs/local/plan_<parent>.md --to watching --json
|
|
290
|
+
|
|
290
291
|
# 状態遷移を提案(ruleset / 将来 LLM 委譲)+ 一括適用
|
|
291
292
|
python -m docsweep auto-triage --suggest > decisions.json
|
|
292
293
|
python -m docsweep auto-triage --apply decisions.json --dry-run
|
|
@@ -328,12 +329,21 @@ python -m docsweep review
|
|
|
328
329
|
# テンプレ即生成
|
|
329
330
|
python -m docsweep new plan my-topic
|
|
330
331
|
python -m docsweep new bugfix crash-on-start
|
|
332
|
+
python -m docsweep new plan my-topic --split 3 # child に docsweep_parent を付ける
|
|
331
333
|
|
|
332
334
|
# OKF 互換 zip でエクスポート(docsweep を抜けても md が腐らないことを実演する材料)
|
|
333
335
|
python -m docsweep export --okf # ./docsweep-okf-<date>.zip
|
|
334
336
|
python -m docsweep export --okf --out /tmp/snapshot.zip # 出力先を明示
|
|
335
337
|
python -m docsweep export --okf --include-archive # archive/ 配下も含める
|
|
336
338
|
|
|
339
|
+
# 任意 Bundle を read-only 検査(未知 type / 追加キー / 壊れた link は警告扱い)
|
|
340
|
+
python -m docsweep okf-check ./bundle --json
|
|
341
|
+
python -m docsweep okf-profiles
|
|
342
|
+
|
|
343
|
+
# profile は既定では同梱 JSON。外部 profile は明示したときだけ取得する
|
|
344
|
+
python -m docsweep export --okf --okf-profile ./okf-profile.json
|
|
345
|
+
python -m docsweep okf-check ./bundle --okf-profile https://raw.githubusercontent.com/<org>/<repo>/<sha>/okf.json --okf-profile-sha256 <sha256>
|
|
346
|
+
|
|
337
347
|
# 運用ルールを各プロジェクトへ注入/取り消し(CLAUDE.md=正本・AGENTS.md はそこを指すポインタ)
|
|
338
348
|
python -m docsweep inject --project ./foo --preset claude-jp
|
|
339
349
|
python -m docsweep inject --project ./foo --no-guidance # 導線を省きラベル節だけ(導線をグローバルに寄せる場合)
|
|
@@ -366,7 +376,7 @@ Web UI(看板)はこんな見た目です。
|
|
|
366
376
|
|
|
367
377
|
```
|
|
368
378
|
plan: [保留] → [計画] → [実行中] → [様子見] → [完了]
|
|
369
|
-
bugfix: [
|
|
379
|
+
bugfix: [実行中] → [様子見] → [完了]
|
|
370
380
|
(どちらも、どの状態からでも [廃止] へ分岐できる)
|
|
371
381
|
```
|
|
372
382
|
|
|
@@ -422,6 +432,25 @@ profiles:
|
|
|
422
432
|
python -m docsweep triage ~/dev/foo ~/projects/bar
|
|
423
433
|
```
|
|
424
434
|
|
|
435
|
+
### 作業 queue と private ドキュメント
|
|
436
|
+
|
|
437
|
+
`new` / `capture --save-all` / MCP `capture_save` は、同じプロジェクト相対 `work_dir` に保存します。
|
|
438
|
+
未設定時の既定は `docs/local` で、プロジェクトに `docs/` があるかどうかで保存先は変わりません。
|
|
439
|
+
|
|
440
|
+
```yaml
|
|
441
|
+
work_dir: docs/local # プロジェクト相対。例: docs/ai
|
|
442
|
+
work_policy: private # private は Git ignore / tracked 状態を保存前に検査
|
|
443
|
+
secret_policy: block # high-confidence secret は拒否。warn / off も選択可
|
|
444
|
+
```
|
|
445
|
+
|
|
446
|
+
解決順は CLI の `--work-dir` / `--work-policy` / `--secret-policy`、プロジェクト設定、
|
|
447
|
+
グローバル設定の順です。private queue は `export` の既定対象から除外され、`brief` / `triage` は
|
|
448
|
+
Git ignore されていても設定済み queue を確認できます。秘密情報の警告や JSON / UI の表示には本文・値の一部を含めません。
|
|
449
|
+
必要な場合だけ `--allow-sensitive` を明示してください。
|
|
450
|
+
|
|
451
|
+
初回は `python -m docsweep init` で既定設定を作り、各プロジェクトでは
|
|
452
|
+
`python -m docsweep inject` の導線と `python -m docsweep new plan <topic>` を使います。
|
|
453
|
+
|
|
425
454
|
## AI エージェント連携
|
|
426
455
|
|
|
427
456
|
> **wings(v0.2 系)の方針**: 「全 AI 対応」を最優先し、自然言語起動の価値が高い **朝の入口 3 tool**
|
|
@@ -11,26 +11,23 @@ labels such as `[完了]` / `[計画]` / `[廃止]` are supported out of the box
|
|
|
11
11
|
completed docs into each project's `archive/`, surfaces stale ones with a "needs decision" flag,
|
|
12
12
|
and gives you a cross-project INDEX at a glance.
|
|
13
13
|
|
|
14
|
-
## OKF (Open Knowledge Format)
|
|
14
|
+
## OKF (Open Knowledge Format) v0.2 support
|
|
15
15
|
|
|
16
|
-
docsweep
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
`
|
|
20
|
-
|
|
16
|
+
docsweep follows the [official OKF v0.2 specification](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md)
|
|
17
|
+
for machine-readable Markdown frontmatter, including `type` and `status`.
|
|
18
|
+
Because OKF `status` describes the document lifecycle (`draft` / `stable` / `deprecated`),
|
|
19
|
+
docsweep stores its work state (`planned` / `in-progress` / `watching` / `done` /
|
|
20
|
+
`discarded` / `pending`) separately in the extension field `docsweep_state`.
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
`type` and producer extension fields are not treated as a closed registry: unknown values are
|
|
23
|
+
preserved as OKF allows them. docsweep standardizes work records as `plan` / `bugfix` /
|
|
24
|
+
`pending`; `manual` / `reference` / `setup` are kept as static knowledge documents, while H1
|
|
25
|
+
labels remain the human-facing view. Legacy `manual_release` files remain readable for migration.
|
|
26
|
+
Legacy values such as `status: planned` remain readable; use `migrate-frontmatter --dry-run`
|
|
27
|
+
and then `--apply` when you want to split an existing collection into the two axes.
|
|
23
28
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
This constraint enables archive automation; arbitrary type values are treated as unmanaged.
|
|
27
|
-
- **H1 status labels are kept alongside, not deprecated**. They preserve the human-facing value
|
|
28
|
-
of seeing the state the moment you open the file, and files without frontmatter fall back to
|
|
29
|
-
the H1 label (100% backward compatible).
|
|
30
|
-
|
|
31
|
-
See [docs/okf-mapping.md](docs/okf-mapping.md) for the full mapping table.
|
|
32
|
-
`docsweep export --okf` demonstrates that "your md files won't rot even if you leave docsweep"
|
|
33
|
-
([docs/okf-export-format.md](docs/okf-export-format.md)).
|
|
29
|
+
See [docs/okf-mapping.md](docs/okf-mapping.md) for the mapping table and
|
|
30
|
+
[docs/okf-export-format.md](docs/okf-export-format.md) for the Bundle layout.
|
|
34
31
|
|
|
35
32
|
## Installation
|
|
36
33
|
|
|
@@ -104,7 +101,7 @@ pip install 'docsweep[all]'
|
|
|
104
101
|
|
|
105
102
|
# Launch (always works regardless of PATH)
|
|
106
103
|
python -m docsweep triage
|
|
107
|
-
python -m docsweep serve --root
|
|
104
|
+
python -m docsweep serve --root D:\dev
|
|
108
105
|
python -m docsweep mcp
|
|
109
106
|
|
|
110
107
|
# MCP registration example (~\.claude\mcp.json) — an absolute path stays stable across Python switches
|
|
@@ -233,6 +230,9 @@ python -m docsweep capture --from file ./conv.md --save-all
|
|
|
233
230
|
# Check consistency between a plan's "files to change" and the actual implementation
|
|
234
231
|
python -m docsweep linkcheck --json
|
|
235
232
|
|
|
233
|
+
# Read-only closeout check for a parent plan and its child plans
|
|
234
|
+
python -m docsweep closeout-check --path docs/local/plan_<parent>.md --to watching --json
|
|
235
|
+
|
|
236
236
|
# Suggest state transitions (ruleset / future LLM delegation) + bulk apply
|
|
237
237
|
python -m docsweep auto-triage --suggest > decisions.json
|
|
238
238
|
python -m docsweep auto-triage --apply decisions.json --dry-run
|
|
@@ -274,12 +274,21 @@ python -m docsweep review
|
|
|
274
274
|
# Instant template generation
|
|
275
275
|
python -m docsweep new plan my-topic
|
|
276
276
|
python -m docsweep new bugfix crash-on-start
|
|
277
|
+
python -m docsweep new plan my-topic --split 3 # add docsweep_parent to each child
|
|
277
278
|
|
|
278
279
|
# Export as an OKF-compatible zip (proof that your md files won't rot if you leave docsweep)
|
|
279
280
|
python -m docsweep export --okf # ./docsweep-okf-<date>.zip
|
|
280
281
|
python -m docsweep export --okf --out /tmp/snapshot.zip # Explicit output path
|
|
281
282
|
python -m docsweep export --okf --include-archive # Include archive/ as well
|
|
282
283
|
|
|
284
|
+
# Read-only Bundle check (unknown types / extra fields / broken links are warnings)
|
|
285
|
+
python -m docsweep okf-check ./bundle --json
|
|
286
|
+
python -m docsweep okf-profiles
|
|
287
|
+
|
|
288
|
+
# Bundled profiles are offline by default; external profiles are explicit opt-in
|
|
289
|
+
python -m docsweep export --okf --okf-profile ./okf-profile.json
|
|
290
|
+
python -m docsweep okf-check ./bundle --okf-profile https://raw.githubusercontent.com/<org>/<repo>/<sha>/okf.json --okf-profile-sha256 <sha256>
|
|
291
|
+
|
|
283
292
|
# Inject / remove the operating rules per project (CLAUDE.md = source of truth, AGENTS.md is a pointer to it)
|
|
284
293
|
python -m docsweep inject --project ./foo --preset claude-jp
|
|
285
294
|
python -m docsweep inject --project ./foo --no-guidance # Label section only, no entry-point wiring (when wiring lives in the global config)
|
|
@@ -309,7 +318,7 @@ bugfix: [In Progress] → [Watching] → [Done]
|
|
|
309
318
|
(either can branch to [Discarded] from any state)
|
|
310
319
|
```
|
|
311
320
|
|
|
312
|
-
The Japanese label set (`[保留]` → `[計画]` → `[実行中]` → `[様子見]` → `[完了]` /
|
|
321
|
+
The Japanese label set (`[保留]` → `[計画]` → `[実行中]` → `[様子見]` → `[完了]` /
|
|
313
322
|
`[廃止]`) is supported by default and follows the same transitions.
|
|
314
323
|
|
|
315
324
|
- **`[Watching]`** = fixed but resting. **Never auto-archived** (protected as the queue awaiting
|
|
@@ -368,6 +377,25 @@ For a **one-off scan** you can also pass positional arguments without writing an
|
|
|
368
377
|
python -m docsweep triage ~/dev/foo ~/projects/bar
|
|
369
378
|
```
|
|
370
379
|
|
|
380
|
+
### Work queue and private documents
|
|
381
|
+
|
|
382
|
+
`new`, `capture --save-all`, and MCP `capture_save` use the same project-relative `work_dir`.
|
|
383
|
+
The default is `docs/local`; the path does not silently change based on whether `docs/` already exists.
|
|
384
|
+
|
|
385
|
+
```yaml
|
|
386
|
+
work_dir: docs/local # project-relative; for example docs/ai
|
|
387
|
+
work_policy: private # check Git ignore / tracked state before writing
|
|
388
|
+
secret_policy: block # reject high-confidence secrets; warn / off are explicit choices
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
The precedence is CLI `--work-dir` / `--work-policy` / `--secret-policy`, then project config,
|
|
392
|
+
then global config. A private queue is excluded from `export` by default, while `brief` / `triage`
|
|
393
|
+
still see it even when Git ignores it. Secret warnings and JSON / UI output never include the content
|
|
394
|
+
or a value fragment. Use `--allow-sensitive` only when explicitly necessary.
|
|
395
|
+
|
|
396
|
+
Start with `python -m docsweep init`; then use `python -m docsweep inject` and
|
|
397
|
+
`python -m docsweep new plan <topic>` in each project.
|
|
398
|
+
|
|
371
399
|
## AI agent integration
|
|
372
400
|
|
|
373
401
|
> **The wings (v0.2 series) policy**: "works with every AI" comes first. Only the three
|
|
@@ -8,25 +8,23 @@ AI コーディングツール(Claude Code / Codex 等)が生成する `plan
|
|
|
8
8
|
H1 ステータスラベル(`[完了]` / `[計画]` / `[廃止]` 等)を機械的に読み取り、完了を各プロジェクトの
|
|
9
9
|
`archive/` へ自動移送し、陳腐化を「要判断」フラグで可視化し、複数プロジェクトを横断 INDEX で一望できます。
|
|
10
10
|
|
|
11
|
-
## OKF(Open Knowledge Format
|
|
11
|
+
## OKF(Open Knowledge Format)v0.2 対応
|
|
12
12
|
|
|
13
|
-
docsweep は [OKF
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
`
|
|
17
|
-
|
|
13
|
+
docsweep は [OKF v0.2 の公式仕様](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md)
|
|
14
|
+
に合わせ、Markdown frontmatter の `type` / `status` を機械可読に扱います。
|
|
15
|
+
OKF の `status` は文書ライフサイクル(`draft` / `stable` / `deprecated`)なので、
|
|
16
|
+
docsweep の作業状態(`planned` / `in-progress` / `watching` / `done` / `discarded` /
|
|
17
|
+
`pending`)は拡張フィールド `docsweep_state` に分離しています。
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
`type` と追加フィールドは OKF の方針どおり閉じた登録簿にせず、docsweep が標準管理する
|
|
20
|
+
`plan` / `bugfix` / `pending` 以外も壊さず保持します。`manual` / `reference` / `setup` は
|
|
21
|
+
静的な知識文書として扱い、H1 ラベルは
|
|
22
|
+
人間向け表示として併用し、旧形式の `status: planned` なども読み取り互換を維持します。
|
|
23
|
+
既存ファイルを移行するときは `migrate-frontmatter --dry-run` で差分を確認してから
|
|
24
|
+
`--apply` を実行してください。
|
|
20
25
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
archive 自動化のための制約で、自由な type 値は管理対象外として扱います。
|
|
24
|
-
- **H1 ステータスラベル運用は廃止せず併用**。md を開いた瞬間に状態が見える人間向け価値を
|
|
25
|
-
残し、frontmatter が無いファイルは H1 ラベルへフォールバックします(後方互換 100%)。
|
|
26
|
-
|
|
27
|
-
詳細な対応表は [docs/okf-mapping.md](docs/okf-mapping.md) を参照。
|
|
28
|
-
「docsweep を抜けても md が腐らない」を実演する `docsweep export --okf` も提供しています
|
|
29
|
-
([docs/okf-export-format.md](docs/okf-export-format.md))。
|
|
26
|
+
詳細な対応表は [docs/okf-mapping.md](docs/okf-mapping.md)、Bundle の構造は
|
|
27
|
+
[docs/okf-export-format.md](docs/okf-export-format.md) を参照してください。
|
|
30
28
|
|
|
31
29
|
## インストール
|
|
32
30
|
|
|
@@ -98,7 +96,7 @@ pip install 'docsweep[all]'
|
|
|
98
96
|
|
|
99
97
|
# 起動(PATH を気にせず常に動く形)
|
|
100
98
|
python -m docsweep triage
|
|
101
|
-
python -m docsweep serve --root
|
|
99
|
+
python -m docsweep serve --root D:\dev
|
|
102
100
|
python -m docsweep mcp
|
|
103
101
|
|
|
104
102
|
# MCP 登録例(~\.claude\mcp.json)— 絶対パスにすると Python 切替時も安定
|
|
@@ -225,6 +223,9 @@ python -m docsweep capture --from file ./conv.md --save-all
|
|
|
225
223
|
# plan の「変更予定ファイル」と実装実態の整合チェック
|
|
226
224
|
python -m docsweep linkcheck --json
|
|
227
225
|
|
|
226
|
+
# 親 plan と child plan の closeout 検査(read-only。状態変更・archive はしない)
|
|
227
|
+
python -m docsweep closeout-check --path docs/local/plan_<parent>.md --to watching --json
|
|
228
|
+
|
|
228
229
|
# 状態遷移を提案(ruleset / 将来 LLM 委譲)+ 一括適用
|
|
229
230
|
python -m docsweep auto-triage --suggest > decisions.json
|
|
230
231
|
python -m docsweep auto-triage --apply decisions.json --dry-run
|
|
@@ -266,12 +267,21 @@ python -m docsweep review
|
|
|
266
267
|
# テンプレ即生成
|
|
267
268
|
python -m docsweep new plan my-topic
|
|
268
269
|
python -m docsweep new bugfix crash-on-start
|
|
270
|
+
python -m docsweep new plan my-topic --split 3 # child に docsweep_parent を付ける
|
|
269
271
|
|
|
270
272
|
# OKF 互換 zip でエクスポート(docsweep を抜けても md が腐らないことを実演する材料)
|
|
271
273
|
python -m docsweep export --okf # ./docsweep-okf-<date>.zip
|
|
272
274
|
python -m docsweep export --okf --out /tmp/snapshot.zip # 出力先を明示
|
|
273
275
|
python -m docsweep export --okf --include-archive # archive/ 配下も含める
|
|
274
276
|
|
|
277
|
+
# 任意 Bundle を read-only 検査(未知 type / 追加キー / 壊れた link は警告扱い)
|
|
278
|
+
python -m docsweep okf-check ./bundle --json
|
|
279
|
+
python -m docsweep okf-profiles
|
|
280
|
+
|
|
281
|
+
# profile は既定では同梱 JSON。外部 profile は明示したときだけ取得する
|
|
282
|
+
python -m docsweep export --okf --okf-profile ./okf-profile.json
|
|
283
|
+
python -m docsweep okf-check ./bundle --okf-profile https://raw.githubusercontent.com/<org>/<repo>/<sha>/okf.json --okf-profile-sha256 <sha256>
|
|
284
|
+
|
|
275
285
|
# 運用ルールを各プロジェクトへ注入/取り消し(CLAUDE.md=正本・AGENTS.md はそこを指すポインタ)
|
|
276
286
|
python -m docsweep inject --project ./foo --preset claude-jp
|
|
277
287
|
python -m docsweep inject --project ./foo --no-guidance # 導線を省きラベル節だけ(導線をグローバルに寄せる場合)
|
|
@@ -304,7 +314,7 @@ Web UI(看板)はこんな見た目です。
|
|
|
304
314
|
|
|
305
315
|
```
|
|
306
316
|
plan: [保留] → [計画] → [実行中] → [様子見] → [完了]
|
|
307
|
-
bugfix: [
|
|
317
|
+
bugfix: [実行中] → [様子見] → [完了]
|
|
308
318
|
(どちらも、どの状態からでも [廃止] へ分岐できる)
|
|
309
319
|
```
|
|
310
320
|
|
|
@@ -360,6 +370,25 @@ profiles:
|
|
|
360
370
|
python -m docsweep triage ~/dev/foo ~/projects/bar
|
|
361
371
|
```
|
|
362
372
|
|
|
373
|
+
### 作業 queue と private ドキュメント
|
|
374
|
+
|
|
375
|
+
`new` / `capture --save-all` / MCP `capture_save` は、同じプロジェクト相対 `work_dir` に保存します。
|
|
376
|
+
未設定時の既定は `docs/local` で、プロジェクトに `docs/` があるかどうかで保存先は変わりません。
|
|
377
|
+
|
|
378
|
+
```yaml
|
|
379
|
+
work_dir: docs/local # プロジェクト相対。例: docs/ai
|
|
380
|
+
work_policy: private # private は Git ignore / tracked 状態を保存前に検査
|
|
381
|
+
secret_policy: block # high-confidence secret は拒否。warn / off も選択可
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
解決順は CLI の `--work-dir` / `--work-policy` / `--secret-policy`、プロジェクト設定、
|
|
385
|
+
グローバル設定の順です。private queue は `export` の既定対象から除外され、`brief` / `triage` は
|
|
386
|
+
Git ignore されていても設定済み queue を確認できます。秘密情報の警告や JSON / UI の表示には本文・値の一部を含めません。
|
|
387
|
+
必要な場合だけ `--allow-sensitive` を明示してください。
|
|
388
|
+
|
|
389
|
+
初回は `python -m docsweep init` で既定設定を作り、各プロジェクトでは
|
|
390
|
+
`python -m docsweep inject` の導線と `python -m docsweep new plan <topic>` を使います。
|
|
391
|
+
|
|
363
392
|
## AI エージェント連携
|
|
364
393
|
|
|
365
394
|
> **wings(v0.2 系)の方針**: 「全 AI 対応」を最優先し、自然言語起動の価値が高い **朝の入口 3 tool**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
## 重要な訂正(反映先パス)
|
|
7
7
|
|
|
8
|
-
旧 proposal は `
|
|
8
|
+
旧 proposal は `D:/dev/workshop/skills/D/SKILL.md` を反映先として記載していたが、
|
|
9
9
|
**`/D` は既に slash command に移行済**(`~/.claude/CLAUDE.md` の「P / S / D は slash command
|
|
10
10
|
へ移行済」記述参照)。実体は `~/.claude/commands/D.md`。
|
|
11
11
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
$EDITOR ~/.claude/commands/D.md
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
`
|
|
19
|
+
`D:/dev/workshop/skills/D/` ディレクトリは存在しない(混同しないこと)。
|
|
20
20
|
|
|
21
21
|
## 変更点
|
|
22
22
|
|