bantamkit 0.36.0__tar.gz → 0.36.1__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.
- {bantamkit-0.36.0 → bantamkit-0.36.1}/PKG-INFO +3 -3
- {bantamkit-0.36.0 → bantamkit-0.36.1}/README.md +2 -2
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/bantamkit_status.json +1 -1
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/build_identity.json +1 -1
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/memory_compact.json +1 -1
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/memory_dream.json +13 -4
- bantamkit-0.36.1/_assets/tools/memory_recall.json +43 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/memory_save.json +3 -2
- bantamkit-0.36.1/_assets/tools/shiftwork_clock_in.json +97 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/shiftwork_clock_out.json +40 -6
- bantamkit-0.36.1/_assets/tools/shiftwork_plan.json +77 -0
- bantamkit-0.36.1/_assets/tools/shiftwork_status.json +71 -0
- bantamkit-0.36.1/_assets/tools/validate_json.json +60 -0
- bantamkit-0.36.1/_assets/tools/work_plan.json +96 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/__init__.py +1 -1
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/served-tool-surface.json +266 -35
- bantamkit-0.36.0/_assets/tools/memory_recall.json +0 -43
- bantamkit-0.36.0/_assets/tools/shiftwork_clock_in.json +0 -45
- bantamkit-0.36.0/_assets/tools/shiftwork_plan.json +0 -31
- bantamkit-0.36.0/_assets/tools/shiftwork_status.json +0 -31
- bantamkit-0.36.0/_assets/tools/validate_json.json +0 -37
- bantamkit-0.36.0/_assets/tools/work_plan.json +0 -61
- {bantamkit-0.36.0 → bantamkit-0.36.1}/.gitignore +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/contracts/default.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/manifest.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/HISTORY.md +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/README.md +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/docs/architecture.md +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/docs/runbook.md +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/issues/142-settlement-timeout.md +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/patches/0009-retry-budget.patch +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/__init__.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/config.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/errors.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/posting.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/registry.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/report.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/retry.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/settle.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/src/ledger/validate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/tests/test_posting.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/repo/tests/test_settle.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-error-contract.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-handler-map.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-patch-before-after.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-retry-attempts.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-settlement-config.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-symbol-home.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-trace-blame.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/devteam/tasks/dt-unread-key.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-large-in-137.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-large-in-359.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-large-in-372.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-large-out-11764.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-large-out-4137.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-large-out-8022.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-small-137.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-small-261.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/document/tasks/doc-small-388.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/fixtures/.gitkeep +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/fixtures/catalog.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/perturbations/task-completion.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/.gitkeep +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/extract-contact.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/extract-invoice.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/extract-order.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/extract-schedule.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/extract-versions.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/nav-prod-port.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/nav-release-bundle.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-audit-retention.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-cache-ttl.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-db-port.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-deploy.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-env-endpoint.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-oncall-rotation.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-oncall.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-org-quota.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/recall-owner.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/shop-basket-total.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/shop-cheapest.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/shop-compare.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/shop-gadget-value.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/shop-stock-total.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/evals/tasks/shop-total.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/pricing/default.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/profiles/default.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/profiles/patient.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/rubrics/.gitkeep +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/rubrics/code-quality.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/rubrics/grounded-completion.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/rubrics/task-completion.yaml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/schemas/shiftwork-checkpoint.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/skills/.gitkeep +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/skills/file-graph.md +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/skills/memory.md +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/.gitkeep +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/bantamkit_read.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/document_list.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/document_read.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/file_graph.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/repo_map.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/skill_audit.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/_assets/tools/token_ledger.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/hatch_build.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/pyproject.toml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/agent.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/assets.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/budget.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/client.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/contract.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/criticreplay.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/critique.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/docmanifest.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/docread.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/evalrun.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/eventlog.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/filegraph.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/hookadapter.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/hostinstall.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/loopguard.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/mcpreport.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/mcpserver.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/mcpstdio.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/memory/__init__.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/memory/__main__.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/memory/component.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/memory/divergence.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/memory/dream.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/memory/layers.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/memory/store.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/pdfread.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/pricing.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/profile.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/repomap.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/selfupdate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/shiftwork.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/skillaudit.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/statusline.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/structured.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/textutil.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/tokenledger.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/updatecheck.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/src/bantamkit/workplan.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/cli_exit_status_probe.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/conftest.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/bad-crc.docx +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/charref-4301-digits.html +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/charset-table.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/compression-method-9.docx +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/corrupt-deflate.docx +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/encrypted-member.docx +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/encrypted-mimetype.odt +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/eszett-cell-ref.xlsx +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/internal-dtd-entity.docx +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/rfc2231-charset.eml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/rfc822-nested-twice.eml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/unicode-digit-shared-string.xlsx +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/docread/x-uuencode.eml +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/f8404ab-perturbation-baseline.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/data/platform-assumption-baseline.json +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/docread_fixtures.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/perturbation_baseline_harness.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/rbp16_effect_probe.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/rbp18_payload_probe.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_adapter.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_agent.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_amendguard.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_assets.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_bantamkit_gitignore.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_bantamkit_read_tool.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_budget.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_build_identity.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_cli_oneshot.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_client.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_compaction_corpus_survey.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_conformance.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_conformance_harness_resilience.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_conformance_suite_table_gate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_contract_fanout.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_contract_patterns.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_contract_refs.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_criticreplay.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_critique.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_doc_commands_gate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_docread.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_docread_ceilings.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_document_manifest_parity.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_document_setup.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_document_tasks.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_document_tools.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_encoding_gate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_evalrun.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_eventlog.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_field_program_gates.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_field_programs.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_filegraph.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_hookadapter.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_hostinstall.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_hostinstall_hooks.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_install_shape.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_ladder_statistics.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_launcher_which.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_layers.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_loopguard.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_mcp_endpoint.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_mcp_request_guard.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_mcpdrift.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_mcpreport.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_mcpserver.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_mcpstdio_frames.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory_compact_tool.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory_component.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory_divergence.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory_dream.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory_layers.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory_store_tripwire.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_memory_strings.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_mutmatrix.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_nativeexport.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_newline_gate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_packaging.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_pdfread.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_pinharness_ledger.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_platform_assumption_gate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_pricing.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_readme_separation.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_repo_map_tool.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_repomap.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_selfupdate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_served_tool_count_records.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_shiftwork.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_skillaudit.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_status_surface.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_statusline.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_structured.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_thread_exception_gate.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_tokenledger.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_tool_annotations.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_tool_manifest.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_unknown_arguments.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_updatecheck.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_version_agreement.py +0 -0
- {bantamkit-0.36.0 → bantamkit-0.36.1}/tests/test_workplan.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: bantamkit
|
|
3
|
-
Version: 0.36.
|
|
3
|
+
Version: 0.36.1
|
|
4
4
|
Summary: Persistent memory for coding agents: an MCP server for Claude Code, Claude Desktop, Cursor and VS Code Copilot, plus a Python library that lifts small-model agents. Install once, run offline.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Ink01101011/bantamkit
|
|
6
6
|
Project-URL: Repository, https://github.com/Ink01101011/bantamkit
|
|
@@ -144,9 +144,9 @@ CPU architecture and Python minor version** (some wheels, such as `pydantic_core
|
|
|
144
144
|
one platform only), copy `wheels/` across, and install from it:
|
|
145
145
|
|
|
146
146
|
```bash
|
|
147
|
-
python -m pip download "bantamkit[mcp]==0.36.
|
|
147
|
+
python -m pip download "bantamkit[mcp]==0.36.1" -d wheels
|
|
148
148
|
python -m venv <env>
|
|
149
|
-
<env>/bin/pip install --no-index --find-links wheels "bantamkit[mcp]==0.36.
|
|
149
|
+
<env>/bin/pip install --no-index --find-links wheels "bantamkit[mcp]==0.36.1"
|
|
150
150
|
<env>/bin/bantamkit-mcp --install cursor
|
|
151
151
|
```
|
|
152
152
|
|
|
@@ -113,9 +113,9 @@ CPU architecture and Python minor version** (some wheels, such as `pydantic_core
|
|
|
113
113
|
one platform only), copy `wheels/` across, and install from it:
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
|
-
python -m pip download "bantamkit[mcp]==0.36.
|
|
116
|
+
python -m pip download "bantamkit[mcp]==0.36.1" -d wheels
|
|
117
117
|
python -m venv <env>
|
|
118
|
-
<env>/bin/pip install --no-index --find-links wheels "bantamkit[mcp]==0.36.
|
|
118
|
+
<env>/bin/pip install --no-index --find-links wheels "bantamkit[mcp]==0.36.1"
|
|
119
119
|
<env>/bin/bantamkit-mcp --install cursor
|
|
120
120
|
```
|
|
121
121
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bantamkit_status",
|
|
3
3
|
"title": "bantamkit status",
|
|
4
|
-
"description": "Is bantamkit working, and which bantamkit? Returns a short report a person can read in the transcript: `bantamkit Active 🟢` or `bantamkit Degraded 🟠` on the first line, then the version and `build_id` of the code answering, the surfaces it serves, the memory store it is bound to with its index size against its budget, whether the event log is on, and — when degraded — every condition in full with what to do about it. Call it when the user asks whether the server is alive or working, when a bantamkit tool answered oddly and you need to know whether the server is the reason, or when a reply arrived carrying a `bantamkit degraded` footer and you want the rest of it. Every fact is observed at call time from the server's own state; nothing is a heartbeat or a cached verdict. Takes no arguments, writes nothing, and never echoes another call's arguments.",
|
|
4
|
+
"description": "Is bantamkit working, and which bantamkit? Returns a short report a person can read in the transcript: `bantamkit Active 🟢` or `bantamkit Degraded 🟠` on the first line, then the version and `build_id` of the code answering, the surfaces it serves, the memory store it is bound to with its index size against its budget, whether the event log is on, and — when degraded — every condition in full with what to do about it. Call it when the user asks whether the server is alive or working, when a bantamkit tool answered oddly and you need to know whether the server is the reason, or when a reply arrived carrying a `bantamkit degraded` footer and you want the rest of it. Every fact is observed at call time from the server's own state; nothing is a heartbeat or a cached verdict. Takes no arguments, writes nothing, and never echoes another call's arguments. build_identity answers only the `build_id` fingerprint, as JSON, when all you need is to compare two installs; shiftwork_status reports a job, not the server.",
|
|
5
5
|
"surfaces": [
|
|
6
6
|
"mcp"
|
|
7
7
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "build_identity",
|
|
3
3
|
"title": "Build identity",
|
|
4
|
-
"description": "Which bantamkit build is answering you, readable mid-call. Returns `build_id` — a content fingerprint of the running source and the asset pack it loads — plus the paths it was computed over. Call it when one MCP server name may resolve to more than one install: two endpoints reporting the same `version` are the SAME build only if their `build_id` matches, because a version string moves on release bumps and not on builds. Any fact that cannot be derived comes back as {\"unavailable\": \"<reason>\"} and is named in the `unavailable` list — never omitted, never a placeholder that reads as a value. Takes no arguments and reads no state.",
|
|
4
|
+
"description": "Which bantamkit build is answering you, readable mid-call. Returns `build_id` — a content fingerprint of the running source and the asset pack it loads — plus the paths it was computed over. Call it when one MCP server name may resolve to more than one install: two endpoints reporting the same `version` are the SAME build only if their `build_id` matches, because a version string moves on release bumps and not on builds. Any fact that cannot be derived comes back as {\"unavailable\": \"<reason>\"} and is named in the `unavailable` list — never omitted, never a placeholder that reads as a value. Takes no arguments and reads no state. Use bantamkit_status when the question is whether the server is healthy or which store it is bound to — that report includes this fingerprint; call this tool when you need only the fingerprint, as JSON, to compare two endpoints.",
|
|
5
5
|
"surfaces": [
|
|
6
6
|
"mcp"
|
|
7
7
|
],
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memory_compact",
|
|
3
3
|
"title": "Compact the memory store",
|
|
4
|
-
"description": "Free room in persistent memory when `memory_save` was refused for budget. Archives the stalest facts of the writable project store until a fact as large as the biggest one kept will fit, and returns what moved — every archived name with its type and description. Nothing is deleted: archived facts leave the index but stay on disk
|
|
4
|
+
"description": "Free room in persistent memory when `memory_save` was refused for budget. Archives the stalest facts of the writable project store until a fact as large as the biggest one kept will fit, and returns what moved — every archived name with its type and description. Nothing is deleted: archived facts leave the index but stay on disk under archive/, and bringing one back is an operator action rather than a tool — `bantamkit-memory restore <name>` (Node) or `python -m bantamkit.memory restore <name>` (Python) on the store; no tool deletes a fact. Read-only grants and the profile layer are never touched. Call it after a budget refusal, then retry the save; calling it under budget archives nothing and says so. It is not the pass for two copies of one name across layers — that is memory_dream.",
|
|
5
5
|
"surfaces": [
|
|
6
6
|
"agent",
|
|
7
7
|
"mcp"
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memory_dream",
|
|
3
3
|
"title": "Dream: consolidate the memory store",
|
|
4
|
-
"description": "Consolidate the memories the project layer and the machine-wide profile layer hold under the SAME NAME, and say exactly what changed. Byte-identical copies collapse to one; a pair that has diverged is UNIONED — every claim from both copies survives, never a winner-takes-all — and a relative date in a body is annotated with the day it resolves to against that fact's own mtime, never against today. The survivor stays in the writable project layer and the profile copy MOVES to that store's archive/: nothing is deleted and
|
|
5
|
-
"surfaces": [
|
|
4
|
+
"description": "Consolidate the memories the project layer and the machine-wide profile layer hold under the SAME NAME, and say exactly what changed. Byte-identical copies collapse to one; a pair that has diverged is UNIONED — every claim from both copies survives, never a winner-takes-all — and a relative date in a body is annotated with the day it resolves to against that fact's own mtime, never against today. The survivor stays in the writable project layer and the profile copy MOVES to that store's archive/: nothing is deleted, and bringing a consumed copy back is an operator action, not a tool — `bantamkit-memory restore <name>` or `python -m bantamkit.memory restore <name>` on the profile store. This is a correctness pass, not a token saving: the profile index is derived at read time and is not loaded from a prompt, so consolidating it frees approximately no bytes — what it buys is one copy of a ruling instead of two that can disagree. It defaults to a DRY RUN because the profile store is machine-wide: a memory archived out of it stops answering for every other project on this machine that has no store of its own. Read the plan first, then call it again with dry_run false to apply it. For room in the index call memory_compact instead; for the facts themselves, memory_recall.",
|
|
5
|
+
"surfaces": [
|
|
6
|
+
"mcp"
|
|
7
|
+
],
|
|
6
8
|
"parameters": {
|
|
7
9
|
"type": "object",
|
|
8
10
|
"properties": {
|
|
@@ -14,8 +16,15 @@
|
|
|
14
16
|
"additionalProperties": false
|
|
15
17
|
},
|
|
16
18
|
"output_schema": {
|
|
17
|
-
"properties": {
|
|
18
|
-
|
|
19
|
+
"properties": {
|
|
20
|
+
"result": {
|
|
21
|
+
"title": "Result",
|
|
22
|
+
"type": "string"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"result"
|
|
27
|
+
],
|
|
19
28
|
"type": "object",
|
|
20
29
|
"title": "memory_dreamOutput"
|
|
21
30
|
},
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "memory_recall",
|
|
3
|
+
"title": "Recall memories",
|
|
4
|
+
"description": "Search persistent memory for facts a past session saved. Call it BEFORE starting a task that resembles past work, and when the user refers to something decided earlier; use memory_save to add a fact, and memory_compact or memory_dream only to tidy the store — this tool never changes what a fact says. Reads every layer in order — the project store, any read-only grants in .bantamkit/config.yaml, then the machine-wide profile — and returns the top word matches, never fewer than the store default of 3 when that many match; a query that is exactly a fact's name returns that fact alone. Why it is not read-only: every hit is appended to the usage ledger (~/.bantamkit/usage/<store-id>.jsonl) as a recall event — the staleness order memory_compact archives by — and a project fact file still in the 0.35.x format is rewritten once into the current one; both are best-effort and never fail a recall. A fact file that cannot be read is named in the reply, never silently skipped.",
|
|
5
|
+
"surfaces": [
|
|
6
|
+
"agent",
|
|
7
|
+
"mcp"
|
|
8
|
+
],
|
|
9
|
+
"parameters": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": [
|
|
12
|
+
"query"
|
|
13
|
+
],
|
|
14
|
+
"properties": {
|
|
15
|
+
"query": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"description": "Words a past-you would have used to describe the fact"
|
|
18
|
+
},
|
|
19
|
+
"k": {
|
|
20
|
+
"type": "integer",
|
|
21
|
+
"description": "Facts wanted, clamped to 1..5. Raised to the store default of 3 when smaller; never lowered below it."
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
},
|
|
26
|
+
"output_schema": {
|
|
27
|
+
"properties": {
|
|
28
|
+
"result": {
|
|
29
|
+
"title": "Result",
|
|
30
|
+
"type": "string"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"required": [
|
|
34
|
+
"result"
|
|
35
|
+
],
|
|
36
|
+
"type": "object",
|
|
37
|
+
"title": "memory_recallOutput"
|
|
38
|
+
},
|
|
39
|
+
"annotations": {
|
|
40
|
+
"readOnlyHint": false,
|
|
41
|
+
"openWorldHint": false
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "memory_save",
|
|
3
3
|
"title": "Save a memory",
|
|
4
|
-
"description": "Save ONE durable fact to persistent memory. Use only for facts
|
|
4
|
+
"description": "Save ONE durable fact to persistent memory — a preference the user stated, a decision, the fix that worked — so a future session can recall it. Use it only for facts a future session needs; never for anything derivable from the repo, git history or docs, nor for one-off state of this conversation. To find a fact use memory_recall; to change one, save again under its EXACT name, which replaces it in place; to free room call memory_compact. Refused with nothing written, each with its own sentence: a description too close to an existing fact's (the reply names that fact — save under that SAME name or skip, never rename to force a copy), a spelling that normalises onto an existing name (`Deploy Command` onto `deploy-command`), and a save that would push the always-loaded index over its byte budget (the reply names the remedy). Every save lands in the writable project store (.bantamkit/memory), never in the profile or a read-only grant, and is appended to the usage ledger.",
|
|
5
5
|
"surfaces": [
|
|
6
6
|
"agent",
|
|
7
7
|
"mcp"
|
|
@@ -22,7 +22,8 @@
|
|
|
22
22
|
"feedback",
|
|
23
23
|
"project",
|
|
24
24
|
"reference"
|
|
25
|
-
]
|
|
25
|
+
],
|
|
26
|
+
"description": "What kind of fact: `user` (who the user is, their role and preferences), `feedback` (a correction or confirmed way of working, with the why), `project` (ongoing work, a decision, a constraint), `reference` (a URL, ticket or dashboard pointer)."
|
|
26
27
|
},
|
|
27
28
|
"name": {
|
|
28
29
|
"type": "string",
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shiftwork_clock_in",
|
|
3
|
+
"title": "Shift work: clock in",
|
|
4
|
+
"description": "Shift-work clock-in: validate the checkpoint against the checkpoint schema and return the brief of ONE unit — {unit, role, invariants, handoff, do_not, files} — to hand to the agent you spawn, verbatim. Call it once per unit, right before spawning; use shiftwork_plan first to see the `ready` batch when several units are to run at once, and shiftwork_clock_out, not this tool, when a unit finishes. The unit briefed is plan.cursor, or `unit_id` when given; either way it must be in shiftwork_plan's `ready` — a done or dropped cursor, a cursor whose dependencies have not run, or a `unit_id` naming no unit answers {\"result\": \"error\", \"reason\": \"unit <id> is not ready; ready is <a, b>\"}, and the batch view's own refusals (cycle, unknown dependency, unreadable checkpoint) pass through verbatim. The other outcomes, never exceptions: `escalate` when handoff.open_questions is non-empty (stop and ask the user) or when the cursor names no unit, `success` when every unit is done or dropped, `error` when the checkpoint fails validation. It never moves plan.cursor; clock_out does. What it WRITES: on result=brief, and only then, one line {event: brief, ts, unit, role} appended to <checkpoint>.log.jsonl — best-effort, so a log it cannot write costs the brief nothing. That line is what later lets clock_out accept the unit while the cursor is elsewhere and sets `briefed` on its accounting line. The checkpoint file itself is never modified. See docs/shiftwork.md.",
|
|
5
|
+
"surfaces": [
|
|
6
|
+
"mcp"
|
|
7
|
+
],
|
|
8
|
+
"parameters": {
|
|
9
|
+
"properties": {
|
|
10
|
+
"checkpoint": {
|
|
11
|
+
"title": "Checkpoint",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Path to the shift-work checkpoint JSON file (by convention .shiftwork/checkpoint.json in the repo the job works on), absolute or relative to the server's working directory. The same file shiftwork_plan, shiftwork_clock_in and shiftwork_clock_out take; it must validate against assets/schemas/shiftwork-checkpoint.json."
|
|
14
|
+
},
|
|
15
|
+
"unit_id": {
|
|
16
|
+
"anyOf": [
|
|
17
|
+
{
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"type": "null"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"default": null,
|
|
25
|
+
"title": "Unit Id",
|
|
26
|
+
"description": "The unit to brief instead of plan.cursor; it must be in shiftwork_plan's `ready` for this checkpoint. Omit it, or pass null, to brief the cursor unit."
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"required": [
|
|
30
|
+
"checkpoint"
|
|
31
|
+
],
|
|
32
|
+
"type": "object",
|
|
33
|
+
"title": "shiftwork_clock_inArguments",
|
|
34
|
+
"additionalProperties": false
|
|
35
|
+
},
|
|
36
|
+
"output_schema": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"result": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"description": "`brief` (the unit is yours to spawn), `escalate` (stop and ask: see `reason` and `open_questions`), `success` (every unit done or dropped), or `error` with `reason`."
|
|
42
|
+
},
|
|
43
|
+
"unit": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"description": "The plan.units entry briefed: id, role, status, depends_on and its own fields."
|
|
46
|
+
},
|
|
47
|
+
"role": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "The unit's role, the key job.roles may bind models to."
|
|
50
|
+
},
|
|
51
|
+
"invariants": {
|
|
52
|
+
"type": "array",
|
|
53
|
+
"items": {
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"description": "job.constraints: what every unit must keep true."
|
|
57
|
+
},
|
|
58
|
+
"handoff": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"description": "The checkpoint's handoff block: next_action, open_questions, do_not, notes."
|
|
61
|
+
},
|
|
62
|
+
"do_not": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"items": {
|
|
65
|
+
"type": "string"
|
|
66
|
+
},
|
|
67
|
+
"description": "handoff.do_not: near-mistakes past sessions made."
|
|
68
|
+
},
|
|
69
|
+
"files": {
|
|
70
|
+
"type": "array",
|
|
71
|
+
"description": "state.artifacts: the files the job has produced so far."
|
|
72
|
+
},
|
|
73
|
+
"open_questions": {
|
|
74
|
+
"type": "array",
|
|
75
|
+
"items": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"description": "With result `escalate`: the questions the orchestrator must put to the user before any unit runs."
|
|
79
|
+
},
|
|
80
|
+
"reason": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "With result `escalate`, `success` or `error`: one sentence saying why."
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"required": [
|
|
86
|
+
"result"
|
|
87
|
+
],
|
|
88
|
+
"additionalProperties": true,
|
|
89
|
+
"title": "shiftwork_clock_inDictOutput"
|
|
90
|
+
},
|
|
91
|
+
"annotations": {
|
|
92
|
+
"readOnlyHint": false,
|
|
93
|
+
"destructiveHint": false,
|
|
94
|
+
"idempotentHint": false,
|
|
95
|
+
"openWorldHint": false
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "shiftwork_clock_out",
|
|
3
3
|
"title": "Shift work: clock out",
|
|
4
|
-
"description": "Shift-work clock-out: record a finished
|
|
4
|
+
"description": "Shift-work clock-out: record that a unit finished — set its status, advance plan.cursor, merge `handoff_patch` into handoff, push `history_entry` onto the 5-entry history ring, and append one accounting line to <checkpoint>.log.jsonl. Call it once per unit after its agent returns: shiftwork_clock_in briefs, this tool closes, and shiftwork_status reads what both wrote. The whole mutated document is validated against the checkpoint schema BEFORE one atomic write, so a failure writes nothing and answers {\"result\": \"error\", \"reason\": ...}; nothing is ever deleted from the checkpoint. `unit_id` must be plan.cursor — which needs no brief and clocks out with briefed=false — or a unit clock_in briefed since its own last clock-out; any other id is refused with `unit X is not the cursor unit Y`. `handoff_patch` and `history_entry` are both required arguments: pass `{}` to leave handoff unchanged, and give history_entry at least `unit` and `outcome`. plan.cursor then moves to the head of the ready batch recomputed on the new document — plan.units order over the remaining non-terminal units when the graph cannot batch, `unit_id` when none remain. The accounting line carries unit, role, status, ts and `briefed` (written by the runtime, never taken from you: true only when a brief was issued since this unit's LAST clock-out) plus your `accounting` fields when given. When job.roles names this unit's role, `accounting.model` must be on that role's list, spelled exactly, or nothing is written — see the `model` property.",
|
|
5
5
|
"surfaces": [
|
|
6
6
|
"mcp"
|
|
7
7
|
],
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"properties": {
|
|
10
10
|
"checkpoint": {
|
|
11
11
|
"title": "Checkpoint",
|
|
12
|
-
"type": "string"
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Path to the shift-work checkpoint JSON file (by convention .shiftwork/checkpoint.json in the repo the job works on), absolute or relative to the server's working directory. The same file shiftwork_plan, shiftwork_clock_in and shiftwork_clock_out take; it must validate against assets/schemas/shiftwork-checkpoint.json."
|
|
13
14
|
},
|
|
14
15
|
"unit_id": {
|
|
15
16
|
"title": "Unit Id",
|
|
@@ -73,14 +74,17 @@
|
|
|
73
74
|
"properties": {
|
|
74
75
|
"unit": {
|
|
75
76
|
"type": "string",
|
|
76
|
-
"minLength": 1
|
|
77
|
+
"minLength": 1,
|
|
78
|
+
"description": "The unit this entry is about — normally the `unit_id` being clocked out."
|
|
77
79
|
},
|
|
78
80
|
"outcome": {
|
|
79
81
|
"type": "string",
|
|
80
|
-
"minLength": 1
|
|
82
|
+
"minLength": 1,
|
|
83
|
+
"description": "What happened, in a few words: done, blocked on X, dropped because Y."
|
|
81
84
|
},
|
|
82
85
|
"notes": {
|
|
83
|
-
"type": "string"
|
|
86
|
+
"type": "string",
|
|
87
|
+
"description": "Optional free text for the next session reading the ring."
|
|
84
88
|
}
|
|
85
89
|
}
|
|
86
90
|
},
|
|
@@ -130,7 +134,8 @@
|
|
|
130
134
|
}
|
|
131
135
|
],
|
|
132
136
|
"default": null,
|
|
133
|
-
"title": "Accounting"
|
|
137
|
+
"title": "Accounting",
|
|
138
|
+
"description": "Per-unit cost line, or null (the default) to log a line with no cost figures at all. A non-null line must carry `tokens` and `duration_ms`; `model` is required when job.roles names this unit's role. The object shape is described below."
|
|
134
139
|
}
|
|
135
140
|
},
|
|
136
141
|
"required": [
|
|
@@ -146,6 +151,35 @@
|
|
|
146
151
|
},
|
|
147
152
|
"output_schema": {
|
|
148
153
|
"type": "object",
|
|
154
|
+
"properties": {
|
|
155
|
+
"result": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"description": "`ok` when the checkpoint was rewritten; `error` with `reason` when the call was refused and nothing was written."
|
|
158
|
+
},
|
|
159
|
+
"unit": {
|
|
160
|
+
"type": "string",
|
|
161
|
+
"description": "The unit clocked out."
|
|
162
|
+
},
|
|
163
|
+
"status": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"description": "The status it now holds."
|
|
166
|
+
},
|
|
167
|
+
"cursor": {
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "plan.cursor after the move."
|
|
170
|
+
},
|
|
171
|
+
"log": {
|
|
172
|
+
"type": "string",
|
|
173
|
+
"description": "Path of the <checkpoint>.log.jsonl the accounting line was appended to."
|
|
174
|
+
},
|
|
175
|
+
"reason": {
|
|
176
|
+
"type": "string",
|
|
177
|
+
"description": "With result `error`: one sentence saying why the call was refused."
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
"required": [
|
|
181
|
+
"result"
|
|
182
|
+
],
|
|
149
183
|
"additionalProperties": true,
|
|
150
184
|
"title": "shiftwork_clock_outDictOutput"
|
|
151
185
|
},
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shiftwork_plan",
|
|
3
|
+
"title": "Shift work: plan",
|
|
4
|
+
"description": "Shift-work plan: which units of a checkpoint may run NOW, and in what waves — the batches its `depends_on` graph permits, computed read-only from the file. Call it before dispatching a wave: `ready` (the first batch) is what shiftwork_clock_in will brief, and `width` is how many agents the widest wave needs. A `ready` member beyond the cursor is clockable only once clock-in has briefed it; without that brief, clock-out refuses it. Use shiftwork_status instead when you only want progress counts, and work_plan when the graph is yours to hand over as `nodes` rather than a checkpoint on disk — this tool reads the checkpoint's own plan.units. Units already `done` or `dropped` count as satisfied and are left out of every batch; `todo`, `in_progress` and `blocked` stay in. Order inside a batch is plan.units order, because the checkpoint schema has no priority field. It never moves plan.cursor — the cursor is echoed unchanged so the pointer and the batch view can be read side by side — and never writes anything. Refusals are structured, never exceptions: work_plan's sentences for a duplicate id, an unknown dependency or a cycle, and shiftwork_status's for a checkpoint it cannot read; a plan whose units are all terminal answers an empty `ready`, which is an answer, not a refusal. It reports logical order only: `depends_on` says nothing about two units writing the same file, so the orchestrator still decides what actually runs together.",
|
|
5
|
+
"surfaces": [
|
|
6
|
+
"mcp"
|
|
7
|
+
],
|
|
8
|
+
"parameters": {
|
|
9
|
+
"properties": {
|
|
10
|
+
"checkpoint": {
|
|
11
|
+
"title": "Checkpoint",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Path to the shift-work checkpoint JSON file (by convention .shiftwork/checkpoint.json in the repo the job works on), absolute or relative to the server's working directory. The same file shiftwork_plan, shiftwork_clock_in and shiftwork_clock_out take; it must validate against assets/schemas/shiftwork-checkpoint.json."
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"checkpoint"
|
|
18
|
+
],
|
|
19
|
+
"type": "object",
|
|
20
|
+
"title": "shiftwork_planArguments",
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
},
|
|
23
|
+
"output_schema": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"result": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "`plan` on success; `error` with `reason` when the checkpoint cannot be read or its graph cannot batch."
|
|
29
|
+
},
|
|
30
|
+
"batches": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "array",
|
|
34
|
+
"items": {
|
|
35
|
+
"type": "string"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"description": "Unit ids by wave: batch k holds every non-terminal unit whose dependencies all sit in batches below k."
|
|
39
|
+
},
|
|
40
|
+
"ready": {
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"description": "batches[0] — the units clock_in may brief now; [] when every unit is done or dropped."
|
|
46
|
+
},
|
|
47
|
+
"sequence": {
|
|
48
|
+
"type": "array",
|
|
49
|
+
"items": {
|
|
50
|
+
"type": "string"
|
|
51
|
+
},
|
|
52
|
+
"description": "The batches flattened in order."
|
|
53
|
+
},
|
|
54
|
+
"width": {
|
|
55
|
+
"type": "integer",
|
|
56
|
+
"description": "The largest batch length: the widest fan-out."
|
|
57
|
+
},
|
|
58
|
+
"cursor": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"description": "plan.cursor, echoed unchanged."
|
|
61
|
+
},
|
|
62
|
+
"reason": {
|
|
63
|
+
"type": "string",
|
|
64
|
+
"description": "With result `error`: one sentence saying why the call was refused."
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"result"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": true,
|
|
71
|
+
"title": "shiftwork_planDictOutput"
|
|
72
|
+
},
|
|
73
|
+
"annotations": {
|
|
74
|
+
"readOnlyHint": true,
|
|
75
|
+
"openWorldHint": false
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shiftwork_status",
|
|
3
|
+
"title": "Shift work: status",
|
|
4
|
+
"description": "Shift-work status: where ONE checkpoint file stands — units counted by status, the unit plan.cursor points at, how many handoff.open_questions are waiting, and the last history entry. Call it first when resuming a job or answering 'where is job X'; it is the cheap read before any clock-in. It does not say WHICH units may run now — that is shiftwork_plan, the dependency batches — and it says nothing about the server itself, which is bantamkit_status. Every fact is read from the checkpoint on this call, nothing is cached, and a checkpoint that is missing, not valid JSON or failing the checkpoint schema answers {\"result\": \"error\", \"reason\": \"<sentence>\"} instead of a partial summary — the same refusals shiftwork_plan and shiftwork_clock_in give for that file. Opens only the checkpoint; writes nothing, not even the log shiftwork_clock_in appends to.",
|
|
5
|
+
"surfaces": [
|
|
6
|
+
"mcp"
|
|
7
|
+
],
|
|
8
|
+
"parameters": {
|
|
9
|
+
"properties": {
|
|
10
|
+
"checkpoint": {
|
|
11
|
+
"title": "Checkpoint",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "Path to the shift-work checkpoint JSON file (by convention .shiftwork/checkpoint.json in the repo the job works on), absolute or relative to the server's working directory. The same file shiftwork_plan, shiftwork_clock_in and shiftwork_clock_out take; it must validate against assets/schemas/shiftwork-checkpoint.json."
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"required": [
|
|
17
|
+
"checkpoint"
|
|
18
|
+
],
|
|
19
|
+
"type": "object",
|
|
20
|
+
"title": "shiftwork_statusArguments",
|
|
21
|
+
"additionalProperties": false
|
|
22
|
+
},
|
|
23
|
+
"output_schema": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"properties": {
|
|
26
|
+
"result": {
|
|
27
|
+
"type": "string",
|
|
28
|
+
"description": "`status` on success; `error` when the checkpoint could not be read or failed the schema, with `reason`."
|
|
29
|
+
},
|
|
30
|
+
"cursor": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"description": "The unit id plan.cursor points at."
|
|
33
|
+
},
|
|
34
|
+
"units": {
|
|
35
|
+
"type": "object",
|
|
36
|
+
"additionalProperties": {
|
|
37
|
+
"type": "integer"
|
|
38
|
+
},
|
|
39
|
+
"description": "Unit count per status, keys among todo, in_progress, done, blocked, dropped; a status no unit holds is absent."
|
|
40
|
+
},
|
|
41
|
+
"open_questions": {
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"description": "How many handoff.open_questions are waiting; non-zero means the next clock-in escalates."
|
|
44
|
+
},
|
|
45
|
+
"last_history": {
|
|
46
|
+
"anyOf": [
|
|
47
|
+
{
|
|
48
|
+
"type": "object"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"type": "null"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"description": "The newest entry of the 5-entry history ring ({unit, outcome, notes?, ...}), or null when the ring is empty."
|
|
55
|
+
},
|
|
56
|
+
"reason": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"description": "With result `error`: one sentence saying why the call was refused."
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"required": [
|
|
62
|
+
"result"
|
|
63
|
+
],
|
|
64
|
+
"additionalProperties": true,
|
|
65
|
+
"title": "shiftwork_statusDictOutput"
|
|
66
|
+
},
|
|
67
|
+
"annotations": {
|
|
68
|
+
"readOnlyHint": true,
|
|
69
|
+
"openWorldHint": false
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "validate_json",
|
|
3
|
+
"title": "Validate JSON against a schema",
|
|
4
|
+
"description": "Validate candidate output text against a JSON Schema and say what is wrong. Answers {valid, feedback}: when invalid, hand `feedback` back to the model and retry — it says where the document fails and quotes the offending value, clipped to 200 characters; when valid, `feedback` is null. Use it on any JSON a model produced before acting on it; for a shift-work checkpoint call shiftwork_status or shiftwork_clock_in instead, which validate against the shipped checkpoint schema themselves. `output` may be a bare JSON value; otherwise the first fenced code block, else the first object or array in the text, is what gets validated. `$schema` selects draft-04, draft-06, draft-07, 2019-09 or 2020-12 (the default). `$ref` resolves only inside the one schema given (`#`, `#/...`, `#name`): a remote reference or an embedded `$id` is refused with its own sentence, never fetched. `pattern` is Python re syntax without inline flags, look-behind, backreferences, atomic, possessive or conditional groups or \\N{...}, and all of a document's patterns share 500 ms: past that the answer is one refusal sentence naming the pattern that ran out, not a partial validation. Reads nothing but its two arguments and writes nothing.",
|
|
5
|
+
"surfaces": [
|
|
6
|
+
"mcp"
|
|
7
|
+
],
|
|
8
|
+
"parameters": {
|
|
9
|
+
"properties": {
|
|
10
|
+
"output": {
|
|
11
|
+
"title": "Output",
|
|
12
|
+
"type": "string",
|
|
13
|
+
"description": "The text to validate, as the model returned it: a JSON value, or prose holding a fenced code block or a JSON object/array."
|
|
14
|
+
},
|
|
15
|
+
"schema": {
|
|
16
|
+
"additionalProperties": true,
|
|
17
|
+
"title": "Schema",
|
|
18
|
+
"type": "object",
|
|
19
|
+
"description": "The JSON Schema object (draft-04 through 2020-12) the output must satisfy; `$ref` may only point inside it."
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"output",
|
|
24
|
+
"schema"
|
|
25
|
+
],
|
|
26
|
+
"type": "object",
|
|
27
|
+
"title": "validate_jsonArguments",
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
},
|
|
30
|
+
"output_schema": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"valid": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"description": "True when the extracted JSON satisfies the schema."
|
|
36
|
+
},
|
|
37
|
+
"feedback": {
|
|
38
|
+
"anyOf": [
|
|
39
|
+
{
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"type": "null"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"description": "null when valid; otherwise where the document fails and the clipped offending value, to hand back to the model."
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": [
|
|
50
|
+
"valid",
|
|
51
|
+
"feedback"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": true,
|
|
54
|
+
"title": "validate_jsonDictOutput"
|
|
55
|
+
},
|
|
56
|
+
"annotations": {
|
|
57
|
+
"readOnlyHint": true,
|
|
58
|
+
"openWorldHint": false
|
|
59
|
+
}
|
|
60
|
+
}
|