codmap 0.0.40__tar.gz → 0.0.42__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.
- {codmap-0.0.40/codmap.egg-info → codmap-0.0.42}/PKG-INFO +4 -4
- {codmap-0.0.40 → codmap-0.0.42}/README.md +3 -3
- {codmap-0.0.40 → codmap-0.0.42}/codemap/advise/__init__.py +122 -7
- {codmap-0.0.40 → codmap-0.0.42}/codemap/advise/data/feed.json +27 -1
- {codmap-0.0.40 → codmap-0.0.42}/codemap/advise/data/matrix.toml +622 -40
- {codmap-0.0.40 → codmap-0.0.42}/codemap/advise/render.py +42 -1
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/mcp_server.py +4 -1
- {codmap-0.0.40 → codmap-0.0.42/codmap.egg-info}/PKG-INFO +4 -4
- {codmap-0.0.40 → codmap-0.0.42}/codmap.egg-info/SOURCES.txt +1 -0
- {codmap-0.0.40 → codmap-0.0.42}/pyproject.toml +1 -1
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c110_advise.py +44 -1
- codmap-0.0.42/tests/test_r1c111_recipe.py +140 -0
- {codmap-0.0.40 → codmap-0.0.42}/LICENSE +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/__init__.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/__main__.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/advise/refresh.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/apidiff.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/arch.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/cli.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/__init__.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/artifacts.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/hooks.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/install.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/ratchet.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/state.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/agents_block.md +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/brief.txt +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/claude_hooks.json +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/codex_region.toml +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/contract_head.toml +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/github-workflow.yml +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/gitlab-ci.yml +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/mcp_claude.args +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/post-commit.sh +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/templates/ratchet_region.toml +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/devkit/usage.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/diagnostics.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/__init__.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/attrflow.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/behavior.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/dataflow.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/dispatch.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/griffe_extractor.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/gsource.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/probe.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/roots.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/extract/union.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/freshness.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/incremental.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/integrations/__init__.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/integrations/base.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/integrations/cocoindex.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/integrations/gate.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/integrations/gitnexus.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/integrations/registry.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/integrations/transport.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/model.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/provenance.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/query.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/scope.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/__init__.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/_scip_pb2.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/api_surface.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/apidiff.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/architecture.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/audit.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/check.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/ctags.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/currency.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/impact.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/limits.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/livingdocs.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/mermaid.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/pack.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/rag.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/review.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/scip.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/semantic.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/server.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/session.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/subsystems.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/serve/vault.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/store.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/tomlio.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codemap/watch.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codmap.egg-info/dependency_links.txt +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codmap.egg-info/entry_points.txt +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codmap.egg-info/requires.txt +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/codmap.egg-info/top_level.txt +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/setup.cfg +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_epistemic.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_gitnexus_router.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_impact_depth.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_integrations.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_issue3_serve_freshness.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_livingdocs.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m0_api_surface.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m11_argcontract.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m12_dataflow.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m15_review.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m16_architecture.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m17_mcp.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m18_freshness.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m1_5_semantics.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m1_query.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m2_views.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m32_watch.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m3_serve.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m4_behavior.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m5_deep.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m6_repo_scope.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m7_dispatch.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_m9_family.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_pack_honesty.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c108_devkit.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c109_namespace_source.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c13_callgraph_accuracy.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c13_grep_vs_graph.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c16_semantic.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c20_attribute_edges.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c21_flat_layout.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c22_source_visible_refs.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c23_hard_python.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c24_test_mapping.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c25_provenance.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c26_deep_union.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c27_config_honesty.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c28_limit_envelope.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c29_lazy_imports.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c2_ctags.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c30_local_import_calls.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c30f1_reexport_calls.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c30f2_check_scope.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c31_path_origin.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c32_report_json.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c33_query_signature.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c34_signature_kinds.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c35_contract_location.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c36_target_resolution.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c37_rule_mutation.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c38_tool_drift.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c39_edge_resolution.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c3_arch_contract.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c3_dogfood.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c40_flow_reach.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c41_scope_membership.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c42_deep_tier_stability.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c43_incremental_splice.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c44_absent_answers.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c45_repeat_union.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c46_shadowed_definitions.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c47_incremental_resample.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c48_type_checking_imports.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c49_type_only_cycles.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c4_complexity.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c50_flow_entry_points.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c53_narrowing_declared.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c54_deterministic_rendering.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c55_override_grade.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c56_stub_files.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c57_facade_package.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c58_cycle_tangles.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c59_completeness_drop.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c5_apidiff.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c60_nested_definitions.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c62_phantom_rules.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c63_answer_format.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c64_dependency_probe.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c66_pack_direction.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c68_dotted_imports.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c69_contract_validation.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c6_pack.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c70_check_graph_currency.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c71_attribute_chain_calls.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c72_flat_inference_in_packages.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c73_cli_version.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c74_call_site_conservation.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c75_reexported_class_calls.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c76_contract_table_typo.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c77_gate_probe_battery.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c78_forbidden_chains.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c7_edge_vocab.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c80_tests_through_helpers.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c81_protocol_dispatch.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c82_review_changed_lines.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c83_foreign_graph_paths.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c84_missing_roots.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c85_mcp_graph_currency.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c86_incremental_repo_scope.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c87_review_path_base.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c89_review_docs.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c8_deadcode.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c90_currency_without_recipe.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c91_route_vocabulary.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c92_sidecar_pair.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c94_root_builds.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c95_r1c96_foreign_trees.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_r1c9_incremental.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_scip_export.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_scope.py +0 -0
- {codmap-0.0.40 → codmap-0.0.42}/tests/test_subsystems.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codmap
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.42
|
|
4
4
|
Summary: Static analyzer that turns a package's source into a queryable code graph.
|
|
5
5
|
Author-email: kogriv <kogriv@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -47,14 +47,14 @@ Its lab measures neighbouring code-intelligence tools on one shared truth and ke
|
|
|
47
47
|
`advise` (MCP) and `codemap advise` answer the agent's next question when the graph cannot: other
|
|
48
48
|
languages, duplicates, security patterns, complexity, DB query counts. For each need it gives codemap's own
|
|
49
49
|
coverage, proved by a named test, and the other tools. Every claim is marked `measured`, `probed`, `read`
|
|
50
|
-
(nobody here ran it) or `rejected`, with its version, date and evidence. Today:
|
|
51
|
-
|
|
50
|
+
(nobody here ran it) or `rejected`, with its version, date and evidence. Today: 29 needs, 62 tools, claims
|
|
51
|
+
42 measured · 22 probed · 64 read · 10 rejected. The inventory is [`research/matrix.md`](research/matrix.md),
|
|
52
52
|
the guide is [`docs/advise.md`](docs/advise.md), and `codemap advise --refresh` fetches the current catalog
|
|
53
53
|
without a release.
|
|
54
54
|
|
|
55
55
|
[](https://github.com/kogriv/codemap/actions/workflows/ci.yml)
|
|
56
56
|
|
|
57
|
-
**Status:** 🟢 M0–M20 implemented + research track (R1/R2) — schema 0.13, **
|
|
57
|
+
**Status:** 🟢 M0–M20 implemented + research track (R1/R2) — schema 0.13, **1383 tests with no failures on
|
|
58
58
|
Python 3.11–3.14** ([in CI](docs/ci.md): the full suite including the dogfood pass, a determinism check, a
|
|
59
59
|
wheel smoke test, and ctags/SCIP interop against the real CLIs), warm serve surface with 32 ops (29 exposed
|
|
60
60
|
as MCP tools), and SCIP export. See **[DESIGN.md](DESIGN.md)** (product design &
|
|
@@ -11,14 +11,14 @@ Its lab measures neighbouring code-intelligence tools on one shared truth and ke
|
|
|
11
11
|
`advise` (MCP) and `codemap advise` answer the agent's next question when the graph cannot: other
|
|
12
12
|
languages, duplicates, security patterns, complexity, DB query counts. For each need it gives codemap's own
|
|
13
13
|
coverage, proved by a named test, and the other tools. Every claim is marked `measured`, `probed`, `read`
|
|
14
|
-
(nobody here ran it) or `rejected`, with its version, date and evidence. Today:
|
|
15
|
-
|
|
14
|
+
(nobody here ran it) or `rejected`, with its version, date and evidence. Today: 29 needs, 62 tools, claims
|
|
15
|
+
42 measured · 22 probed · 64 read · 10 rejected. The inventory is [`research/matrix.md`](research/matrix.md),
|
|
16
16
|
the guide is [`docs/advise.md`](docs/advise.md), and `codemap advise --refresh` fetches the current catalog
|
|
17
17
|
without a release.
|
|
18
18
|
|
|
19
19
|
[](https://github.com/kogriv/codemap/actions/workflows/ci.yml)
|
|
20
20
|
|
|
21
|
-
**Status:** 🟢 M0–M20 implemented + research track (R1/R2) — schema 0.13, **
|
|
21
|
+
**Status:** 🟢 M0–M20 implemented + research track (R1/R2) — schema 0.13, **1383 tests with no failures on
|
|
22
22
|
Python 3.11–3.14** ([in CI](docs/ci.md): the full suite including the dogfood pass, a determinism check, a
|
|
23
23
|
wheel smoke test, and ctags/SCIP interop against the real CLIs), warm serve surface with 32 ops (29 exposed
|
|
24
24
|
as MCP tools), and SCIP export. See **[DESIGN.md](DESIGN.md)** (product design &
|
|
@@ -51,8 +51,11 @@ LANGUAGES = {
|
|
|
51
51
|
".go": "go", ".rs": "rust", ".java": "java", ".kt": "kotlin", ".kts": "kotlin", ".scala": "scala",
|
|
52
52
|
".rb": "ruby", ".php": "php", ".cs": "csharp", ".swift": "swift",
|
|
53
53
|
".c": "c", ".h": "c", ".cpp": "cpp", ".cc": "cpp", ".cxx": "cpp", ".hpp": "cpp",
|
|
54
|
-
".sql": "sql", ".sh": "shell", ".bash": "shell",
|
|
54
|
+
".sql": "sql", ".sh": "shell", ".bash": "shell", ".dart": "dart",
|
|
55
55
|
}
|
|
56
|
+
#: A tool's `languages`: real names from the map above, or "any" for a language-agnostic tool (text, tokens, an
|
|
57
|
+
#: LLM). An empty list means "not recorded": such a tool is never shown for a language filter.
|
|
58
|
+
LANGUAGE_NAMES = frozenset(LANGUAGES.values()) | {"any"}
|
|
56
59
|
_SKIP_DIRS = {".git", ".hg", ".svn", "node_modules", ".venv", "venv", "env", "__pycache__", "dist", "build",
|
|
57
60
|
".codemap", ".tox", ".nox", ".mypy_cache", ".pytest_cache", ".ruff_cache", "site-packages",
|
|
58
61
|
".next", ".nuxt", "coverage", "target", "vendor", ".idea", ".vscode"}
|
|
@@ -198,6 +201,10 @@ def schema_problems(matrix: dict, feed: dict) -> list[str]:
|
|
|
198
201
|
p.append(f"tool {tid}: watch.kind not in {WATCH_KINDS}")
|
|
199
202
|
elif w["kind"] != "none" and not w.get("name"):
|
|
200
203
|
p.append(f"tool {tid}: watch.kind {w['kind']} needs watch.name")
|
|
204
|
+
langs = t.get("languages", [])
|
|
205
|
+
if not isinstance(langs, list) or any(x not in LANGUAGE_NAMES for x in langs):
|
|
206
|
+
p.append(f"tool {tid}: languages {langs!r} — use names from {sorted(LANGUAGE_NAMES)} "
|
|
207
|
+
"(free text goes to languages_note)")
|
|
201
208
|
bad = [i for i in t.get("interface", []) if i not in INTERFACES]
|
|
202
209
|
if bad:
|
|
203
210
|
p.append(f"tool {tid}: interface {bad} not in {INTERFACES}")
|
|
@@ -219,8 +226,17 @@ def schema_problems(matrix: dict, feed: dict) -> list[str]:
|
|
|
219
226
|
for fld in _REQUIRES[st]:
|
|
220
227
|
if not c.get(fld):
|
|
221
228
|
p.append(f"{where}: status {st} requires {fld}")
|
|
229
|
+
on = c.get("measured_on")
|
|
230
|
+
if on is not None and (not isinstance(on, list) or not on or any(x not in LANGUAGE_NAMES for x in on)):
|
|
231
|
+
p.append(f"{where}: measured_on {on!r} — a non-empty list of language names")
|
|
222
232
|
if c.get("checked") and not _date(c["checked"]):
|
|
223
233
|
p.append(f"{where}: checked is not an ISO date")
|
|
234
|
+
# A number measured on another language's benchmark must say so, or it reads as a Python measurement.
|
|
235
|
+
m = re.match(r"research/tools/_(\w+)/", c.get("evidence") or "")
|
|
236
|
+
bench = _BENCH_LANGUAGE.get(m.group(1)) if m else None
|
|
237
|
+
if bench and st in ("measured", "probed") and bench not in (on or []):
|
|
238
|
+
p.append(f"{where}: evidence from the {bench} benchmark without measured_on [{bench!r}]")
|
|
239
|
+
p += _recipe_problems(matrix, needs, tools)
|
|
224
240
|
for tid in tools:
|
|
225
241
|
if not any(c.get("tool") == tid for c in matrix.get("claim", [])):
|
|
226
242
|
p.append(f"tool {tid}: no claim")
|
|
@@ -246,6 +262,58 @@ def schema_problems(matrix: dict, feed: dict) -> list[str]:
|
|
|
246
262
|
return p
|
|
247
263
|
|
|
248
264
|
|
|
265
|
+
#: Benchmark directories under research/tools/ (`_rust/`) and the language their numbers were measured on.
|
|
266
|
+
_BENCH_LANGUAGE = {"rust": "rust"}
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
def _recipe_problems(matrix: dict, needs: dict, tools: dict) -> list[str]:
|
|
270
|
+
"""A recipe row names a known language, need and tools; a number in it needs evidence (design recipe_rust D8)."""
|
|
271
|
+
p: list[str] = []
|
|
272
|
+
seen = set()
|
|
273
|
+
for r in matrix.get("recipe", []):
|
|
274
|
+
key = (r.get("language"), r.get("need"))
|
|
275
|
+
where = f"recipe {key[0]}×{key[1]}"
|
|
276
|
+
if key in seen:
|
|
277
|
+
p.append(f"{where}: duplicate")
|
|
278
|
+
seen.add(key)
|
|
279
|
+
if key[0] not in LANGUAGE_NAMES or key[0] == "any":
|
|
280
|
+
p.append(f"{where}: language {key[0]!r} is not a language name")
|
|
281
|
+
if key[1] not in needs:
|
|
282
|
+
p.append(f"{where}: unknown need")
|
|
283
|
+
if not r.get("summary"):
|
|
284
|
+
p.append(f"{where}: no summary")
|
|
285
|
+
if not r.get("use"):
|
|
286
|
+
p.append(f"{where}: `use` is empty")
|
|
287
|
+
texts = [r.get("summary", "")]
|
|
288
|
+
for part in ("use", "avoid"):
|
|
289
|
+
for step in r.get(part, []):
|
|
290
|
+
if step.get("tool") not in tools:
|
|
291
|
+
p.append(f"{where}: {part} names unknown tool {step.get('tool')!r}")
|
|
292
|
+
if not step.get("why"):
|
|
293
|
+
p.append(f"{where}: {part} {step.get('tool')!r} without a why")
|
|
294
|
+
texts.append(step.get("why", ""))
|
|
295
|
+
if any(re.search(r"\d", t) for t in texts) and not r.get("evidence"):
|
|
296
|
+
p.append(f"{where}: cites a number without evidence")
|
|
297
|
+
return p
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
def recipes(cat: "Catalog", languages: set[str]) -> list[dict]:
|
|
301
|
+
"""Recipe rows for the given languages, in catalog order, with tool names resolved."""
|
|
302
|
+
out = []
|
|
303
|
+
for r in cat.matrix.get("recipe", []):
|
|
304
|
+
if r["language"] not in languages:
|
|
305
|
+
continue
|
|
306
|
+
row = {"language": r["language"], "need": r["need"], "title": cat.needs[r["need"]]["title"],
|
|
307
|
+
"summary": r["summary"]}
|
|
308
|
+
for part in ("use", "avoid"):
|
|
309
|
+
row[part] = [{"tool": x["tool"], "name": cat.tools[x["tool"]]["name"], "why": x["why"]}
|
|
310
|
+
for x in r.get(part, [])]
|
|
311
|
+
if r.get("evidence"):
|
|
312
|
+
row["evidence"] = evidence_url(cat, r["evidence"])
|
|
313
|
+
out.append(row)
|
|
314
|
+
return out
|
|
315
|
+
|
|
316
|
+
|
|
249
317
|
def github_anchor(heading: str) -> str:
|
|
250
318
|
"""GitHub's heading anchor: markdown marks and punctuation dropped, lower case, spaces → hyphens."""
|
|
251
319
|
text = re.sub(r"\[([^\]]*)\]\([^)]*\)", r"\1", heading.strip())
|
|
@@ -309,6 +377,11 @@ def repo_problems(matrix: dict, root: Path) -> list[str]:
|
|
|
309
377
|
named.add(t["card"])
|
|
310
378
|
if not (root / t["card"]).is_file():
|
|
311
379
|
p.append(f"tool {t['id']}: card {t['card']} does not exist")
|
|
380
|
+
for r in matrix.get("recipe", []):
|
|
381
|
+
if r.get("evidence"):
|
|
382
|
+
err = resolves(r["evidence"])
|
|
383
|
+
if err:
|
|
384
|
+
p.append(f"recipe {r.get('language')}×{r.get('need')}: evidence {err}")
|
|
312
385
|
for card in sorted((root / "research" / "tools").glob("*.md")):
|
|
313
386
|
rel = card.relative_to(root).as_posix()
|
|
314
387
|
if card.name != "README.md" and rel not in named:
|
|
@@ -335,14 +408,22 @@ def evidence_url(cat: Catalog, ref: str | None) -> str | None:
|
|
|
335
408
|
return f"{base}/blob/main/{ref}"
|
|
336
409
|
|
|
337
410
|
|
|
338
|
-
def _claim_view(cat: Catalog, c: dict) -> dict:
|
|
411
|
+
def _claim_view(cat: Catalog, c: dict, languages: set[str] | None = None) -> dict:
|
|
339
412
|
t = cat.tools.get(c["tool"], {})
|
|
340
413
|
out = {"tool": c["tool"], "name": t.get("name", c["tool"]), "url": t.get("url"),
|
|
341
414
|
"license": t.get("license"), "interface": t.get("interface", []), "status": c["status"]}
|
|
415
|
+
# A measurement is about the language it ran on (the lab's truth so far is Python). Asked about another
|
|
416
|
+
# language, the claim is only what the tool says about itself: `read`, with where it was measured.
|
|
417
|
+
if c["status"] in ("measured", "probed"):
|
|
418
|
+
on = c.get("measured_on", ["python"])
|
|
419
|
+
out["measured_on"] = list(on)
|
|
420
|
+
if languages and not (set(on) & languages):
|
|
421
|
+
out["status"] = "read"
|
|
422
|
+
out["status_note"] = f"{c['status']} on {', '.join(on)} only; not run on {', '.join(sorted(languages))}"
|
|
342
423
|
for k in ("version", "checked", "summary", "vs_codemap", "reason", "probe"):
|
|
343
424
|
if c.get(k):
|
|
344
425
|
out[k] = c[k]
|
|
345
|
-
if not out.get("probe") and
|
|
426
|
+
if not out.get("probe") and out["status"] in ("read", "probed"):
|
|
346
427
|
out["probe"] = "not scored by the lab: check it on a question whose answer you know first"
|
|
347
428
|
if isinstance(c.get("rank"), int):
|
|
348
429
|
out["_rank"] = c["rank"]
|
|
@@ -377,15 +458,34 @@ def _codemap_view(n: dict) -> dict:
|
|
|
377
458
|
return out
|
|
378
459
|
|
|
379
460
|
|
|
380
|
-
def
|
|
461
|
+
def _speaks(tool: dict, langs: set[str]) -> bool:
|
|
462
|
+
have = set(tool.get("languages", []))
|
|
463
|
+
return "any" in have or bool(have & langs)
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
def need_answer(cat: Catalog, nid: str, languages: set[str] | None = None) -> dict:
|
|
467
|
+
"""One need. With ``languages``, a tool whose recorded languages include none of them is left out and
|
|
468
|
+
listed in ``excluded`` — never recommended for a language it does not read."""
|
|
381
469
|
n = cat.needs[nid]
|
|
382
|
-
views = [
|
|
470
|
+
views, excluded = [], []
|
|
471
|
+
for c in cat.claims:
|
|
472
|
+
if c["need"] != nid:
|
|
473
|
+
continue
|
|
474
|
+
t = cat.tools.get(c["tool"], {})
|
|
475
|
+
if languages and not _speaks(t, languages):
|
|
476
|
+
excluded.append({"tool": c["tool"], "status": c["status"], "languages": t.get("languages", []),
|
|
477
|
+
**({"languages_note": t["languages_note"]} if t.get("languages_note") else {})})
|
|
478
|
+
continue
|
|
479
|
+
views.append(_claim_view(cat, c, languages))
|
|
383
480
|
usable = _order([v for v in views if v["status"] != "rejected"])
|
|
384
481
|
rejected = sorted((v for v in views if v["status"] == "rejected"), key=lambda v: v["tool"])
|
|
385
482
|
for v in usable + rejected:
|
|
386
483
|
v.pop("_rank", None)
|
|
387
484
|
out = {"need": nid, "title": n["title"], "languages": n.get("languages", []), "codemap": _codemap_view(n),
|
|
388
485
|
"tools": usable, "rejected": rejected}
|
|
486
|
+
if languages:
|
|
487
|
+
out["language_filter"] = sorted(languages)
|
|
488
|
+
out["excluded"] = sorted(excluded, key=lambda x: x["tool"])
|
|
389
489
|
if n.get("note"):
|
|
390
490
|
out["note"] = n["note"]
|
|
391
491
|
return out
|
|
@@ -431,7 +531,7 @@ def overview(cat: Catalog, languages: list[str] | None = None) -> dict:
|
|
|
431
531
|
for nid, n in cat.needs.items():
|
|
432
532
|
if langs and not _applies(n, langs):
|
|
433
533
|
continue
|
|
434
|
-
a = need_answer(cat, nid)
|
|
534
|
+
a = need_answer(cat, nid, langs or None)
|
|
435
535
|
best = a["tools"][0] if a["tools"] else None
|
|
436
536
|
rows.append({"need": nid, "title": n["title"], "codemap": n["codemap"],
|
|
437
537
|
"best": ({"tool": best["tool"], "status": best["status"]} if best else None),
|
|
@@ -516,6 +616,11 @@ def answer(args: dict, cat: Catalog | None = None) -> dict:
|
|
|
516
616
|
out["tool"] = tool_answer(cat, tool)
|
|
517
617
|
elif need:
|
|
518
618
|
ids = match_needs(cat, need)
|
|
619
|
+
if not langs:
|
|
620
|
+
# A language named in the question ("ts call graph") filters like --lang: a measurement on another
|
|
621
|
+
# language must not read as one on this.
|
|
622
|
+
named = [w for w in _tokens(need) if w in LANGUAGE_NAMES and w != "any"]
|
|
623
|
+
langs = named or None
|
|
519
624
|
if langs:
|
|
520
625
|
want = {_ALIASES.get(x.lower(), x.lower()) for x in langs}
|
|
521
626
|
ids = [i for i in ids if _applies(cat.needs[i], want)] or ids
|
|
@@ -523,9 +628,19 @@ def answer(args: dict, cat: Catalog | None = None) -> dict:
|
|
|
523
628
|
out["error"] = f"no need matches {need!r}"
|
|
524
629
|
out["needs"] = sorted(cat.needs)
|
|
525
630
|
return out
|
|
526
|
-
|
|
631
|
+
want = {_ALIASES.get(x.lower(), x.lower()) for x in langs} if langs else None
|
|
632
|
+
out["matches"] = [need_answer(cat, i, want) for i in ids]
|
|
633
|
+
if want:
|
|
634
|
+
for m in out["matches"]:
|
|
635
|
+
rows = [r for r in recipes(cat, want) if r["need"] == m["need"]]
|
|
636
|
+
if rows:
|
|
637
|
+
m["recipe"] = rows
|
|
527
638
|
else:
|
|
528
639
|
out["overview"] = overview(cat, langs)
|
|
640
|
+
if langs:
|
|
641
|
+
rows = recipes(cat, {_ALIASES.get(x.lower(), x.lower()) for x in langs})
|
|
642
|
+
if rows:
|
|
643
|
+
out["recipe"] = rows
|
|
529
644
|
if args.get("news_days") is not None:
|
|
530
645
|
out["news"] = news(cat, int(args["news_days"]))
|
|
531
646
|
return out
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": 1,
|
|
3
|
-
"as_of": "2026-11-21T09:
|
|
3
|
+
"as_of": "2026-11-21T09:58:15Z",
|
|
4
4
|
"latest": {
|
|
5
5
|
"aider-repo-map": {
|
|
6
6
|
"version": "0.86.2",
|
|
@@ -241,9 +241,35 @@
|
|
|
241
241
|
"version": "1.25.0",
|
|
242
242
|
"date": "2023-10-11",
|
|
243
243
|
"seen": "2026-11-21"
|
|
244
|
+
},
|
|
245
|
+
"fallow": {
|
|
246
|
+
"version": "3.45.0",
|
|
247
|
+
"date": "2026-11-20",
|
|
248
|
+
"seen": "2026-11-21"
|
|
249
|
+
},
|
|
250
|
+
"roam-code": {
|
|
251
|
+
"version": "14.1.0",
|
|
252
|
+
"date": "2026-09-09",
|
|
253
|
+
"seen": "2026-11-21"
|
|
244
254
|
}
|
|
245
255
|
},
|
|
246
256
|
"news": [
|
|
257
|
+
{
|
|
258
|
+
"date": "2026-11-21",
|
|
259
|
+
"kind": "new-tool",
|
|
260
|
+
"tool": "roam-code",
|
|
261
|
+
"text": "New to the catalog: roam-code 14.1.0 (Apache-2.0, 28 languages per its README), local codebase intelligence for AI coding agents with change-safety gates and an MCP interface.",
|
|
262
|
+
"source": "https://pypi.org/project/roam-code/",
|
|
263
|
+
"verified": true
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"date": "2026-11-21",
|
|
267
|
+
"kind": "new-tool",
|
|
268
|
+
"tool": "fallow",
|
|
269
|
+
"text": "New to the catalog: fallow, an MIT-licensed Rust analyzer for TypeScript and JavaScript offering CLI, MCP and LSP interfaces, per its README.",
|
|
270
|
+
"source": "https://github.com/fallow-rs/fallow",
|
|
271
|
+
"verified": true
|
|
272
|
+
},
|
|
247
273
|
{
|
|
248
274
|
"date": "2026-11-21",
|
|
249
275
|
"kind": "card",
|