corvee 0.2.0__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.
- {corvee-0.2.0 → corvee-0.4.0}/.github/codecov.yml +2 -2
- {corvee-0.2.0 → corvee-0.4.0}/.github/workflows/cicd.yaml +16 -16
- {corvee-0.2.0 → corvee-0.4.0}/.github/workflows/scorecard.yml +4 -4
- {corvee-0.2.0 → corvee-0.4.0}/AGENTS.md +17 -12
- {corvee-0.2.0 → corvee-0.4.0}/PKG-INFO +10 -8
- {corvee-0.2.0 → corvee-0.4.0}/README.md +8 -6
- corvee-0.4.0/docs/commands.md +51 -0
- {corvee-0.2.0 → corvee-0.4.0}/docs/concurrency.md +3 -2
- {corvee-0.2.0 → corvee-0.4.0}/docs/mcp.md +79 -25
- {corvee-0.2.0 → corvee-0.4.0}/docs/quickstart.md +51 -31
- {corvee-0.2.0 → corvee-0.4.0}/docs/spec.md +416 -181
- {corvee-0.2.0 → corvee-0.4.0}/docs/use-cases.md +3 -3
- {corvee-0.2.0 → corvee-0.4.0}/pyproject.toml +6 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/brief.py +16 -9
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/doctor.py +7 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/explain.py +28 -20
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/add.py +10 -13
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/delete.py +6 -4
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/list_.py +17 -11
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/retract.py +7 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/revise.py +9 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/search.py +17 -9
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/show.py +7 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/unverify.py +7 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/verify.py +9 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/import_.py +6 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/init.py +6 -4
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/add.py +16 -15
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/assign.py +11 -8
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/claim.py +10 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/claims.py +12 -7
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/comment.py +6 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/label.py +10 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/labels.py +7 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/link.py +6 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/list_.py +21 -14
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/mine.py +11 -9
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/purge.py +7 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/ready.py +15 -10
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/search.py +13 -10
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/show.py +9 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/start.py +7 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/tree.py +7 -6
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/unassign.py +7 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/unclaim.py +7 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/unlink.py +6 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/update.py +6 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/completion.py +6 -3
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/main.py +1 -1
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/params.py +26 -1
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/scope.py +2 -2
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/constants.py +49 -11
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/export_import.py +18 -2
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/facts.py +0 -4
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/links.py +8 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/tasks.py +60 -26
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/errors.py +10 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/dispatch.py +67 -11
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/scope.py +5 -20
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/server.py +13 -5
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/tools_common.py +63 -8
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/tools_fact.py +108 -18
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/tools_read.py +11 -11
- corvee-0.4.0/src/corvee/mcp/tools_write.py +669 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/models.py +45 -12
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/output.py +125 -26
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/references.py +9 -5
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_actor_session_flags.py +10 -6
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_add_list_show.py +84 -44
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_brief.py +10 -9
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_claim_update.py +12 -10
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_claims.py +2 -2
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_completion.py +29 -0
- corvee-0.4.0/tests/acceptance/test_cli_derived_blocked.py +217 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_doctor.py +23 -21
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_duration_validation.py +2 -2
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_error_handling.py +2 -2
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_explain_and_epilogs.py +2 -2
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_export_import.py +14 -14
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_facts.py +104 -37
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_global_scope.py +54 -48
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_init.py +5 -5
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_labels.py +31 -11
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_limit_validation.py +1 -1
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_link.py +6 -6
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_no_project.py +14 -14
- corvee-0.4.0/tests/acceptance/test_cli_output_format.py +144 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_pagination.py +14 -8
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_ready_search_mine_comment.py +38 -15
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_referenced.py +99 -26
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_task_add_from_file.py +75 -18
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_task_assign.py +13 -9
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_task_purge.py +8 -8
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_task_start.py +6 -6
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_tree.py +4 -4
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_config.py +12 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_export_import.py +57 -1
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_links.py +17 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_tasks.py +15 -0
- corvee-0.4.0/tests/acceptance/test_mcp_blocked_by.py +32 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_create_and_find_tools.py +12 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_docs_tool_inventory.py +9 -1
- corvee-0.4.0/tests/acceptance/test_mcp_fact_tools.py +289 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_read_tools.py +26 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_scope.py +1 -33
- corvee-0.4.0/tests/acceptance/test_mcp_unknown_arguments.py +62 -0
- corvee-0.4.0/tests/acceptance/test_mcp_write_tools.py +699 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/conftest.py +4 -2
- {corvee-0.2.0 → corvee-0.4.0}/tests/e2e/test_concurrency.py +3 -3
- {corvee-0.2.0 → corvee-0.4.0}/tests/e2e/test_e2e.py +59 -18
- {corvee-0.2.0 → corvee-0.4.0}/tests/e2e/test_mcp_protocol.py +11 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_constants.py +31 -8
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_mcp_dispatch.py +23 -1
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_models.py +41 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_output.py +164 -24
- corvee-0.2.0/.claude/CLAUDE.md +0 -1
- corvee-0.2.0/docs/commands.md +0 -44
- corvee-0.2.0/src/corvee/mcp/tools_write.py +0 -323
- corvee-0.2.0/tests/acceptance/test_mcp_fact_tools.py +0 -94
- corvee-0.2.0/tests/acceptance/test_mcp_write_tools.py +0 -244
- {corvee-0.2.0 → corvee-0.4.0}/.github/CODEOWNERS +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/CODE_OF_CONDUCT.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/ISSUE_TEMPLATE/question.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/dependabot.yml +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/pull_request_template.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/release.yaml +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/self-review.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.github/workflows/dependabot_auto_merge.yaml +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.gitignore +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.pre-commit-config.yaml +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/.readthedocs.yaml +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/CITATION.cff +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/CONTRIBUTING.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/LICENSE +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/SECURITY.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/docs/index.md +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/mkdocs.yml +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/__main__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/actor.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/completion.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/export.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/fact/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/mcp/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/mcp/serve.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/commands/task/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/cli/context.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/config.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/connection.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/events.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/labels.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/like.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/schema.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/db/stats.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/guards/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/guards/ancestry.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/guards/fields.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/guards/labels.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/guards/parent_child.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/guards/scope.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/guards/transitions.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/__init__.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/server_config.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/mcp/worker.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/src/corvee/timeutil.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/conftest.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/mcp_helpers.py +0 -0
- {corvee-0.2.0/tests/unit → corvee-0.4.0/tests/acceptance}/test_cicd_workflow.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_completion_command.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_context_overrides.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_mcp_serve.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_params.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_cli_scope.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_claims_and_update.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_connection.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_facts.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_labels.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_ready_search_mine_comment.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_db_stats.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_concurrency.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_server_config.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_server_startup.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_stdout_purity.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_tool_descriptions.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/acceptance/test_mcp_version_skew.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/e2e/test_mcp_serve.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_actor.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_config_toml.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_connection_errors.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_guards.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_mcp_dispatch_version_skew.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_mcp_session_id_resolution.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_mcp_worker.py +0 -0
- {corvee-0.2.0 → corvee-0.4.0}/tests/unit/test_timeutil.py +0 -0
|
@@ -11,12 +11,12 @@ coverage:
|
|
|
11
11
|
status:
|
|
12
12
|
project:
|
|
13
13
|
default:
|
|
14
|
-
informational:
|
|
14
|
+
informational: false
|
|
15
15
|
target: auto
|
|
16
16
|
threshold: 2%
|
|
17
17
|
patch:
|
|
18
18
|
default:
|
|
19
|
-
informational:
|
|
19
|
+
informational: false
|
|
20
20
|
|
|
21
21
|
comment:
|
|
22
22
|
layout: "reach, diff, flags, files"
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
21
21
|
with:
|
|
22
22
|
python-version: "3.11"
|
|
23
|
-
- uses: astral-sh/setup-uv@
|
|
23
|
+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
|
|
24
24
|
- name: Install project
|
|
25
25
|
run: uv pip install --system -e .
|
|
26
26
|
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
|
|
@@ -33,7 +33,7 @@ jobs:
|
|
|
33
33
|
security-events: write
|
|
34
34
|
steps:
|
|
35
35
|
- name: Harden Runner
|
|
36
|
-
uses: step-security/harden-runner@
|
|
36
|
+
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
|
|
37
37
|
with:
|
|
38
38
|
# Audit only: no secrets, read-only code scanning -- low blast radius.
|
|
39
39
|
egress-policy: audit
|
|
@@ -46,16 +46,16 @@ jobs:
|
|
|
46
46
|
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
|
|
47
47
|
|
|
48
48
|
- name: Initialize CodeQL
|
|
49
|
-
uses: github/codeql-action/init@
|
|
49
|
+
uses: github/codeql-action/init@24c54180a607b1449ed407dd24f251e4e9147c8d # v3.29.5
|
|
50
50
|
with:
|
|
51
51
|
languages: python
|
|
52
52
|
queries: security-extended,security-and-quality
|
|
53
53
|
|
|
54
54
|
- name: Autobuild
|
|
55
|
-
uses: github/codeql-action/autobuild@
|
|
55
|
+
uses: github/codeql-action/autobuild@24c54180a607b1449ed407dd24f251e4e9147c8d # v3.29.5
|
|
56
56
|
|
|
57
57
|
- name: Perform CodeQL Analysis
|
|
58
|
-
uses: github/codeql-action/analyze@
|
|
58
|
+
uses: github/codeql-action/analyze@24c54180a607b1449ed407dd24f251e4e9147c8d # v3.29.5
|
|
59
59
|
with:
|
|
60
60
|
category: "/language:python"
|
|
61
61
|
|
|
@@ -69,7 +69,7 @@ jobs:
|
|
|
69
69
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
70
70
|
with:
|
|
71
71
|
python-version: "3.11"
|
|
72
|
-
- uses: astral-sh/setup-uv@
|
|
72
|
+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
|
|
73
73
|
- name: Check git status
|
|
74
74
|
run: |
|
|
75
75
|
if [[ -z "$(git status --porcelain)" ]]; then
|
|
@@ -83,7 +83,7 @@ jobs:
|
|
|
83
83
|
run: uv tool install hatch
|
|
84
84
|
- name: Build
|
|
85
85
|
run: hatch build
|
|
86
|
-
- uses: actions/upload-artifact@
|
|
86
|
+
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
87
87
|
with:
|
|
88
88
|
name: dist
|
|
89
89
|
path: dist/
|
|
@@ -101,14 +101,14 @@ jobs:
|
|
|
101
101
|
PYTHON: ${{ matrix.python-version }}
|
|
102
102
|
steps:
|
|
103
103
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
104
|
-
- uses: actions/download-artifact@
|
|
104
|
+
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
105
105
|
with:
|
|
106
106
|
name: dist
|
|
107
107
|
path: dist/
|
|
108
108
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
109
109
|
with:
|
|
110
110
|
python-version: ${{ matrix.python-version }}
|
|
111
|
-
- uses: astral-sh/setup-uv@
|
|
111
|
+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
|
|
112
112
|
- name: Install the built wheel and test dependencies (Linux or macOS)
|
|
113
113
|
if: runner.os != 'Windows'
|
|
114
114
|
run: |
|
|
@@ -123,7 +123,7 @@ jobs:
|
|
|
123
123
|
run: pytest -n auto -x --cov=corvee --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
|
|
124
124
|
- name: Upload coverage to Codecov
|
|
125
125
|
if: ${{ !cancelled() && github.actor == 'btschwertfeger' }}
|
|
126
|
-
uses: codecov/codecov-action@
|
|
126
|
+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
127
127
|
with:
|
|
128
128
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
129
129
|
files: coverage.xml
|
|
@@ -134,7 +134,7 @@ jobs:
|
|
|
134
134
|
name: codecov-umbrella
|
|
135
135
|
- name: Upload test results to Codecov
|
|
136
136
|
if: ${{ !cancelled() && github.actor == 'btschwertfeger' }}
|
|
137
|
-
uses: codecov/codecov-action@
|
|
137
|
+
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
|
|
138
138
|
with:
|
|
139
139
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
140
140
|
files: junit.xml
|
|
@@ -154,7 +154,7 @@ jobs:
|
|
|
154
154
|
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
155
155
|
with:
|
|
156
156
|
python-version: "3.11"
|
|
157
|
-
- uses: astral-sh/setup-uv@
|
|
157
|
+
- uses: astral-sh/setup-uv@1c37ad07a6a961277cf70c0d37d6f313000f5884 # v10.3.0
|
|
158
158
|
- name: Install hatch
|
|
159
159
|
run: uv tool install hatch
|
|
160
160
|
- name: Build documentation
|
|
@@ -198,7 +198,7 @@ jobs:
|
|
|
198
198
|
url: https://test.pypi.org/p/corvee
|
|
199
199
|
steps:
|
|
200
200
|
- name: Harden Runner
|
|
201
|
-
uses: step-security/harden-runner@
|
|
201
|
+
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
|
|
202
202
|
with:
|
|
203
203
|
disable-sudo: true
|
|
204
204
|
egress-policy: block
|
|
@@ -215,7 +215,7 @@ jobs:
|
|
|
215
215
|
uploads.github.com:443
|
|
216
216
|
|
|
217
217
|
- name: Download the distributions
|
|
218
|
-
uses: actions/download-artifact@
|
|
218
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
219
219
|
with:
|
|
220
220
|
name: dist
|
|
221
221
|
path: dist/
|
|
@@ -243,7 +243,7 @@ jobs:
|
|
|
243
243
|
url: https://pypi.org/p/corvee
|
|
244
244
|
steps:
|
|
245
245
|
- name: Harden Runner
|
|
246
|
-
uses: step-security/harden-runner@
|
|
246
|
+
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
|
|
247
247
|
with:
|
|
248
248
|
disable-sudo: true
|
|
249
249
|
egress-policy: block
|
|
@@ -260,7 +260,7 @@ jobs:
|
|
|
260
260
|
upload.pypi.org
|
|
261
261
|
|
|
262
262
|
- name: Download the distributions
|
|
263
|
-
uses: actions/download-artifact@
|
|
263
|
+
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
|
|
264
264
|
with:
|
|
265
265
|
name: dist
|
|
266
266
|
path: dist/
|
|
@@ -34,7 +34,7 @@ jobs:
|
|
|
34
34
|
|
|
35
35
|
steps:
|
|
36
36
|
- name: Harden Runner
|
|
37
|
-
uses: step-security/harden-runner@
|
|
37
|
+
uses: step-security/harden-runner@ccd8616d44fd3846e67624a50d5aad6d37bf2d25 # v2.22.1
|
|
38
38
|
with:
|
|
39
39
|
# Audit only: no secrets, read-only permissions — low blast radius.
|
|
40
40
|
egress-policy: audit
|
|
@@ -45,7 +45,7 @@ jobs:
|
|
|
45
45
|
persist-credentials: false
|
|
46
46
|
|
|
47
47
|
- name: "Run analysis"
|
|
48
|
-
uses: ossf/scorecard-action@
|
|
48
|
+
uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0
|
|
49
49
|
with:
|
|
50
50
|
results_file: results.sarif
|
|
51
51
|
results_format: sarif
|
|
@@ -67,7 +67,7 @@ jobs:
|
|
|
67
67
|
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
|
|
68
68
|
# format to the repository Actions tab.
|
|
69
69
|
- name: "Upload artifact"
|
|
70
|
-
uses: actions/upload-artifact@
|
|
70
|
+
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
|
|
71
71
|
with:
|
|
72
72
|
name: SARIF file
|
|
73
73
|
path: results.sarif
|
|
@@ -75,6 +75,6 @@ jobs:
|
|
|
75
75
|
|
|
76
76
|
# Upload the results to GitHub's code scanning dashboard.
|
|
77
77
|
- name: "Upload to code-scanning"
|
|
78
|
-
uses: github/codeql-action/upload-sarif@
|
|
78
|
+
uses: github/codeql-action/upload-sarif@24c54180a607b1449ed407dd24f251e4e9147c8d # v3.29.5
|
|
79
79
|
with:
|
|
80
80
|
sarif_file: results.sarif
|
|
@@ -26,7 +26,8 @@ files.
|
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
28
|
hatch run test # pytest, parallel via pytest-xdist
|
|
29
|
-
hatch run
|
|
29
|
+
hatch run cov # pytest with coverage, fails under 90%
|
|
30
|
+
hatch run check # every prek hook + cov.
|
|
30
31
|
# Run this before considering a change done
|
|
31
32
|
hatch run lint # ruff check, via prek
|
|
32
33
|
hatch run format # black, via prek
|
|
@@ -41,6 +42,15 @@ what each one actually runs. `hatch run check` (or `prek run --all-files`
|
|
|
41
42
|
directly) is the mandatory quality gate before a change is considered
|
|
42
43
|
finished.
|
|
43
44
|
|
|
45
|
+
`test:test` is a local convenience for checking one interpreter from the
|
|
46
|
+
matrix. CI's `test` job does not run it, and installs the wheel `build`
|
|
47
|
+
produced (the same artifact `upload-pypi`/`upload-test-pypi` later publish)
|
|
48
|
+
plus its own hardcoded `pytest`/`pytest-cov`/`pytest-xdist`, exercising the
|
|
49
|
+
actual packaged wheel on every OS/interpreter combination instead of the
|
|
50
|
+
editable source install a `hatch` env creates. A dependency added to
|
|
51
|
+
`[tool.hatch.envs.default.dependencies]` for testing must be added to
|
|
52
|
+
`cicd.yaml`'s install step by hand to reach CI.
|
|
53
|
+
|
|
44
54
|
## Principles
|
|
45
55
|
|
|
46
56
|
KISS, YAGNI, DRY. A change should be minimal and focused on what was asked.
|
|
@@ -125,17 +135,12 @@ JSON-on-stderr shape and the process exit code.
|
|
|
125
135
|
examples (enforced by a test).
|
|
126
136
|
- Full type hints throughout. `ty` has zero tolerance for untyped public
|
|
127
137
|
signatures or unjustified `Any`.
|
|
128
|
-
- Never use `typing.cast()
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
set of valid members and raises if it is not one of them, then returns it
|
|
135
|
-
-- see `constants.py`'s `narrow_*` functions for the pattern, and
|
|
136
|
-
`mcp/dispatch.py::run_tool`'s docstring for the one place a genuine
|
|
137
|
-
external-library expressiveness gap (not a value narrowing) still needs a
|
|
138
|
-
single, well-documented `# ty: ignore[...]` instead.
|
|
138
|
+
- Never use `typing.cast()` -- it trusts an annotation without verifying it
|
|
139
|
+
at runtime, so a wrong assumption propagates silently. Narrow values
|
|
140
|
+
instead using `constants.py`'s `narrow_*` pattern (check known members,
|
|
141
|
+
raise otherwise). The one exception is a genuine external-library
|
|
142
|
+
expressiveness gap, documented with `# ty: ignore[...]` in
|
|
143
|
+
`mcp/dispatch.py::run_tool`'s docstring.
|
|
139
144
|
- Tests are classified by directory, not per-test decorators: `tests/unit`
|
|
140
145
|
(pure functions, no filesystem/db), `tests/acceptance` (through the CLI or
|
|
141
146
|
db layer against a real `tmp_path` SQLite database), `tests/e2e` (a real
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: corvee
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: A single-machine, non-git-tracked, persistent, multi-agent-aware CLI task tracker and fact store
|
|
5
5
|
Project-URL: Homepage, https://github.com/btschwertfeger/Corvee
|
|
6
6
|
Project-URL: Documentation, https://corvee.readthedocs.io/en/stable/
|
|
@@ -11,9 +11,9 @@ License-File: LICENSE
|
|
|
11
11
|
Requires-Python: >=3.11
|
|
12
12
|
Requires-Dist: click~=8.5
|
|
13
13
|
Provides-Extra: docs
|
|
14
|
-
Requires-Dist: mkdocs; extra == 'docs'
|
|
15
14
|
Requires-Dist: mkdocs-click; extra == 'docs'
|
|
16
15
|
Requires-Dist: mkdocs-material; extra == 'docs'
|
|
16
|
+
Requires-Dist: mkdocs<2; extra == 'docs'
|
|
17
17
|
Provides-Extra: mcp
|
|
18
18
|
Requires-Dist: mcp>=2.2; extra == 'mcp'
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
@@ -33,7 +33,9 @@ for you and your agents!
|
|
|
33
33
|
[](https://github.com/btschwertfeger/corvee)
|
|
34
34
|
[](LICENSE)
|
|
35
35
|
[](pyproject.toml)
|
|
36
|
+
|
|
36
37
|
[](https://pepy.tech/project/corvee)
|
|
38
|
+
[](https://pypi.org/project/corvee/)
|
|
37
39
|
|
|
38
40
|
[](https://github.com/astral-sh/ruff)
|
|
39
41
|
[](https://github.com/astral-sh/ty)
|
|
@@ -43,8 +45,8 @@ for you and your agents!
|
|
|
43
45
|
[](https://www.bestpractices.dev/projects/14702)
|
|
44
46
|
[](https://securityscorecards.dev/viewer/?uri=github.com/btschwertfeger/Corvee)
|
|
45
47
|
|
|
46
|
-
[](https://corvee.readthedocs.io/en/stable/)
|
|
49
|
+
[](https://doi.org/10.5281/zenodo.22877769)
|
|
48
50
|
|
|
49
51
|
</div>
|
|
50
52
|
|
|
@@ -129,16 +131,16 @@ cd your-project
|
|
|
129
131
|
corvee init # once per project
|
|
130
132
|
|
|
131
133
|
corvee task add "Fix the flaky auth test" --description "..."
|
|
132
|
-
corvee task list
|
|
134
|
+
corvee task list -o json
|
|
133
135
|
corvee task claim TASK-1
|
|
134
136
|
corvee task update TASK-1 --state done # claim clears automatically
|
|
135
137
|
|
|
136
138
|
corvee fact add "requests is Apache-2.0 licensed" --proof "pip show requests"
|
|
137
|
-
corvee fact search "license"
|
|
139
|
+
corvee fact search "license" -o json
|
|
138
140
|
```
|
|
139
141
|
|
|
140
|
-
`corvee explain` prints a compact, agent-oriented cheat sheet from
|
|
141
|
-
|
|
142
|
+
`corvee explain` prints a compact, agent-oriented cheat sheet from any
|
|
143
|
+
directory. See [Quickstart](docs/quickstart.md) for facts,
|
|
142
144
|
global scope, and the full core loop.
|
|
143
145
|
|
|
144
146
|
## License
|
|
@@ -13,7 +13,9 @@ for you and your agents!
|
|
|
13
13
|
[](https://github.com/btschwertfeger/corvee)
|
|
14
14
|
[](LICENSE)
|
|
15
15
|
[](pyproject.toml)
|
|
16
|
+
|
|
16
17
|
[](https://pepy.tech/project/corvee)
|
|
18
|
+
[](https://pypi.org/project/corvee/)
|
|
17
19
|
|
|
18
20
|
[](https://github.com/astral-sh/ruff)
|
|
19
21
|
[](https://github.com/astral-sh/ty)
|
|
@@ -23,8 +25,8 @@ for you and your agents!
|
|
|
23
25
|
[](https://www.bestpractices.dev/projects/14702)
|
|
24
26
|
[](https://securityscorecards.dev/viewer/?uri=github.com/btschwertfeger/Corvee)
|
|
25
27
|
|
|
26
|
-
[](https://corvee.readthedocs.io/en/stable/)
|
|
29
|
+
[](https://doi.org/10.5281/zenodo.22877769)
|
|
28
30
|
|
|
29
31
|
</div>
|
|
30
32
|
|
|
@@ -109,16 +111,16 @@ cd your-project
|
|
|
109
111
|
corvee init # once per project
|
|
110
112
|
|
|
111
113
|
corvee task add "Fix the flaky auth test" --description "..."
|
|
112
|
-
corvee task list
|
|
114
|
+
corvee task list -o json
|
|
113
115
|
corvee task claim TASK-1
|
|
114
116
|
corvee task update TASK-1 --state done # claim clears automatically
|
|
115
117
|
|
|
116
118
|
corvee fact add "requests is Apache-2.0 licensed" --proof "pip show requests"
|
|
117
|
-
corvee fact search "license"
|
|
119
|
+
corvee fact search "license" -o json
|
|
118
120
|
```
|
|
119
121
|
|
|
120
|
-
`corvee explain` prints a compact, agent-oriented cheat sheet from
|
|
121
|
-
|
|
122
|
+
`corvee explain` prints a compact, agent-oriented cheat sheet from any
|
|
123
|
+
directory. See [Quickstart](docs/quickstart.md) for facts,
|
|
122
124
|
global scope, and the full core loop.
|
|
123
125
|
|
|
124
126
|
## License
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Commands
|
|
2
|
+
|
|
3
|
+
Every command below accepts `-o`/`--output table|wide|json` and, with
|
|
4
|
+
`json`, prints a JSON array of objects on success, except `explain`,
|
|
5
|
+
`completion`, and `mcp serve`, which have no `-o`/`--output` flag, and
|
|
6
|
+
`export`, which always writes JSON without needing one. `wide` only
|
|
7
|
+
applies to the row-listing commands (`task list`/`ready`/`search`/`mine`,
|
|
8
|
+
`fact list`/`search`, `brief`); every other command rejects it. `brief`,
|
|
9
|
+
`doctor`, `init`, and `task tree` print one object rather than an array
|
|
10
|
+
under `-o json`, since each returns a document rather than query results.
|
|
11
|
+
`corvee <command> --help` shows runnable examples for any of them. This
|
|
12
|
+
page covers usage and flags only. Standalone, checked-true (or
|
|
13
|
+
not-yet-checked, or retracted) facts are not linked to tasks by the schema
|
|
14
|
+
(see [Specification](spec.md#46-facts)).
|
|
15
|
+
|
|
16
|
+
::: mkdocs-click
|
|
17
|
+
:module: corvee.cli.main
|
|
18
|
+
:command: cli
|
|
19
|
+
:prog_name: corvee
|
|
20
|
+
:depth: 1
|
|
21
|
+
|
|
22
|
+
## Reading an id
|
|
23
|
+
|
|
24
|
+
Tasks are referenced externally as `TASK-<n>` (e.g. `TASK-14`) and facts
|
|
25
|
+
as `FACT-<n>` (e.g. `FACT-7`). Commands accept either the prefixed form or a
|
|
26
|
+
bare integer and normalize internally. A `task` command given a `FACT-<n>`
|
|
27
|
+
value (or a `fact` command given a `TASK-<n>` value) is rejected rather
|
|
28
|
+
than silently misread.
|
|
29
|
+
|
|
30
|
+
A task or fact filed with `--global` gets the `TASK-GLOBAL-<n>` /
|
|
31
|
+
`FACT-GLOBAL-<n>` form instead, its own id space in the shared global
|
|
32
|
+
database (`~/.corvee/corvee.db`) rather than the local project (see
|
|
33
|
+
[Specification §3.3](spec.md#33-local-and-global-scope)). Every command
|
|
34
|
+
that takes an id infers local vs. global from the id itself. Only `add`
|
|
35
|
+
needs the explicit `--global` flag, since there's no existing id to read
|
|
36
|
+
it from.
|
|
37
|
+
|
|
38
|
+
## Exit codes
|
|
39
|
+
|
|
40
|
+
| Code | Meaning |
|
|
41
|
+
|---|---|
|
|
42
|
+
| 0 | Success |
|
|
43
|
+
| 1 | Unexpected/internal error |
|
|
44
|
+
| 2 | Usage or validation error |
|
|
45
|
+
| 3 | Task or fact not found |
|
|
46
|
+
| 4 | Claim conflict: the task is held by another actor |
|
|
47
|
+
| 5 | Guard violation: open children, a `parent_of` or `blocks` cycle, a self-link, a second parent on a task that has one, a rejected state transition, claiming an already-terminal task, `fact delete` on a non-retracted fact, `task purge` on a non-cancelled or still-linked task, linking across the local/global scope split |
|
|
48
|
+
| 6 | Project/config problem: no or unreadable `.corvee/config.toml`, a database file that cannot be opened or written, a `.corvee/` or database directory that cannot be created, a schema newer than this binary, or a `corvee import` of a dump whose schema_version doesn't match this binary's |
|
|
49
|
+
|
|
50
|
+
For the exact JSON shapes, filter semantics, and every edge case, see the
|
|
51
|
+
[Specification](spec.md). This page is a summary, not the contract.
|
|
@@ -17,8 +17,9 @@ stated scope: one machine, a handful of agents and/or humans, not a swarm.
|
|
|
17
17
|
does not retry, unlike ordinary lock contention. Taking the lock
|
|
18
18
|
immediately serializes concurrent writers on that transaction instead.
|
|
19
19
|
Read-only commands (`task list`, `task show`, `task ready`, `task
|
|
20
|
-
search`, `task mine`, `task
|
|
21
|
-
show`, `export`, `doctor`) use a
|
|
20
|
+
search`, `task mine`, `task claims`, `task tree`, `task labels`, `fact
|
|
21
|
+
list`, `fact search`, `fact show`, `export`, `doctor`, `brief`) use a
|
|
22
|
+
plain `BEGIN`, so they never block a writer.
|
|
22
23
|
- **Claims are a single conditional `UPDATE`** (`claimed_by = ? WHERE
|
|
23
24
|
claimed_by IS NULL`), checked by rows-affected. SQLite executes this
|
|
24
25
|
atomically. That conditional update is the entire concurrency-safety
|
|
@@ -55,7 +55,12 @@ MCP client. Neither touches stdout, which stays pure JSON-RPC framing.
|
|
|
55
55
|
|
|
56
56
|
`--actor` works like the CLI's own `--actor` flag or `$CORVEE_ACTOR` (see
|
|
57
57
|
[Quickstart](quickstart.md#identify-yourself)): a stable identity for
|
|
58
|
-
whatever is running this server, read once at startup.
|
|
58
|
+
whatever is running this server, read once at startup. Omit both and
|
|
59
|
+
every write this server makes falls back to `human:$USER`, the same
|
|
60
|
+
default a bare CLI call with neither falls back to. That is
|
|
61
|
+
indistinguishable from work a person at the keyboard did themselves, so
|
|
62
|
+
pass `--actor` explicitly when you register the server with your host,
|
|
63
|
+
below.
|
|
59
64
|
|
|
60
65
|
```bash
|
|
61
66
|
corvee mcp serve --actor agent:claude
|
|
@@ -84,7 +89,7 @@ the server per conversation already, you get this for free.
|
|
|
84
89
|
**Global-only mode** is reached either way: no project found at cwd with
|
|
85
90
|
`--project-root` omitted, or explicitly by pointing the host at a
|
|
86
91
|
directory with no `.corvee/config.toml` anywhere above it. It's the MCP
|
|
87
|
-
equivalent of `corvee
|
|
92
|
+
equivalent of `corvee task add --global ...` from such a directory:
|
|
88
93
|
|
|
89
94
|
```bash
|
|
90
95
|
corvee mcp serve
|
|
@@ -104,7 +109,7 @@ needed, and nothing to re-register when you switch projects.
|
|
|
104
109
|
### Claude Code
|
|
105
110
|
|
|
106
111
|
```bash
|
|
107
|
-
claude mcp add --transport stdio --scope user corvee -- corvee mcp serve
|
|
112
|
+
claude mcp add --transport stdio --scope user corvee -- corvee mcp serve --actor agent:claude
|
|
108
113
|
```
|
|
109
114
|
|
|
110
115
|
`--scope user` registers it once for every project rather than just the
|
|
@@ -115,7 +120,7 @@ full set of scopes.
|
|
|
115
120
|
### Codex CLI
|
|
116
121
|
|
|
117
122
|
```bash
|
|
118
|
-
codex mcp add corvee -- corvee mcp serve
|
|
123
|
+
codex mcp add corvee -- corvee mcp serve --actor agent:codex
|
|
119
124
|
```
|
|
120
125
|
|
|
121
126
|
Or add the equivalent block directly to `~/.codex/config.toml`:
|
|
@@ -123,7 +128,7 @@ Or add the equivalent block directly to `~/.codex/config.toml`:
|
|
|
123
128
|
```toml
|
|
124
129
|
[mcp_servers.corvee]
|
|
125
130
|
command = "corvee"
|
|
126
|
-
args = ["mcp", "serve"]
|
|
131
|
+
args = ["mcp", "serve", "--actor", "agent:codex"]
|
|
127
132
|
```
|
|
128
133
|
|
|
129
134
|
Confirm it loaded with `codex mcp list` or `/mcp` inside a Codex session.
|
|
@@ -155,7 +160,7 @@ but the entry itself is just the command and its arguments:
|
|
|
155
160
|
"mcpServers": {
|
|
156
161
|
"corvee": {
|
|
157
162
|
"command": "corvee",
|
|
158
|
-
"args": ["mcp", "serve"],
|
|
163
|
+
"args": ["mcp", "serve", "--actor", "agent:claude"],
|
|
159
164
|
"cwd": "/path/to/your/project"
|
|
160
165
|
}
|
|
161
166
|
}
|
|
@@ -170,16 +175,26 @@ instead:
|
|
|
170
175
|
"mcpServers": {
|
|
171
176
|
"corvee": {
|
|
172
177
|
"command": "corvee",
|
|
173
|
-
"args": [
|
|
178
|
+
"args": [
|
|
179
|
+
"mcp", "serve",
|
|
180
|
+
"--project-root", "/path/to/your/project",
|
|
181
|
+
"--actor", "agent:claude"
|
|
182
|
+
]
|
|
174
183
|
}
|
|
175
184
|
}
|
|
176
185
|
}
|
|
177
186
|
```
|
|
178
187
|
|
|
188
|
+
Set `--actor` to whatever is actually running your host. See
|
|
189
|
+
[Identify yourself](quickstart.md#identify-yourself) for the convention.
|
|
190
|
+
|
|
179
191
|
## What it exposes
|
|
180
192
|
|
|
181
|
-
|
|
182
|
-
|
|
193
|
+
Twenty-seven tools, each a fixed, individually named verb with its own
|
|
194
|
+
closed set of named parameters, never a generic mechanism that takes a
|
|
195
|
+
field name and a value as arguments (see [Specification
|
|
196
|
+
§10.4](spec.md#104-trust-and-error-handling) for why that still gives a
|
|
197
|
+
host's permission system something to reason about).
|
|
183
198
|
Every tool that writes something accepts an optional `session_id`
|
|
184
199
|
argument — a per-conversation token, distinct from the actor set at
|
|
185
200
|
startup (see [Specification §10.1](spec.md#101-process-model)) — falling
|
|
@@ -187,6 +202,11 @@ back to the server's own default (`--session-id`/`$CORVEE_SESSION_ID`, or
|
|
|
187
202
|
a generated id) when a call leaves it out. If you do pass your own,
|
|
188
203
|
keep it stable across your calls in one conversation.
|
|
189
204
|
|
|
205
|
+
Every task result carries `blocked_by`, the ids of the task's open `blocks`
|
|
206
|
+
predecessors. The CLI's `blocked*` table marker has no MCP equivalent, so a
|
|
207
|
+
task with a non-empty `blocked_by` and `state: "open"` is waiting on those
|
|
208
|
+
tasks. See [Specification §4.5](spec.md#45-state-transitions).
|
|
209
|
+
|
|
190
210
|
| Tool | Writes? | What it does |
|
|
191
211
|
|---|---|---|
|
|
192
212
|
| `task_show` | no | Read one task by id |
|
|
@@ -200,26 +220,32 @@ keep it stable across your calls in one conversation.
|
|
|
200
220
|
| `task_done` | yes | Move to `done` |
|
|
201
221
|
| `task_cancel` | yes | Move to `cancelled` |
|
|
202
222
|
| `task_review` | yes | Move to `review`, keeping the current claim |
|
|
223
|
+
| `task_reopen` | yes | Move a `cancelled`/`done` task back to `open` |
|
|
203
224
|
| `task_block` | yes | Move to `blocked` — requires a comment explaining why |
|
|
204
225
|
| `fact_show` | no | Read one fact by id |
|
|
205
226
|
| `fact_search` | no | Search facts (default 20 results) |
|
|
206
227
|
| `fact_add` | yes | Record a new fact |
|
|
207
228
|
| `fact_verify` | yes | Mark a fact checked-true, with proof |
|
|
208
|
-
|
|
209
|
-
`
|
|
210
|
-
`
|
|
211
|
-
|
|
212
|
-
`
|
|
229
|
+
| `fact_revise` | yes | Change a fact's claim text |
|
|
230
|
+
| `fact_retract` | yes | Withdraw a fact, excluded from the default `fact_search` results |
|
|
231
|
+
| `fact_unverify` | yes | Move a verified fact back to unverified, clearing its proof |
|
|
232
|
+
| `task_update` | yes | Mutate one or more tasks (title, description, type, priority, state, `force`, `cascade`) |
|
|
233
|
+
| `task_label` | yes | Attach a label to one or more tasks |
|
|
234
|
+
| `task_unlabel` | yes | Remove a label from one or more tasks |
|
|
235
|
+
| `task_link` | yes | Relate two tasks, including parent/child hierarchy |
|
|
236
|
+
| `task_unlink` | yes | Remove a link between two tasks |
|
|
237
|
+
| `task_assign` | yes | Route one or more tasks to a specific actor |
|
|
238
|
+
| `task_unassign` | yes | Clear the assignment on one or more tasks |
|
|
239
|
+
|
|
240
|
+
`force` lives on `task_claim`, `task_unclaim`, and `task_update`, never
|
|
241
|
+
on `task_start`/`task_done`/`task_cancel`/`task_review`/`task_reopen`/
|
|
242
|
+
`task_block`, whose names should never quietly let a caller steal
|
|
243
|
+
someone else's claim. Call `task_claim(force=true)` first if you need
|
|
244
|
+
to take one over before using one of those.
|
|
213
245
|
|
|
214
246
|
No `purge`, `delete`, `import`, or `export` on this surface — those stay
|
|
215
|
-
CLI-only.
|
|
216
|
-
|
|
217
|
-
task or fact is filed, this surface can only work it forward (claim,
|
|
218
|
-
comment, transition it, verify a fact) or leave it as-is, never correct
|
|
219
|
-
a mistake in its title, description, claim, or labels/links. Reach for
|
|
220
|
-
the CLI (or a human) for that. See
|
|
221
|
-
[Specification §10.3](spec.md#103-tool-list) for full argument shapes
|
|
222
|
-
and the reasoning behind each tool.
|
|
247
|
+
CLI-only. See [Specification §10.3](spec.md#103-tool-list) for full
|
|
248
|
+
argument shapes and the reasoning behind each tool.
|
|
223
249
|
|
|
224
250
|
## Responses
|
|
225
251
|
|
|
@@ -240,7 +266,8 @@ instance:
|
|
|
240
266
|
"assigned_to": null,
|
|
241
267
|
"created_at": "2026-01-01T00:00:00.000Z",
|
|
242
268
|
"updated_at": "2026-01-01T00:00:00.000Z",
|
|
243
|
-
"scope": "local"
|
|
269
|
+
"scope": "local",
|
|
270
|
+
"blocked_by": []
|
|
244
271
|
}
|
|
245
272
|
```
|
|
246
273
|
|
|
@@ -257,6 +284,18 @@ matches `limit` cut off (`0` when nothing was cut off):
|
|
|
257
284
|
}
|
|
258
285
|
```
|
|
259
286
|
|
|
287
|
+
`task_update` returns the same `{"result": [...]}` shape, minus
|
|
288
|
+
`omitted`. Every entry is a task the call actually mutated, including
|
|
289
|
+
any `cascade`-cancelled descendants, not a capped search result.
|
|
290
|
+
|
|
291
|
+
```json
|
|
292
|
+
{
|
|
293
|
+
"result": [
|
|
294
|
+
{"id": "TASK-14", "title": "Fix the flaky auth test", "...": "..."}
|
|
295
|
+
]
|
|
296
|
+
}
|
|
297
|
+
```
|
|
298
|
+
|
|
260
299
|
## Errors
|
|
261
300
|
|
|
262
301
|
A failed call comes back as an `isError` tool result carrying the same
|
|
@@ -275,10 +314,25 @@ status normally covers:
|
|
|
275
314
|
|
|
276
315
|
`exit_code` maps to the same [exit codes](commands.md#exit-codes) the CLI
|
|
277
316
|
documents. No raw traceback is ever passed through — an unexpected error
|
|
278
|
-
still comes back in this shape, with
|
|
317
|
+
raised inside a tool's own handler still comes back in this shape, with
|
|
318
|
+
`exit_code: 1`. A value of a JSON type a parameter's schema rejects
|
|
319
|
+
outright (a list or object where a task ref or duration is expected)
|
|
320
|
+
never reaches the handler at all; that argument-validation failure
|
|
321
|
+
surfaces as the MCP SDK's own error shape instead.
|
|
322
|
+
|
|
323
|
+
An argument a tool does not declare, such as a typo (`forc`) or a
|
|
324
|
+
hyphenated `session-id`, never runs the tool. It returns a usage error
|
|
325
|
+
(`unknown_argument`, `exit_code: 2`) naming the unknown keys and the
|
|
326
|
+
tool's valid argument names. `force` on `task_start`, `task_done`,
|
|
327
|
+
`task_cancel`, `task_review`, `task_reopen`, and `task_block` is the one
|
|
328
|
+
exception: it is accepted and ignored.
|
|
279
329
|
|
|
280
330
|
A `claim_conflict` carries one more field, `hint`, phrased for this
|
|
281
|
-
surface rather than the CLI's own `--force` flag
|
|
331
|
+
surface rather than the CLI's own `--force` flag. Every tool but
|
|
332
|
+
`task_unclaim` points at `task_claim(force=true)`, which takes over the
|
|
333
|
+
claim so the call can proceed. `task_unclaim` points at
|
|
334
|
+
`task_unclaim(force=true)`, since stealing a claim would reassign it
|
|
335
|
+
instead of releasing it:
|
|
282
336
|
|
|
283
337
|
```json
|
|
284
338
|
{
|