[package]
edition = "2024"
name = "symforge"
version = "11.7.1"
build = false
exclude = [
"symforge-banner.png",
"docs/diagrams/**",
"docs/reviews/**",
"docs/research/**",
"docs/superpowers/**",
"docs/archived/**",
"docs/dogfood/**",
"docs/solutions/**",
"docs/plans/**",
"docs/speckit/**",
"docs/*.md",
"docs/archive/**",
"docs/migrations/**",
"specs/**",
"research/**",
"scripts/**",
"execution/**",
"tasks/**",
"plans/**",
"npm/**",
".agent/**",
".cursor-plugin/**",
".claude/**",
".github/**",
".specify/**",
"013-HANDOFF.md",
"SELF_UPDATE_PROCEDURE.md",
"CONTEXT.md",
"CLAUDE.md",
"AGENTS.md",
"diff.txt",
"setup.bat",
"CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SymForge — in-memory code intelligence MCP server for Claude Code, Codex, and Gemini CLI"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/special-place-ai-heaven/symforge"
[features]
__test-internals = []
cbm-spike = []
default = ["server"]
embed = ["dep:libgit2-sys"]
server = [
"dep:rmcp",
"dep:axum",
"dep:clap",
"dep:reqwest",
"dep:socket2",
"dep:notify",
"dep:notify-debouncer-full",
"dep:tracing-subscriber",
"tokio/net",
"tokio/io-util",
]
[lib]
name = "symforge"
path = "src/lib.rs"
[[bin]]
name = "symforge"
path = "src/main.rs"
required-features = ["server"]
[[example]]
name = "embed_query"
path = "examples/embed_query.rs"
[[test]]
name = "aap_detection"
path = "tests/aap_detection.rs"
[[test]]
name = "aap_harness_preset"
path = "tests/aap_harness_preset.rs"
[[test]]
name = "activation_cut_v11"
path = "tests/activation_cut_v11.rs"
[[test]]
name = "activation_residuals_v11"
path = "tests/activation_residuals_v11.rs"
[[test]]
name = "admin_aap_api"
path = "tests/admin_aap_api.rs"
[[test]]
name = "admin_api_v1"
path = "tests/admin_api_v1.rs"
[[test]]
name = "admin_render"
path = "tests/admin_render.rs"
[[test]]
name = "admin_system"
path = "tests/admin_system.rs"
[[test]]
name = "admin_verb"
path = "tests/admin_verb.rs"
[[test]]
name = "admission_acceptance"
path = "tests/admission_acceptance.rs"
[[test]]
name = "analyze_file_impact_non_parser"
path = "tests/analyze_file_impact_non_parser.rs"
[[test]]
name = "api_keys_store"
path = "tests/api_keys_store.rs"
[[test]]
name = "batch_rename_perf"
path = "tests/batch_rename_perf.rs"
[[test]]
name = "call_time_cochange"
path = "tests/call_time_cochange.rs"
[[test]]
name = "call_time_frecency"
path = "tests/call_time_frecency.rs"
[[test]]
name = "capability_evidence"
path = "tests/capability_evidence.rs"
[[test]]
name = "capability_status_integration"
path = "tests/capability_status_integration.rs"
[[test]]
name = "cbm_spike_rust_resolver"
path = "tests/cbm_spike_rust_resolver.rs"
[[test]]
name = "ccr_economics"
path = "tests/ccr_economics.rs"
[[test]]
name = "ccr_retrieve"
path = "tests/ccr_retrieve.rs"
[[test]]
name = "checkpoint"
path = "tests/checkpoint.rs"
[[test]]
name = "claim_provenance_v11"
path = "tests/claim_provenance_v11.rs"
[[test]]
name = "cochange_fusion"
path = "tests/cochange_fusion.rs"
[[test]]
name = "cochange_signal_rules"
path = "tests/cochange_signal_rules.rs"
[[test]]
name = "compact_map_ranking"
path = "tests/compact_map_ranking.rs"
[[test]]
name = "config_files"
path = "tests/config_files.rs"
[[test]]
name = "conformance"
path = "tests/conformance.rs"
[[test]]
name = "coupling_calibration"
path = "tests/coupling_calibration.rs"
[[test]]
name = "coupling_refresh_generation_fence"
path = "tests/coupling_refresh_generation_fence.rs"
[[test]]
name = "curate_knowledge"
path = "tests/curate_knowledge.rs"
[[test]]
name = "daemon_aliases"
path = "tests/daemon_aliases.rs"
[[test]]
name = "daemon_singleton"
path = "tests/daemon_singleton.rs"
[[test]]
name = "decode_error_hint"
path = "tests/decode_error_hint.rs"
[[test]]
name = "delta_full_rebuild_equivalence_v11"
path = "tests/delta_full_rebuild_equivalence_v11.rs"
[[test]]
name = "detect_impact"
path = "tests/detect_impact.rs"
[[test]]
name = "edit_body_parity"
path = "tests/edit_body_parity.rs"
[[test]]
name = "edit_hook_behavior"
path = "tests/edit_hook_behavior.rs"
[[test]]
name = "edit_plan_literal_path_precedence"
path = "tests/edit_plan_literal_path_precedence.rs"
[[test]]
name = "edit_plan_symbol_line"
path = "tests/edit_plan_symbol_line.rs"
[[test]]
name = "edit_safety_tee"
path = "tests/edit_safety_tee.rs"
[[test]]
name = "edit_safety_trust"
path = "tests/edit_safety_trust.rs"
[[test]]
name = "embed_ask"
path = "tests/embed_ask.rs"
[[test]]
name = "embed_batch"
path = "tests/embed_batch.rs"
[[test]]
name = "embed_bound_index"
path = "tests/embed_bound_index.rs"
[[test]]
name = "embed_changes"
path = "tests/embed_changes.rs"
[[test]]
name = "embed_detect_impact"
path = "tests/embed_detect_impact.rs"
[[test]]
name = "embed_disk_parity"
path = "tests/embed_disk_parity.rs"
[[test]]
name = "embed_edit_bodies"
path = "tests/embed_edit_bodies.rs"
[[test]]
name = "embed_edit_plan"
path = "tests/embed_edit_plan.rs"
[[test]]
name = "embed_edit_route"
path = "tests/embed_edit_route.rs"
[[test]]
name = "embed_federation"
path = "tests/embed_federation.rs"
[[test]]
name = "embed_file_impact"
path = "tests/embed_file_impact.rs"
[[test]]
name = "embed_file_search"
path = "tests/embed_file_search.rs"
[[test]]
name = "embed_git_handles"
path = "tests/embed_git_handles.rs"
[[test]]
name = "embed_git_isolated_config"
path = "tests/embed_git_isolated_config.rs"
[[test]]
name = "embed_git_preparation"
path = "tests/embed_git_preparation.rs"
[[test]]
name = "embed_health"
path = "tests/embed_health.rs"
[[test]]
name = "embed_host"
path = "tests/embed_host.rs"
[[test]]
name = "embed_host_wire_mutation"
path = "tests/embed_host_wire_mutation.rs"
[[test]]
name = "embed_index_folder"
path = "tests/embed_index_folder.rs"
[[test]]
name = "embed_knowledge"
path = "tests/embed_knowledge.rs"
[[test]]
name = "embed_knowledge_search"
path = "tests/embed_knowledge_search.rs"
[[test]]
name = "embed_lifecycle_v11"
path = "tests/embed_lifecycle_v11.rs"
[[test]]
name = "embed_mutation"
path = "tests/embed_mutation.rs"
[[test]]
name = "embed_parity"
path = "tests/embed_parity.rs"
[[test]]
name = "embed_query_goldens"
path = "tests/embed_query_goldens.rs"
[[test]]
name = "embed_read"
path = "tests/embed_read.rs"
[[test]]
name = "embed_read_context"
path = "tests/embed_read_context.rs"
[[test]]
name = "embed_reference_search"
path = "tests/embed_reference_search.rs"
[[test]]
name = "embed_replay_v1"
path = "tests/embed_replay_v1.rs"
[[test]]
name = "embed_search"
path = "tests/embed_search.rs"
[[test]]
name = "embed_secret_remediation"
path = "tests/embed_secret_remediation.rs"
[[test]]
name = "embed_session"
path = "tests/embed_session.rs"
[[test]]
name = "embed_session_limits"
path = "tests/embed_session_limits.rs"
[[test]]
name = "embed_state_options"
path = "tests/embed_state_options.rs"
[[test]]
name = "embed_stel_status"
path = "tests/embed_stel_status.rs"
[[test]]
name = "embed_symbol_context"
path = "tests/embed_symbol_context.rs"
[[test]]
name = "embed_symbol_read"
path = "tests/embed_symbol_read.rs"
[[test]]
name = "embed_symforge"
path = "tests/embed_symforge.rs"
[[test]]
name = "embed_temporal"
path = "tests/embed_temporal.rs"
[[test]]
name = "find_dependents_pass2"
path = "tests/find_dependents_pass2.rs"
[[test]]
name = "frecency_ranking"
path = "tests/frecency_ranking.rs"
[[test]]
name = "frontend_assets"
path = "tests/frontend_assets.rs"
[[test]]
name = "get_file_content_concurrency"
path = "tests/get_file_content_concurrency.rs"
[[test]]
name = "git_commit_retry"
path = "tests/git_commit_retry.rs"
[[test]]
name = "git_temporal_generation_fence"
path = "tests/git_temporal_generation_fence.rs"
[[test]]
name = "graceful_degradation"
path = "tests/graceful_degradation.rs"
[[test]]
name = "graph_bfs_calibration"
path = "tests/graph_bfs_calibration.rs"
[[test]]
name = "harness_apply_backup"
path = "tests/harness_apply_backup.rs"
[[test]]
name = "harness_scan"
path = "tests/harness_scan.rs"
[[test]]
name = "health_parse_quarantine"
path = "tests/health_parse_quarantine.rs"
[[test]]
name = "honesty_gate"
path = "tests/honesty_gate.rs"
[[test]]
name = "hook_enrichment_integration"
path = "tests/hook_enrichment_integration.rs"
[[test]]
name = "hook_root_guard"
path = "tests/hook_root_guard.rs"
[[test]]
name = "hook_subprocess_integration"
path = "tests/hook_subprocess_integration.rs"
[[test]]
name = "idempotency"
path = "tests/idempotency.rs"
[[test]]
name = "impact_admission"
path = "tests/impact_admission.rs"
[[test]]
name = "impact_body_diff"
path = "tests/impact_body_diff.rs"
[[test]]
name = "impact_footer"
path = "tests/impact_footer.rs"
[[test]]
name = "impact_intent"
path = "tests/impact_intent.rs"
[[test]]
name = "index_candidate_lifecycle_v11"
path = "tests/index_candidate_lifecycle_v11.rs"
[[test]]
name = "init_integration"
path = "tests/init_integration.rs"
[[test]]
name = "issue_bundle_regressions"
path = "tests/issue_bundle_regressions.rs"
[[test]]
name = "live_index_generation_fence"
path = "tests/live_index_generation_fence.rs"
[[test]]
name = "live_index_integration"
path = "tests/live_index_integration.rs"
[[test]]
name = "live_index_publish_atomicity"
path = "tests/live_index_publish_atomicity.rs"
[[test]]
name = "observer_handoff_v11"
path = "tests/observer_handoff_v11.rs"
[[test]]
name = "onboarding_state"
path = "tests/onboarding_state.rs"
[[test]]
name = "perl_corpus"
path = "tests/perl_corpus.rs"
[[test]]
name = "persist_compression_ratio"
path = "tests/persist_compression_ratio.rs"
[[test]]
name = "physical_root_lease_v11"
path = "tests/physical_root_lease_v11.rs"
[[test]]
name = "preventive_runtime_dark_v11"
path = "tests/preventive_runtime_dark_v11.rs"
[[test]]
name = "process_capacity_pool_v11"
path = "tests/process_capacity_pool_v11.rs"
[[test]]
name = "project_index_authority_v11"
path = "tests/project_index_authority_v11.rs"
[[test]]
name = "project_index_lifecycle_slice0"
path = "tests/project_index_lifecycle_slice0.rs"
[[test]]
name = "project_query_lease_v11"
path = "tests/project_query_lease_v11.rs"
[[test]]
name = "project_registry_lifecycle_v11"
path = "tests/project_registry_lifecycle_v11.rs"
[[test]]
name = "protocol_lifecycle_matrix"
path = "tests/protocol_lifecycle_matrix.rs"
[[test]]
name = "public_api_delta_v11"
path = "tests/public_api_delta_v11.rs"
[[test]]
name = "qualified_usages_method_call"
path = "tests/qualified_usages_method_call.rs"
[[test]]
name = "rank_signal_behavior"
path = "tests/rank_signal_behavior.rs"
[[test]]
name = "read_gate_authority_v11"
path = "tests/read_gate_authority_v11.rs"
[[test]]
name = "recovery"
path = "tests/recovery.rs"
[[test]]
name = "repeat_notice"
path = "tests/repeat_notice.rs"
[[test]]
name = "rmcp3_protocol"
path = "tests/rmcp3_protocol.rs"
[[test]]
name = "rmcp3_roots_interop"
path = "tests/rmcp3_roots_interop.rs"
[[test]]
name = "rolling_verification_v11"
path = "tests/rolling_verification_v11.rs"
[[test]]
name = "rust_raw_reference_grammar"
path = "tests/rust_raw_reference_grammar.rs"
[[test]]
name = "schema_roundtrip"
path = "tests/schema_roundtrip.rs"
[[test]]
name = "search_compaction"
path = "tests/search_compaction.rs"
[[test]]
name = "search_files_path_cochange_calibration"
path = "tests/search_files_path_cochange_calibration.rs"
[[test]]
name = "search_files_ranking_debug"
path = "tests/search_files_ranking_debug.rs"
[[test]]
name = "search_knowledge"
path = "tests/search_knowledge.rs"
[[test]]
name = "secret_remediation_034"
path = "tests/secret_remediation_034.rs"
[[test]]
name = "secret_remediation_shared"
path = "tests/secret_remediation_shared.rs"
[[test]]
name = "serialize_index_mint_door"
path = "tests/serialize_index_mint_door.rs"
[[test]]
name = "serve_auth"
path = "tests/serve_auth.rs"
[[test]]
name = "serve_http_attach"
path = "tests/serve_http_attach.rs"
[[test]]
name = "serve_port"
path = "tests/serve_port.rs"
[[test]]
name = "session_cache_hit"
path = "tests/session_cache_hit.rs"
[[test]]
name = "sfb25_analytics_queue"
path = "tests/sfb25_analytics_queue.rs"
[[test]]
name = "sfb26_analytics_cli"
path = "tests/sfb26_analytics_cli.rs"
[[test]]
name = "sfb27_ci_yaml_corpus"
path = "tests/sfb27_ci_yaml_corpus.rs"
[[test]]
name = "sfb28_ci_yaml_repository_intelligence"
path = "tests/sfb28_ci_yaml_repository_intelligence.rs"
[[test]]
name = "sidecar_contract"
path = "tests/sidecar_contract.rs"
[[test]]
name = "sidecar_integration"
path = "tests/sidecar_integration.rs"
[[test]]
name = "snapshot_v11_migration"
path = "tests/snapshot_v11_migration.rs"
[[test]]
name = "status_truth"
path = "tests/status_truth.rs"
[[test]]
name = "stel_a029_spike"
path = "tests/stel_a029_spike.rs"
[[test]]
name = "stel_battery_gates"
path = "tests/stel_battery_gates.rs"
[[test]]
name = "stel_calibration_tuning"
path = "tests/stel_calibration_tuning.rs"
[[test]]
name = "stel_find_fusion"
path = "tests/stel_find_fusion.rs"
[[test]]
name = "stel_golden_replay"
path = "tests/stel_golden_replay.rs"
[[test]]
name = "stel_l2_admission"
path = "tests/stel_l2_admission.rs"
[[test]]
name = "stel_l3_enforcement"
path = "tests/stel_l3_enforcement.rs"
[[test]]
name = "stel_l4_ledger"
path = "tests/stel_l4_ledger.rs"
[[test]]
name = "stel_ledger_persistence"
path = "tests/stel_ledger_persistence.rs"
[[test]]
name = "stel_param_disposition"
path = "tests/stel_param_disposition.rs"
[[test]]
name = "stel_status"
path = "tests/stel_status.rs"
[[test]]
name = "stel_symforge_edit"
path = "tests/stel_symforge_edit.rs"
[[test]]
name = "strict_client_schema_compat"
path = "tests/strict_client_schema_compat.rs"
[[test]]
name = "surface_default"
path = "tests/surface_default.rs"
[[test]]
name = "surface_honesty"
path = "tests/surface_honesty.rs"
[[test]]
name = "symbol_disambiguation"
path = "tests/symbol_disambiguation.rs"
[[test]]
name = "system_path_refusal"
path = "tests/system_path_refusal.rs"
[[test]]
name = "team_artifact"
path = "tests/team_artifact.rs"
[[test]]
name = "team_artifact_calibration"
path = "tests/team_artifact_calibration.rs"
[[test]]
name = "tree_sitter_grammars"
path = "tests/tree_sitter_grammars.rs"
[[test]]
name = "watcher_aap_shaped_fixture"
path = "tests/watcher_aap_shaped_fixture.rs"
[[test]]
name = "watcher_b_p0_1_regression"
path = "tests/watcher_b_p0_1_regression.rs"
[[test]]
name = "watcher_index_folder_leak"
path = "tests/watcher_index_folder_leak.rs"
[[test]]
name = "watcher_integration"
path = "tests/watcher_integration.rs"
[[test]]
name = "watcher_layer3_restat"
path = "tests/watcher_layer3_restat.rs"
[[test]]
name = "watcher_reload_cancellation"
path = "tests/watcher_reload_cancellation.rs"
[[test]]
name = "worktree_awareness"
path = "tests/worktree_awareness.rs"
[[test]]
name = "xref_integration"
path = "tests/xref_integration.rs"
[[bench]]
name = "observed_refresh_gate_v1"
path = "benches/observed_refresh_gate_v1.rs"
harness = false
required-features = ["server"]
[dependencies.aho-corasick]
version = "1.1"
[dependencies.anyhow]
version = "1.0"
[dependencies.arc-swap]
version = "1"
[dependencies.ast-grep-core]
version = "0.45"
[dependencies.automod]
version = "1"
[dependencies.axum]
version = "0.8"
optional = true
[dependencies.cap-std]
version = "4.0.3"
[dependencies.chrono]
version = "0.4"
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.dirs]
version = "7"
[dependencies.dunce]
version = "1"
[dependencies.git2]
version = "0.21"
features = ["vendored-libgit2"]
default-features = false
[dependencies.globset]
version = "0.4"
[dependencies.ignore]
version = "0.4"
[dependencies.libc]
version = "0.2.183"
[dependencies.libgit2-sys]
version = "0.18.5"
optional = true
default-features = false
[dependencies.notify]
version = "8"
optional = true
[dependencies.notify-debouncer-full]
version = "0.7"
optional = true
[dependencies.parking_lot]
version = "0.12"
[dependencies.postcard]
version = "1.1"
features = ["use-std"]
[dependencies.rayon]
version = "1.10"
[dependencies.regex]
version = "1.11"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"query",
"rustls",
]
optional = true
default-features = false
[dependencies.rmcp]
version = "3.5"
features = [
"transport-io",
"transport-streamable-http-server",
]
optional = true
[dependencies.rusqlite]
version = "0.40"
features = ["bundled"]
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yml]
version = "0.10"
package = "serde_yaml_ng"
[dependencies.sha2]
version = "0.11"
[dependencies.socket2]
version = "0.6"
optional = true
[dependencies.streaming-iterator]
version = "0.1"
[dependencies.tempfile]
version = "3"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.48"
features = [
"io-std",
"macros",
"rt-multi-thread",
"time",
"sync",
"signal",
"test-util",
]
[dependencies.toml_edit]
version = "0.25"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]
optional = true
[dependencies.tree-sitter]
version = "=0.26.13"
[dependencies.tree-sitter-c]
version = "0.24.1"
[dependencies.tree-sitter-c-sharp]
version = "0.23.1"
[dependencies.tree-sitter-cpp]
version = "0.23.4"
[dependencies.tree-sitter-css]
version = "0.25.0"
[dependencies.tree-sitter-dart]
version = "=0.2.0"
[dependencies.tree-sitter-elixir]
version = "0.3.5"
[dependencies.tree-sitter-go]
version = "0.25"
[dependencies.tree-sitter-html]
version = "0.23.2"
[dependencies.tree-sitter-java]
version = "0.23.5"
[dependencies.tree-sitter-javascript]
version = "0.25"
[dependencies.tree-sitter-kotlin-sg]
version = "0.4.0"
[dependencies.tree-sitter-perl]
version = "1.1"
package = "ts-parser-perl"
[dependencies.tree-sitter-php]
version = "0.24.2"
[dependencies.tree-sitter-python]
version = "0.25"
[dependencies.tree-sitter-ruby]
version = "0.23.1"
[dependencies.tree-sitter-rust]
version = "=0.24.2"
[dependencies.tree-sitter-scss]
version = "1.0.0"
[dependencies.tree-sitter-swift]
version = "0.7.1"
[dependencies.tree-sitter-typescript]
version = "0.23.2"
[dependencies.zstd]
version = "0.14"
[dev-dependencies.criterion]
version = "0.8.2"
[dev-dependencies.filetime]
version = "0.2"
[dev-dependencies.once_cell]
version = "1"
[dev-dependencies.postcard]
version = "1.1"
features = ["use-std"]
[dev-dependencies.tempfile]
version = "3"
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Wdk_Storage_FileSystem",
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_IO",
"Win32_System_Threading",
]
[target."cfg(windows)".dev-dependencies.windows]
version = "0.62"
features = [
"Win32_System_Pipes",
"Win32_Security",
]
[lints.rust]
unsafe_code = "deny"
warnings = "deny"
[profile.release]
lto = true
codegen-units = 1
strip = true