docsweep 0.3.1__tar.gz → 0.5.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.5.0}/.docsweep.yaml +4 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/.github/workflows/ci.yml +4 -3
- docsweep-0.5.0/.github/workflows/dependency-audit.yml +47 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/.gitignore +20 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/AGENTS.md +8 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/CHANGELOG.md +282 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/CLAUDE.md +20 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/NOTICES.md +33 -7
- {docsweep-0.3.1 → docsweep-0.5.0}/PKG-INFO +193 -34
- {docsweep-0.3.1 → docsweep-0.5.0}/README.en.md +115 -21
- {docsweep-0.3.1 → docsweep-0.5.0}/README.md +179 -23
- {docsweep-0.3.1 → docsweep-0.5.0}/docs/D-skill-update-proposal.md +2 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/docs/ai-agent-integration.md +54 -4
- docsweep-0.5.0/docs/conventions.md +360 -0
- docsweep-0.5.0/docs/okf-export-format.md +121 -0
- docsweep-0.5.0/docs/okf-mapping.md +131 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/__init__.py +1 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/activity.py +3 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/aggregate_index.py +1 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/archive.py +36 -3
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/auto_triage.py +13 -5
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/brief/service.py +8 -42
- docsweep-0.5.0/docsweep/bulk_confirm.py +79 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/capture/__init__.py +2 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/capture/heuristics.py +10 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/capture/llm.py +32 -6
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/capture/service.py +62 -16
- docsweep-0.5.0/docsweep/cli/__init__.py +178 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/completion.py +0 -7
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/excluded.py +11 -15
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/ics.py +5 -6
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/index.py +1 -5
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/init.py +0 -5
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/inject.py +3 -10
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/mcp.py +0 -6
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/memory.py +1 -8
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/notify.py +0 -5
- docsweep-0.5.0/docsweep/cli/commands/provenance.py +131 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/read.py +156 -30
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/serve.py +1 -5
- docsweep-0.5.0/docsweep/cli/commands/write.py +660 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/parser.py +191 -8
- docsweep-0.5.0/docsweep/closeout.py +1098 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/completion.py +2 -2
- docsweep-0.5.0/docsweep/config.py +861 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/context.py +46 -4
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cookbook.py +8 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cross/service.py +3 -16
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/day.py +20 -4
- docsweep-0.5.0/docsweep/demo.py +161 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/detect.py +87 -6
- docsweep-0.5.0/docsweep/doc_links.py +71 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/doctor.py +113 -10
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/engine.py +275 -47
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/excluded.py +8 -4
- docsweep-0.5.0/docsweep/export.py +539 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/find.py +0 -1
- docsweep-0.5.0/docsweep/fix_conflict.py +257 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/graph/service.py +5 -3
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/history.py +0 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/ics_export.py +5 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/index.py +195 -33
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/init_cmd.py +3 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/inject/__init__.py +4 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/inject/api.py +364 -52
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/inject/blocks.py +31 -5
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/interactive.py +46 -34
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/linkcheck.py +48 -8
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/mcp_server.py +138 -47
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/migrate.py +132 -23
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/models.py +12 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/notify.py +1 -1
- docsweep-0.5.0/docsweep/okf.py +278 -0
- docsweep-0.5.0/docsweep/okf_check.py +355 -0
- docsweep-0.5.0/docsweep/okf_profiles/0.2.json +23 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/presets.py +2 -2
- docsweep-0.5.0/docsweep/provenance.py +882 -0
- docsweep-0.5.0/docsweep/provenance_hint.py +44 -0
- docsweep-0.5.0/docsweep/record_view.py +45 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/related.py +10 -4
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/reports.py +3 -2
- docsweep-0.5.0/docsweep/scan.py +895 -0
- docsweep-0.5.0/docsweep/secrets_guard.py +142 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/app.py +21 -6
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/config_write.py +17 -8
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/i18n.py +93 -6
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/board.py +83 -10
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/capture.py +24 -13
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/cards.py +126 -8
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/board.css +143 -0
- docsweep-0.5.0/docsweep/server/static/brief.js +29 -0
- docsweep-0.5.0/docsweep/server/static/capture.js +91 -0
- docsweep-0.5.0/docsweep/server/static/cytoscape.min.js +32 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/dnd.js +46 -2
- docsweep-0.5.0/docsweep/server/static/graph.js +80 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/i18n.js +48 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/keymap.js +59 -15
- docsweep-0.5.0/docsweep/server/static/w4.js +364 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_board_body.html +1 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_card.html +15 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_settings.html +0 -5
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/board.html +44 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/brief.html +3 -16
- docsweep-0.5.0/docsweep/server/templates/capture.html +53 -0
- docsweep-0.5.0/docsweep/server/templates/graph.html +35 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/services/archive.py +49 -8
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/services/content.py +27 -6
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/services/frontmatter.py +73 -20
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/services/status.py +101 -4
- docsweep-0.5.0/docsweep/session_logs.py +346 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/similar_guard.py +1 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/stale.py +3 -3
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/state.py +61 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/states.py +4 -2
- docsweep-0.5.0/docsweep/streak.py +157 -0
- docsweep-0.5.0/docsweep/templates_gen.py +477 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/timeline.py +5 -4
- docsweep-0.5.0/docsweep/work_queue.py +322 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep-ui.cmd +2 -2
- docsweep-0.5.0/portfolio.md +36 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/pyproject.toml +18 -7
- {docsweep-0.3.1 → docsweep-0.5.0}/templates/.docsweep.yaml +31 -10
- docsweep-0.5.0/templates/.githooks/docsweep-check.py +503 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/templates/AGENTS.md +17 -6
- docsweep-0.5.0/templates/AGENT_GUIDE.md +73 -0
- docsweep-0.5.0/templates/CLAUDE.md +502 -0
- docsweep-0.5.0/tests/conftest.py +59 -0
- docsweep-0.5.0/tests/fixtures/dependency-audit/clean.txt +1 -0
- docsweep-0.5.0/tests/fixtures/dependency-audit/vulnerable.txt +1 -0
- docsweep-0.5.0/tests/test_archive_route_contract.py +183 -0
- docsweep-0.5.0/tests/test_audit_2026_07_21_followup.py +137 -0
- docsweep-0.5.0/tests/test_audit_c1_security_boundaries.py +66 -0
- docsweep-0.5.0/tests/test_audit_c1_security_write_boundaries.py +154 -0
- docsweep-0.5.0/tests/test_audit_c2_document_integrity.py +236 -0
- docsweep-0.5.0/tests/test_audit_c3_windows_cli_export.py +322 -0
- docsweep-0.5.0/tests/test_audit_c4_dependency_security.py +57 -0
- docsweep-0.5.0/tests/test_audit_c5_index_correctness.py +218 -0
- docsweep-0.5.0/tests/test_audit_security_regressions.py +99 -0
- docsweep-0.5.0/tests/test_audit_v0_4_0.py +180 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_brief.py +0 -3
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_c2_commands.py +66 -11
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_c5_features.py +2 -3
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_capture.py +45 -2
- docsweep-0.5.0/tests/test_closeout.py +518 -0
- docsweep-0.5.0/tests/test_config.py +131 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_config_due.py +5 -3
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_cross.py +0 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_db_index.py +314 -7
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_detect.py +35 -0
- docsweep-0.5.0/tests/test_docs_mcp_surface.py +38 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_engine.py +78 -7
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_export.py +91 -3
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_extras.py +301 -4
- docsweep-0.5.0/tests/test_fix_conflict.py +209 -0
- docsweep-0.5.0/tests/test_fix_conflict_prefer_h1.py +109 -0
- docsweep-0.5.0/tests/test_githooks.py +214 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_index_prune.py +5 -5
- docsweep-0.5.0/tests/test_linkcheck.py +75 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_mcp_tools.py +7 -11
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_mcp_write_tools.py +78 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_new_cli_project_dir_autodetect.py +46 -0
- docsweep-0.5.0/tests/test_offline_assets.py +105 -0
- docsweep-0.5.0/tests/test_okf_profile.py +160 -0
- docsweep-0.5.0/tests/test_provenance.py +630 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_server.py +20 -1
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_server_board.py +2 -2
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_server_bulk.py +5 -2
- docsweep-0.5.0/tests/test_server_ux_w4.py +230 -0
- docsweep-0.5.0/tests/test_services_status.py +365 -0
- docsweep-0.5.0/tests/test_session_logs.py +258 -0
- docsweep-0.5.0/tests/test_templates_gen.py +332 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_undo.py +44 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_ux_remaining.py +16 -0
- docsweep-0.5.0/tests/test_ux_w4.py +289 -0
- docsweep-0.5.0/tests/test_ux_w4_ui.py +163 -0
- docsweep-0.5.0/tests/test_work_dir_alias.py +144 -0
- docsweep-0.5.0/tests/test_work_queue_agent_flow.py +251 -0
- docsweep-0.3.1/archive/plan_drop-last-updated-followup.md +0 -64
- docsweep-0.3.1/archive/plan_name-docsweep-availability.md +0 -80
- docsweep-0.3.1/archive/plan_templates-drop-last-updated-line.md +0 -56
- docsweep-0.3.1/docs/conventions.md +0 -198
- 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/cli/__init__.py +0 -107
- docsweep-0.3.1/docsweep/cli/commands/write.py +0 -394
- docsweep-0.3.1/docsweep/config.py +0 -443
- 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/templates_gen.py +0 -244
- docsweep-0.3.1/templates/.githooks/docsweep-check.py +0 -177
- docsweep-0.3.1/templates/AGENT_GUIDE.md +0 -42
- docsweep-0.3.1/templates/CLAUDE.md +0 -281
- docsweep-0.3.1/tests/test_config.py +0 -51
- docsweep-0.3.1/tests/test_githooks.py +0 -110
- docsweep-0.3.1/tests/test_services_status.py +0 -171
- docsweep-0.3.1/tests/test_templates_gen.py +0 -151
- {docsweep-0.3.1 → docsweep-0.5.0}/.githooks/pre-push +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/.github/workflows/publish.yml +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/LICENSE +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icon-a-broom.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icon-b-doc-check.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icon-c-sweep-sparkle.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/icons/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/a-broom/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/b-doc-check/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/favicon-16.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/favicon-32.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/favicon-48.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/proposals/c-sweep-sparkle/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/screenshots/webui-archive.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/assets/screenshots/webui-todo.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docs/guidance-rewrite-proposal.md +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docs/mockups/dashboard_v0.1.0.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docs/mockups/dashboard_v0.1.0.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docs/mockups/mcp_usage_v0.1.0.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.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.5.0}/docsweep/__main__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/atomic.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/brief/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/brief/score.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/capture/models.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/claim.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cli/commands/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/cross/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/graph/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/hints.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/inject/agent_claude.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/inject/agent_codex.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/inject/manifest.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/intent.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/memory_scan.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/resurrect/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/resurrect/embedding.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/resurrect/service.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/resurrect/similarity.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/review.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/security/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/security/path.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/brief.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/cross.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/graph.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/routes/resurrect.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/sanitize.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/security.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/edit.js +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/htmx.min.js +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/icons/apple-touch-icon.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/icons/favicon.ico +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/icons/favicon.svg +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/icons/icon-192.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/static/icons/icon-512.png +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_change_picker.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_due_picker.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_edit_pane.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_label_picker.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/_preview.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/cross.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/server/templates/resurrect.html +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/services/__init__.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep/services/due.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep-ui.command +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/docsweep-ui.sh +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/templates/install-hooks.ps1 +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/templates/install-hooks.sh +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_activity.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_atomic.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_audit_fixes.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_audit_fixes_2026_07_16.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_audit_server.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_cli_smoke.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_doctor.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_index_stats.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_index_vacuum.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_index_wal.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_init_and_undo_cli.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_interactive.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_invariants.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_parser.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_resurrect.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_server_okf.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_server_routes_extras.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_services_archive.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_services_content.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_services_due.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_services_frontmatter.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_state.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_triage_schema.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_ux_final.py +0 -0
- {docsweep-0.3.1 → docsweep-0.5.0}/tests/test_ux_w2.py +0 -0
|
@@ -3,12 +3,15 @@
|
|
|
3
3
|
# トリガー: 全 push / pull_request
|
|
4
4
|
# 目的: lint (ruff) / test (pytest) / typecheck (mypy) を回して
|
|
5
5
|
# リグレッションを PR 段階で検出する。
|
|
6
|
-
#
|
|
6
|
+
# lint / test / typecheck はすべてエラー時に失敗させる。
|
|
7
7
|
|
|
8
8
|
name: CI
|
|
9
9
|
|
|
10
10
|
on: [push, pull_request]
|
|
11
11
|
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
|
|
12
15
|
jobs:
|
|
13
16
|
test:
|
|
14
17
|
name: Test (Python ${{ matrix.python-version }})
|
|
@@ -35,6 +38,4 @@ jobs:
|
|
|
35
38
|
run: ruff check docsweep tests
|
|
36
39
|
|
|
37
40
|
- name: Run mypy
|
|
38
|
-
# 段階導入: 初回は赤許容(continue-on-error)。将来的に外す。
|
|
39
|
-
continue-on-error: true
|
|
40
41
|
run: mypy docsweep
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: Dependency audit
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
- cron: "17 3 * * 1"
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
pip-audit:
|
|
13
|
+
name: pip-audit (Python ${{ matrix.python-version }})
|
|
14
|
+
runs-on: ubuntu-24.04
|
|
15
|
+
strategy:
|
|
16
|
+
fail-fast: false
|
|
17
|
+
matrix:
|
|
18
|
+
python-version: ["3.10", "3.12"]
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
|
|
22
|
+
- uses: actions/setup-python@v5
|
|
23
|
+
with:
|
|
24
|
+
python-version: ${{ matrix.python-version }}
|
|
25
|
+
|
|
26
|
+
- name: Install supported runtime extras
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade pip
|
|
29
|
+
python -m pip install -e ".[web,mcp,review]"
|
|
30
|
+
|
|
31
|
+
- name: Install pip-audit
|
|
32
|
+
run: python -m pip install pip-audit
|
|
33
|
+
|
|
34
|
+
- name: Audit installed runtime dependencies
|
|
35
|
+
# A vulnerability or unavailable resolver result must be visible in
|
|
36
|
+
# this scheduled/manual audit.
|
|
37
|
+
run: pip-audit --strict
|
|
38
|
+
|
|
39
|
+
- name: Verify audit exit behavior with pinned fixtures
|
|
40
|
+
shell: bash
|
|
41
|
+
run: |
|
|
42
|
+
set -euo pipefail
|
|
43
|
+
if pip-audit --requirement tests/fixtures/dependency-audit/vulnerable.txt --no-deps; then
|
|
44
|
+
echo "::error::the vulnerable fixture unexpectedly passed pip-audit"
|
|
45
|
+
exit 1
|
|
46
|
+
fi
|
|
47
|
+
pip-audit --requirement tests/fixtures/dependency-audit/clean.txt --no-deps
|
|
@@ -35,6 +35,12 @@ desktop.ini
|
|
|
35
35
|
|
|
36
36
|
# AI ツールのローカル状態・生成物
|
|
37
37
|
.claude/
|
|
38
|
+
# Cursor Agent CLI にはグローバル指示の口が無いため、共通ルールへのポインタを .cursor/rules に置く。
|
|
39
|
+
# 作者環境の絶対パスを含むので追跡しない。
|
|
40
|
+
.cursor/
|
|
41
|
+
# many-ai-cli が opencode セッション中だけ cwd に書く permission 設定と排他ロック。
|
|
42
|
+
# セッションが kill されると置き去りになるため追跡しない。
|
|
43
|
+
opencode.json*
|
|
38
44
|
*.log
|
|
39
45
|
*.jsonl
|
|
40
46
|
*.tmp
|
|
@@ -72,6 +78,17 @@ secrets.*
|
|
|
72
78
|
# docsweep の個人作業ログ(公開しない)
|
|
73
79
|
docs/local/
|
|
74
80
|
|
|
81
|
+
# 作業 md の archive は docs/local/archive/ が正しい置き場。
|
|
82
|
+
# リポ直下の archive/ に置かれたものも同じ「非公開の作業ログ」として扱う
|
|
83
|
+
# (2026-09-04: plan 3 本がここで公開追跡されていたのを git rm --cached で外した)。
|
|
84
|
+
/archive/
|
|
85
|
+
|
|
86
|
+
# AI 監査の生レポート(人間レビュー前は公開しない)
|
|
87
|
+
/docs/ai-audit-prompts/
|
|
88
|
+
|
|
89
|
+
# Obsidian knowledge artifacts are not public repository content.
|
|
90
|
+
/docs/obsidian/
|
|
91
|
+
|
|
75
92
|
# docsweep 実行時の生成物(スキャン結果・履歴)
|
|
76
93
|
INDEX.md
|
|
77
94
|
INDEX.json
|
|
@@ -82,3 +99,6 @@ INDEX.json
|
|
|
82
99
|
# それらの期待値を testdata に置くと黙って脱落する。ディレクトリ単位で明示許可。
|
|
83
100
|
!**/testdata/**
|
|
84
101
|
!**/tests/fixtures/**
|
|
102
|
+
# === obsidian-link: managed ===
|
|
103
|
+
/docs/obsidian/
|
|
104
|
+
# === /obsidian-link: managed ===
|
|
@@ -5,7 +5,10 @@ maintained in `CLAUDE.md`.
|
|
|
5
5
|
|
|
6
6
|
- Project overview & dev guide: `./CLAUDE.md`
|
|
7
7
|
- Naming / status convention (human-facing spec): `./docs/conventions.md`
|
|
8
|
-
- Design source of truth (
|
|
8
|
+
- Design source of truth (all tracked): state vocabulary in `docsweep/states.py`
|
|
9
|
+
(`DEFAULT_STATES` / the `states:` config), `./docs/conventions.md`,
|
|
10
|
+
`./templates/CLAUDE.md`, `./docs/okf-mapping.md`, `./README.md`
|
|
11
|
+
- Author's working log (private, absent in a fresh clone; never required to read): `./docs/local/`
|
|
9
12
|
- Local/private additions (if present, not committed): `./CLAUDE.local.md` / `./AGENTS.local.md`
|
|
10
13
|
|
|
11
14
|
⚠️ **Do not confuse this with `templates/AGENTS.md` and `templates/CLAUDE.md`.**
|
|
@@ -18,3 +21,7 @@ tool's supported global instruction location for user-specific rules; this file
|
|
|
18
21
|
remain valid for a fresh public clone with no private files.
|
|
19
22
|
|
|
20
23
|
If any project guidance conflicts, follow `CLAUDE.md`.
|
|
24
|
+
|
|
25
|
+
## AI 作業共通ルール
|
|
26
|
+
|
|
27
|
+
- ビルド・コミット禁止、secrets-scan 責務、plan/bugfix/pending md の作成ルール等の AI 作業共通ルールは、各利用者のグローバル AI 設定に従う(作者環境の例: `~/.claude/CLAUDE.md` および `~/.claude/guides/`)
|
|
@@ -5,6 +5,288 @@
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
(次の版の変更をここへ書く)
|
|
9
|
+
|
|
10
|
+
## [0.5.0] - 2026-09-04
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **様子見の卒業期限と、期限到来分だけの明示昇格。** `plan_*.md` / `bugfix_*.md` を
|
|
15
|
+
`[様子見]` へ移すとき、その日から既定 3 日後を卒業期限として frontmatter の `due` に入れる
|
|
16
|
+
(`due.default_offset_days.plan_watching` / `bugfix_watching` で変更可)。
|
|
17
|
+
既に `[様子見]` の文書を再指定した場合は既存の `due` を保護する。
|
|
18
|
+
**`due` の到来だけでは archive しない。** 昇格は `promote --due-expired` を明示したときに限り、
|
|
19
|
+
due 到来(当日を含む)かつ `[様子見]` の文書だけを `[完了]` へ進めて archive へ移す。
|
|
20
|
+
`due` 無し・未来 due・不正 due・`never_archive` は対象外。`sweep` は従来どおり
|
|
21
|
+
`[様子見]` を対象にしない(寝かせを守る不変条件は変更なし)。
|
|
22
|
+
- **`apply --watching-days N` / MCP `watching_days=N`。** `--to watching` の遷移にだけ
|
|
23
|
+
卒業期限を今日 + N 日で上書きする。設定ファイルは変更しないので、1 本だけ長く寝かせたい
|
|
24
|
+
ときに `.docsweep.yaml` を触らずに済む。
|
|
25
|
+
- **卒業判定の条件を CLI / MCP / 看板で揃えた。** 3 経路とも「当日を含む due 到来」で
|
|
26
|
+
同じ対象を示す。看板の「▼卒業判定」セクションも同じ条件になる。
|
|
27
|
+
- **`docsweep demo` を追加。** 使い捨てのサンプル project を一時ディレクトリへ作る。
|
|
28
|
+
overdue / 今日 / 未来 / 期日なし / 保留 / 完了 が 1 画面でそろう md を 8 本と
|
|
29
|
+
`.docsweep.yaml` を生成するので、`scan` も `triage` も `serve` も「空っぽ」にならない。
|
|
30
|
+
記事・SNS デモ・初回体験用。**既存のプロジェクトには触らず、グローバル config の
|
|
31
|
+
`roots` にも登録しない**(`--root <生成先>` を明示して使う)。`--dir` で生成先を指定できる。
|
|
32
|
+
- **エラーメッセージからドキュメントへの深リンク。** 未知のサブコマンド・`.docsweep.yaml` の
|
|
33
|
+
YAML パース失敗・出力先エンコーディングの 3 か所で、「何を読めばいいか」を 1 行足す。
|
|
34
|
+
docs/ は wheel に同梱されないのでリンク先は GitHub の URL。`help id` を併記するので
|
|
35
|
+
問い合わせのときに場所を特定できる。`DOCSWEEP_HINTS=0` で抑止できる。
|
|
36
|
+
- **一括破壊操作の 2 段階確認。** 対象件数が `bulk_confirm_threshold`(既定 20)以上のとき、
|
|
37
|
+
Web の一括 archive / 一括ラベル変更は `ARCHIVE` / `RELABEL` の打ち込みを求め、
|
|
38
|
+
CLI の `promote` は `--yes` を要求する。**しきい値未満は従来どおり 1 段階のまま。**
|
|
39
|
+
操作ごとにフレーズを変えて惰性の確認を効かなくしてある。`--dry-run` は下見なので求めない。
|
|
40
|
+
非対話が本プロジェクトの不変条件なので、CLI は TTY でもプロンプトを出さない。
|
|
41
|
+
- **カードの snooze(今日は見ない)と pin(常に上)。** score の並びに対する人間側の拒否権。
|
|
42
|
+
`.docsweep/state.json` にだけ持ち、**MD 本体には書かない**(文書の状態ではなく見え方のため)。
|
|
43
|
+
snooze は期限が来れば自然に戻る。板面の 💤 トグルで非表示分を半透明で出して解除できる。
|
|
44
|
+
- **習慣メトリクス(連続日数と今週の片付け件数)を board へ。** 記録するのは
|
|
45
|
+
「朝の入口を開いた日付」だけで、何を見たかは残さない。`metrics: false`(config)または
|
|
46
|
+
`DOCSWEEP_METRICS=0` で記録ごと止まる。0 件でも責める文言は出さない。
|
|
47
|
+
- **カード密度モード(compact / cozy / detailed)と高コントラストの明示トグル。**
|
|
48
|
+
どちらも `localStorage` に残る。`prefers-reduced-motion` も尊重する。
|
|
49
|
+
- **focus session。** カードの 🎯 で 1 枚だけ残して他を薄くする。Esc で戻る。
|
|
50
|
+
- **初回だけ出る 30 秒クイックツアー(Web・4 ステップ)。** 一度閉じたら再表示しない。
|
|
51
|
+
- **キーボード: `g g` / `g e` で最上・最下のカードへ。**
|
|
52
|
+
- **プロジェクト固有の本文節(`template_sections`)。** `.docsweep.yaml` と
|
|
53
|
+
`~/.docsweep/config.yaml` に生成種別ごとの追加見出しを宣言でき、`docsweep new` で
|
|
54
|
+
本文へ差し込まれる。同じ見出しはプロジェクト側がグローバル側を置き換え、新しい見出しは
|
|
55
|
+
末尾へ追加する。空リストを指定した種別は継承した追加節をすべて解除する。
|
|
56
|
+
- **実装を別 AI へ委譲する plan の書式と検査。** frontmatter に
|
|
57
|
+
`docsweep_delegation: external` を宣言した plan は `## C 詳細` を必須にする。
|
|
58
|
+
`docsweep new plan <topic> --delegate` で雛形を生成でき、`closeout-check` /
|
|
59
|
+
`linkcheck` / `templates/.githooks/docsweep-check.py` が書式を検査する。
|
|
60
|
+
各 C は「目的 1 つ / 変更対象 1〜4 ファイル / 完了条件 3〜6 項目 / その C 単独で
|
|
61
|
+
静的チェックかテストを実行できる」粒度を求める。
|
|
62
|
+
- 作業 md の frontmatter に `ai_session_logs` を追加。その md を書いた AI セッションの
|
|
63
|
+
transcript(AI CLI 自身が残す生ログ)のフルパスを記録し、md の記述だけでは追えない判断の
|
|
64
|
+
経緯へ後から会話ログで戻れるようにする。対応は Claude Code / Codex / Grok / Copilot /
|
|
65
|
+
Cursor Agent。Claude Code はセッション ID が環境変数に出るため一致で確定し、それ以外は
|
|
66
|
+
「作業ディレクトリが一致し、直近まで書かれ続けているセッションが 1 つだけ」のときに限って
|
|
67
|
+
記録する(2 つ以上に絞れなければ何も書かない)。opencode は全セッションが単一 SQLite に
|
|
68
|
+
集約され 1 セッションを特定できないため対象外。記録するのはパスだけで内容は読まない。
|
|
69
|
+
`work_policy: private` の queue に限る。`new --ai-session-log <path>` と
|
|
70
|
+
`DOCSWEEP_AI_SESSION_LOG` で明示指定もできる。`provenance start` でも追記するため、
|
|
71
|
+
plan が複数セッションにまたがっても C2 以降の実行を追える(同じパスは重複しない)。
|
|
72
|
+
- `provenance init --update` を追加。作成 AI が `unknown` で記録されてしまった work を、
|
|
73
|
+
台帳の authoring 行と frontmatter の `ai_author_*` をまとめて実値へ直せる。
|
|
74
|
+
`execution_id` / `work_id` / `started_at` は変えず、訂正したことは台帳の `notes` へ残す。
|
|
75
|
+
- provenance が有効なのに AI metadata を渡さずに `new` / `provenance start` /
|
|
76
|
+
`provenance init` を実行すると、`unknown` で記録される前に stderr へ 1 行警告する
|
|
77
|
+
(作成・記録自体は従来どおり成功する)。
|
|
78
|
+
- `new --split N` に `--titles A,B,C` を追加。子 plan のファイル名が
|
|
79
|
+
`plan_<親topic>_c<N>_<short>.md` になり、どの子が何を担当するかがファイル名から読める。
|
|
80
|
+
|
|
81
|
+
### Changed
|
|
82
|
+
|
|
83
|
+
- **`context配分` 表の書式を統一した(テンプレートの破壊的変更)。** 種別の語彙を
|
|
84
|
+
`planned` / `done` の 2 つへ揃え、列順を `C / 種別 / 内容 / 備考・注意点` に固定した。
|
|
85
|
+
`bugfix_*.md` にも同じ表を持たせる。既存ファイルは書き換えない(新規生成分から適用)。
|
|
86
|
+
採用者が `templates/CLAUDE.md` を取り込み直す場合は、この書式差分に注意。
|
|
87
|
+
- **相対日付と絶対日付の表記を言語ごとに統一した。** board の「今日の 1 個」が
|
|
88
|
+
`19d` という素の英語表記のままだったのを `19 日前` / `19d ago` へ揃え、期日バッジには
|
|
89
|
+
絶対日付と曜日のツールチップ(`期日 2026-08-30(日)`)を付けた。相対表示だけだと
|
|
90
|
+
週をまたいだときに読み違える。
|
|
91
|
+
- **キーボード焦点を全操作要素で見えるようにした。** `:focus-visible` の輪郭を
|
|
92
|
+
ボタン・リンク・入力へ統一し、Tab 1 回で board 本体へ入れるスキップリンクを追加した。
|
|
93
|
+
マウス操作時の見た目は変えていない。
|
|
94
|
+
- 資料と実装のズレ 6 件を修正(README / `docs/ai-agent-integration.md` /
|
|
95
|
+
`docs/conventions.md` / `templates/.docsweep.yaml` と、capture・inject・status の実装)。
|
|
96
|
+
- **設定を書いていないプロジェクトの archive 移送先を、repo 直下 `archive/` から
|
|
97
|
+
`<work_dir>/archive`(既定 `docs/local/archive`)へ変更。** 既定値は
|
|
98
|
+
`work_dir=docs/local` / `work_policy=private` なので、従来の既定は private な作業文書を
|
|
99
|
+
git 追跡され得る場所へ移送していた。`archive_dir` の明示(プロジェクト / グローバル)と
|
|
100
|
+
`work_policy: shared` の repo 直下互換は変えていない。既に repo 直下 `archive/` を
|
|
101
|
+
運用しているプロジェクトには `sweep` が移送先変更の警告を出す。従来どおりにするには
|
|
102
|
+
`.docsweep.yaml` へ `archive_dir: archive` を明示する。**既存ファイルの移動はしない。**
|
|
103
|
+
- `sweep` の JSON に `archive_routes` を追加。移送先だけでなく選択根拠
|
|
104
|
+
(`explicit_project` / `explicit_global` / `private_queue` / `shared_root`)を返すので、
|
|
105
|
+
dry-run だけで destination contract を判断できる。移送候補が 0 件でも返す。
|
|
106
|
+
- **`new --split N` の子ファイル名を `plan_<親topic>-c<N>.md` から
|
|
107
|
+
`plan_<親topic>_c<N>.md` へ変更**(区切りがハイフンからアンダースコアへ)。
|
|
108
|
+
規約・既存の親子 plan 群・`closeout-check` の子判定フォールバック
|
|
109
|
+
(`^<親stem>_c\d+(?:_|$)`)はいずれもアンダースコアを期待しており、生成器だけが
|
|
110
|
+
外れていた。既存ファイルはリネームしない。
|
|
111
|
+
- **`closeout-check --to done` の `受入条件` 欠落を blocker から manual check へ降格。**
|
|
112
|
+
`## 受入条件` が無いときの扱いを `missing_section` の blocker ではなく
|
|
113
|
+
`missing_acceptance_section` の manual check にした。blocker のままだと、
|
|
114
|
+
この規約が明文化される前に書かれた plan が機械的に closeout できず、
|
|
115
|
+
「節を足すこと自体が gate 通過のための作業」になっていた(作者環境で 7 本が同じ理由で止まった)。
|
|
116
|
+
`## 完了条件` / `## 検証` の欠落は従来どおり blocker のまま。`--to watching` は変更なし。
|
|
117
|
+
- **`plan_*.md` の必須セクションを配布規約へ明記。** `templates/CLAUDE.md` と
|
|
118
|
+
`docs/conventions.md` は `## context配分` しか必須と書いておらず、
|
|
119
|
+
`## 完了条件` / `## 検証` / `## 受入条件` を要求しているのは実装だけだった。
|
|
120
|
+
さらに「見出しに分類語を入れない」の一覧が `完了条件` / `検証` / `受入` を挙げており、
|
|
121
|
+
必須節そのものと矛盾していた。正規セクションを例外として明示した。
|
|
122
|
+
|
|
123
|
+
### Fixed
|
|
124
|
+
|
|
125
|
+
- 秘密ガードが `task-management-and-scheduling-system` のような通常のハイフン語を
|
|
126
|
+
OpenAI API キーと誤検知し、秘密を含まない作業文書の保存を拒否していた問題を修正。
|
|
127
|
+
`sk-` の前に境界表明が無く、語の途中(`ta|sk-...`)から一致していた。
|
|
128
|
+
- ja-JP Windows の cp932 コンソールへリダイレクトすると `scan` と `doctor` が
|
|
129
|
+
`UnicodeEncodeError` の raw traceback で落ちていた問題を修正。人間向け出力の装飾記号を
|
|
130
|
+
ASCII 化し、あわせて描画境界だけを緩めて**文書側のデータ**に含まれる表現不能な文字でも
|
|
131
|
+
落ちないようにした(`--json` は stdout のバイト列が契約なので緩めず、表現できない場合は
|
|
132
|
+
短い stderr と exit 2 にする)。ファイル上のデータは変えない。
|
|
133
|
+
- Web UI からの scan-roots 更新で、`~/.docsweep/config.yaml` の `roots:` リストの途中に
|
|
134
|
+
コメント行があると、その後ろのエントリが置換されずに残っていた問題を修正。外したはずの
|
|
135
|
+
root が消えず、しかも結果が yaml として妥当なため既存の検証も通っていた。
|
|
136
|
+
- `closeout-check` の検証行分類が、`pytest: 0 failed` や `エラーなし` のような**成功の証跡**を
|
|
137
|
+
「検証の失敗」と読んで closeout を止めていた問題を修正。判定を
|
|
138
|
+
未実施 → 正の失敗件数 → ゼロ失敗 summary → 明示成功 → claimed の順に固定し、
|
|
139
|
+
`continue-on-error` のような識別子の一部を失敗語として拾わないようにした。
|
|
140
|
+
`未検出` / `空集合` / `0件` のような曖昧な散文は従来どおり manual review へ回す
|
|
141
|
+
(自動 pass へは緩めていない)。
|
|
142
|
+
- inject の guidance ファイル / `.docsweep.yaml` / グローバル config の書き込みが非 atomic
|
|
143
|
+
だった問題を修正(途中で落ちると壊れたファイルが残り得た)。
|
|
144
|
+
- **配布フックが必須セクション自体を警告していたのを修正。**
|
|
145
|
+
`templates/.githooks/docsweep-check.py` の分類語チェックは `全体の検証手順` だけを
|
|
146
|
+
例外にしていたため、規約どおりに `## 完了条件` / `## 検証` を書いた plan が
|
|
147
|
+
毎回「H2 見出しに分類語があります」と警告されていた。正規セクション
|
|
148
|
+
(`完了条件` / `検証` / `受入条件` / `変更ファイル` / `変更予定ファイル`)を例外に加えた。
|
|
149
|
+
`### C1 検証` のような非正規の見出しは従来どおり警告する。
|
|
150
|
+
|
|
151
|
+
## [0.4.0] - 2026-08-10
|
|
152
|
+
|
|
153
|
+
### アップグレード時の注意
|
|
154
|
+
|
|
155
|
+
- **本版の適用後に `docsweep index-rebuild` を 1 度実行することを推奨。** 索引の project 単位を
|
|
156
|
+
スキャンルートからリポジトリ(project_root)へ揃えたため、旧採番のファイル行が残る。
|
|
157
|
+
次回の `index-sync` でも自動的に掃除されるが、rebuild の方が確実。
|
|
158
|
+
- `docsweep[mcp]` を使っている場合、`mcp` の下限が `1.28.1` に上がる(CVE-2026-59950 対応)。
|
|
159
|
+
古い版に固定している環境では解決に失敗し得るので、依存の pin を見直すこと。
|
|
160
|
+
|
|
161
|
+
### Added
|
|
162
|
+
|
|
163
|
+
- OKF v0.2 profile 駆動の frontmatter 状態分離を追加。標準 `status`(`draft` / `stable` /
|
|
164
|
+
`deprecated`)と docsweep の作業状態 `docsweep_state` を別軸で扱い、旧 `status: planned`
|
|
165
|
+
などは読み取り互換と dry-run migration を維持する。
|
|
166
|
+
- `okf-check`(read-only Bundle 適合検査)と `okf-profiles` を追加。未知 type / 追加キー /
|
|
167
|
+
欠けた任意フィールド / 壊れた link は warning または受理とし、構造上の error と区別する。
|
|
168
|
+
- `export --okf` が同梱 JSON profile を既定で使い、Bundle root `index.md` と v0.2 lifecycle
|
|
169
|
+
frontmatter を生成する。外部 profile は `--okf-profile` を明示した場合だけ読み込む。
|
|
170
|
+
- `closeout-check`(read-only)で親 plan と child plan の関係、状態 conflict、完了条件、検証証跡、
|
|
171
|
+
manual gate、Git dirty overlap を JSON で検査できるようにした。`new plan --split` は
|
|
172
|
+
`docsweep_parent` を子へ付け、旧 plan は限定的な filename + related inference のみで互換判定する。
|
|
173
|
+
- `work_dir` / `work_policy` / `secret_policy` を追加し、`new` / `capture` / MCP `capture_save` の
|
|
174
|
+
保存先を共通解決する。既定はプロジェクト相対 `docs/local`、private queue は export から除外し、
|
|
175
|
+
Git ignore / tracked 状態と秘密情報を保存前に検査する。
|
|
176
|
+
|
|
177
|
+
### Changed
|
|
178
|
+
|
|
179
|
+
- **cytoscape.js 3.30.0 を同梱し、graph ページの CDN 依存を解消した。** これまで graph ページだけが
|
|
180
|
+
実行時に unpkg から取得しており、オフライン環境で描画できず、利用のたびに外部サーバーへ
|
|
181
|
+
アクセスが渡っていた。`docsweep/server/static/cytoscape.min.js` として同梱し、MIT License 全文と
|
|
182
|
+
SHA-256 を `NOTICES.md` に記載した。Web UI の「このアプリについて」も CDN 節を廃して同梱一覧へ
|
|
183
|
+
統合した。なお **graph が描画されなかった原因は CDN 依存とは別**にもう 1 つあり、それは下記の
|
|
184
|
+
Fixed(inline script が CSP に拒否されていた件)で解消している。
|
|
185
|
+
- profile のルールを Python ソースから分離し、`docsweep/okf_profiles/<version>.json` で管理する。
|
|
186
|
+
ローカル JSON や commit 固定の GitHub Raw URL を利用できるため、ルール更新だけなら
|
|
187
|
+
docsweep の実装 Release を必要としない。旧形式の廃止時期は別途告知する。
|
|
188
|
+
- 作業記録の新規接頭辞を `plan` / `bugfix` / `pending` に整理した。個別リリースの MD は
|
|
189
|
+
`plan_release-vX.Y.Z_*.md`、再利用する手順・参照資料は `manual_*.md` / `reference_*.md` /
|
|
190
|
+
`setup_*.md` とし、旧 `manual_release-*` は履歴互換として読み取る。
|
|
191
|
+
- `apply --action relabel` / `promote` / `resume` の状態変更を共通 status service 経由に寄せ、
|
|
192
|
+
H1 と `docsweep_state`(旧形式では `status`)を同期する。relabel は archive を暗黙実行しない。
|
|
193
|
+
- `inject` / `init` / shipped templates / README の AI 導線を設定済み work queue 前提へ同期した。
|
|
194
|
+
|
|
195
|
+
### Security
|
|
196
|
+
|
|
197
|
+
- **`docsweep[mcp]` の範囲を `mcp>=1.28.1,<2` にした。** 従来の `mcp>=1.0` では
|
|
198
|
+
CVE-2026-59950(fix: 1.28.1)を含む版が install され得た(2026-07-21 監査 F-06)。
|
|
199
|
+
上限を切ったのは **mcp 2.0.0 で `mcp.server.fastmcp` が無くなり、`docsweep mcp` が
|
|
200
|
+
import 時点で落ちる**ため(上限なしだと新規 install が 2.0.0 を掴んで即座に壊れる)。
|
|
201
|
+
2.0 系への対応は次の版で行う。
|
|
202
|
+
|
|
203
|
+
### Fixed
|
|
204
|
+
|
|
205
|
+
- **Web UI の graph / brief / capture の 3 ページが、自分自身の CSP に拒否されて
|
|
206
|
+
機能していなかったのを修正した。** サーバーは全レスポンスに `script-src 'self'`
|
|
207
|
+
(`'unsafe-inline'` なし)を付けているのに、この 3 ページだけ処理を inline `<script>`
|
|
208
|
+
(brief は `onclick=` も)で書いていた。ブラウザは実行を拒否するが**画面には何のエラーも
|
|
209
|
+
出ない**ため、症状は「graph が真っ白」「brief のコピー ボタンが無反応」「capture が
|
|
210
|
+
生成ボタンを押しても何も起きない」という**黙った機能停止**だった。処理を
|
|
211
|
+
`/static/{graph,brief,capture}.js` へ出し、データは `<script type="application/json">`
|
|
212
|
+
(実行されないので CSP の対象外)と `data-*` 属性で渡す形に統一した。
|
|
213
|
+
template に inline script / inline イベント属性が入ったら落ちるテストを追加している。
|
|
214
|
+
- **`.gitignore` が `docs/local/`(末尾スラッシュ)のとき、新規プロジェクトの 1 本目が
|
|
215
|
+
「private work queue が Git ignore されていません」で作れなかったのを修正した。**
|
|
216
|
+
`git check-ignore` は実在しないパスをディレクトリと判断できないため、queue が未作成の
|
|
217
|
+
初回だけディレクトリ限定パターンに一致しなかった。docsweep 自身のテンプレートと
|
|
218
|
+
ドキュメントが `docs/local/` 表記なので、手順どおり設定した利用者が必ず踏む経路だった。
|
|
219
|
+
末尾スラッシュ付きでも問い合わせるようにした。
|
|
220
|
+
- **`fix-conflict --prefer h1` が H1 の値を書き戻せていなかったのを修正した。** 書き戻す値に
|
|
221
|
+
「frontmatter > H1 > filename」で解決済みの state を使っていたため、frontmatter がある
|
|
222
|
+
conflict では **frontmatter 自身の値を自分に書き戻すだけ**になり、`[ok]` を報告しながら
|
|
223
|
+
1 文字も直らなかった(0.3.1 で直したのは `--path` の絞り込み側だけで、この本体は残っていた)。
|
|
224
|
+
H1 の値を本文から取り直すようにし、既に同値なら書き込まないようにした。
|
|
225
|
+
- **frontmatter を 1 フィールド書き換えるたびに、本文との間の空行が消えていたのを修正した。**
|
|
226
|
+
frontmatter を判定する正規表現の閉じ `---` の後ろが `\s*` で、直後の空行まで飲み込んでいた。
|
|
227
|
+
tracked な docs では relabel のたびによけいな差分が出ていた。
|
|
228
|
+
- **現行の OpenAI API キー形式(`sk-proj-…` / `sk-svcacct-…`)を秘密情報スキャンが
|
|
229
|
+
検出できていなかったのを修正した。** 旧パターンが `sk-` の直後に英数 20 文字以上を
|
|
230
|
+
要求しており、途中に `-` が入る現行形式は 1 件も一致しなかった(`secret_policy: block`
|
|
231
|
+
でも素通りしていた)。併せて Slack / Google API key / Stripe の形式を追加し、
|
|
232
|
+
`PRIVATE KEY` ブロックの検出をアルゴリズム名の列挙から一般化した(DSA / PGP / ENCRYPTED を含む)。
|
|
233
|
+
- **`secret_policy` に未知の値(設定の綴り違い等)を渡すと、block が黙って warn に
|
|
234
|
+
なっていたのを修正した。** `off` 以外は `block` として扱う(fail-closed)。無効化できるのは
|
|
235
|
+
明示的な `off` だけになった。
|
|
236
|
+
- **private work queue の保護を互換 fallback で外すときに、黙って外していたのをやめた。**
|
|
237
|
+
`work_dir` / `work_policy` が未設定の既存利用者では private queue の検査結果が error から
|
|
238
|
+
取り除かれるが、その内容が警告としても残らず「保護されている」と誤解できる状態だった。
|
|
239
|
+
落とした検査結果は理由と明示方法つきで warning に残す。`export --okf` も同様に、
|
|
240
|
+
work_policy=private の queue を含めた場合は対象プロジェクト名つきで警告し、
|
|
241
|
+
除外した場合は件数を通知する(黙って含めない・黙って減らさない)。
|
|
242
|
+
- **`work_dir` を junction / symlink でリポジトリ外へ逃がした構成で、その作業記録が
|
|
243
|
+
別プロジェクトの持ち物として登録されていたのを修正した。** `docs/local` をリンク化すると
|
|
244
|
+
`Path.resolve()` がリポジトリの外へ抜け、実体側から上へ辿っても project marker が見つからず、
|
|
245
|
+
`detect_project_root` の fallback が「スキャンルート直下の先頭セグメント」を project にしていた。
|
|
246
|
+
一方 cwd 判定は実体ディレクトリを見るので別名になり、**`docsweep brief` がエラーも警告も出さずに
|
|
247
|
+
0 件を返していた**(実測: 未完 65 件のリポジトリで 0 件。同じ配置の 20 リポジトリすべてが該当)。
|
|
248
|
+
`work_dir` は「そのプロジェクトの作業キュー」と宣言済みの設定なので、実体パスから宣言元
|
|
249
|
+
プロジェクトへ引き戻す対応表を作り、project 判定の入口で marker 走査より先に引くようにした。
|
|
250
|
+
同じ実体を 2 つのプロジェクトが `work_dir` として宣言している場合は、**黙って片方を採らず
|
|
251
|
+
対応表から外す**(どちらが正しいか機械には決められないため)。通常構成(`docs/local` が実体)の
|
|
252
|
+
挙動は変わらない。
|
|
253
|
+
- **索引の project 単位をスキャンルートからリポジトリ(project_root)へ揃えた。**
|
|
254
|
+
索引経由の `WHERE project_id = ?` はスキャンルート名で、索引なしフォールバックは
|
|
255
|
+
`FileRecord.project`(= リポ名)で絞っており、**同じ `--project <リポ名>` が経路に
|
|
256
|
+
よって別の列と比較されていた**。索引が有効だと `docsweep triage --project mer` が
|
|
257
|
+
エラーも警告も出さずに 0 件を返し、「残作業なし」と誤読する状態だった。
|
|
258
|
+
併せて `projects.root_path` は project_root、`files.rel_path` は project_root 相対に
|
|
259
|
+
なる。副作用として、basename が同じスキャンルート(`D:/dev` と `C:/Users/x/dev`)が
|
|
260
|
+
同一 project_id に潰れて互いの登録を消し合う問題も解消した(実測で
|
|
261
|
+
`files_added: 639 / files_deleted: 639 / files_unchanged: 0` だった差分同期が、
|
|
262
|
+
`files_unchanged: 641` の真の no-op になった)。処理順次第で索引が空のまま終わり得た
|
|
263
|
+
危険もなくなる。
|
|
264
|
+
**本修正の適用後は `docsweep index-rebuild` を 1 度実行することを推奨**(旧採番の
|
|
265
|
+
ファイル行は次回の `index-sync` でも自動的に掃除されるが、rebuild の方が確実)。
|
|
266
|
+
掃除した時は stderr に 1 行だけ通知する。空になった project 行は自動削除せず、
|
|
267
|
+
従来どおり `docsweep index-sync --prune-projects` に委ねる。
|
|
268
|
+
`--prune-projects` の現行 ID 算出もスキャンルート単位から「今回の走査で見つかった
|
|
269
|
+
全 project」へ追従させた(直し忘れると生きている project が孤児と誤判定されて
|
|
270
|
+
CASCADE 削除される)。
|
|
271
|
+
- `index-sync` / `index-rebuild` の全走査を DB 書き込みより前に完了させるようにした。
|
|
272
|
+
`index-rebuild` は `DELETE FROM files` の直後に走査ループへ入っていたため、走査中に
|
|
273
|
+
落ちると索引が不完全なまま残っていた(下記 junction 問題で実際に壊れた)。
|
|
274
|
+
- **`docsweep fix-conflict --path` が効いていなかったのを修正。** `--path` の dest が
|
|
275
|
+
`_add_scope_args` の positional `paths`(スキャンルート)と衝突し、positional 側の
|
|
276
|
+
既定値 `[]` が `append` の結果を潰していたため、**1 件だけ指定したつもりで全 conflict が
|
|
277
|
+
処理対象になっていた**(`--prefer` の向きが合わない conflict まで巻き込むと、完了済み
|
|
278
|
+
plan が未着手へ戻る誤修正になる)。dest を分離し、併せて渡されたパスを
|
|
279
|
+
`resolve().as_posix()` で正規化して Windows のバックスラッシュ表記でも一致するようにし、
|
|
280
|
+
1 件も一致しなかった指定は stderr に警告するようにした(黙って「対象なし」で終わると
|
|
281
|
+
誤指定に気づけない)。
|
|
282
|
+
- `index-sync` / `index-rebuild` が、スキャンルート配下に junction / symlink があると
|
|
283
|
+
`ValueError: '...' is not in the subpath of '...'` で中断していたのを修正。
|
|
284
|
+
`FileRecord.path` は `resolve()` 済みのためリンク先がルート外の実体パスに解決され、
|
|
285
|
+
`relative_to(root)` が失敗していた。ルート相対が取れない場合は実体の絶対パスを
|
|
286
|
+
`rel_path` の識別子に使う(表示・移送に使う絶対パスは従来どおり `abs_path` 列を参照する
|
|
287
|
+
ため実害はない)。`index-rebuild` は `DELETE FROM files` の直後にこのループへ入るので、
|
|
288
|
+
中断すると索引が不完全なまま残っていた。
|
|
289
|
+
|
|
8
290
|
## [0.3.1] - 2026-07-18
|
|
9
291
|
|
|
10
292
|
v0.3.0 patch。`.docsweep/backup/` 経由で `docs/local/*.md`(家宣言 private)が
|
|
@@ -17,8 +17,14 @@
|
|
|
17
17
|
|
|
18
18
|
- GitHub リポジトリ名: `docsweep`
|
|
19
19
|
- 配布: PyPI(`pip install docsweep`、extras: `web` / `review` / `mcp` / `watch` / `resurrect` / `all`)、Win / Mac / Linux 対応。単体バイナリ(PyInstaller)は現時点で未提供
|
|
20
|
-
-
|
|
21
|
-
|
|
20
|
+
- 設計の正本(すべて追跡下。fresh clone で辿れる):
|
|
21
|
+
- 状態モデルの語彙・archive 可否・自動移送可否 → `docsweep/states.py` の `DEFAULT_STATES` と
|
|
22
|
+
`states:` 設定(実装が唯一の正本。ドキュメントはここから導出する)
|
|
23
|
+
- 命名・H1 ステータスラベル・ライフサイクルの人間向け解説 → [docs/conventions.md](docs/conventions.md)
|
|
24
|
+
- 採用者へ配る運用ルールの正本テンプレ → [templates/CLAUDE.md](templates/CLAUDE.md)
|
|
25
|
+
- OKF v0.2 との対応と Bundle の構造 → [docs/okf-mapping.md](docs/okf-mapping.md) /
|
|
26
|
+
[docs/okf-export-format.md](docs/okf-export-format.md)
|
|
27
|
+
- 一直線の状態モデル図と CLI の使い方 → [README.md](README.md)
|
|
22
28
|
|
|
23
29
|
> 個人/グローバルな AI ルール(言語・確認フォーマット・スクリーンショット規約・
|
|
24
30
|
> ターン終端の出力ルール等)は **このリポジトリには置かない**。各利用者が使う AI ツールの
|
|
@@ -77,6 +83,14 @@ docsweep/
|
|
|
77
83
|
- **インタラクティブ UI は `--review` 専用**。`--auto` / `--json` は非対話を厳守
|
|
78
84
|
(cron・CI・AI エージェント委譲向け。プロンプトを出さない)。
|
|
79
85
|
|
|
86
|
+
## Web UI の不変条件(CSP)
|
|
87
|
+
|
|
88
|
+
- **template に inline `<script>` / inline イベント属性(`onclick=` 等)を書かない**。
|
|
89
|
+
サーバーは全レスポンスに `script-src 'self'`(`'unsafe-inline'` なし)の CSP を付けるため、
|
|
90
|
+
inline は実行されず、**画面には何のエラーも出ないまま機能だけが死ぬ**。
|
|
91
|
+
- 処理は `/static/*.js` へ置き、値は `<script type="application/json">`(非実行=CSP 対象外)と
|
|
92
|
+
`data-*` 属性で渡す。`tests/test_offline_assets.py` が機械的に禁止している。
|
|
93
|
+
|
|
80
94
|
## AI 作業共通ルール
|
|
81
95
|
|
|
82
96
|
ビルド・コミット禁止、secrets-scan 責務、plan/bugfix/pending md の作成ルール等の
|
|
@@ -108,3 +122,7 @@ git config core.hooksPath .githooks
|
|
|
108
122
|
- 秘匿情報が無ければ全公開(ツール本体 + テンプレ + 規約ドキュメントをセットで)。
|
|
109
123
|
- 配布の既定は **npm ではなく PyPI**(Python パッケージ)。詳細・npm 連携が絡む場合の
|
|
110
124
|
運用は予約済みハンドル/トークンの状況に依存するため、公開作業前にユーザーへ確認する。
|
|
125
|
+
- **リリースは手書きの手順ではなく、リリース用の共通手順に従って行う**
|
|
126
|
+
(作者環境ではグローバル AI 設定の `release` skill を起動し、Python パッケージなので
|
|
127
|
+
`pypi-publish` のタグ前チェックリストも通す)。release md にはそのリリース固有の引数・事情だけを書き、
|
|
128
|
+
**共通の前提チェックを md へ写経しない**(写経すると正本が 2 つになり、片方だけ古くなる)。
|
|
@@ -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
|
|