[package]
edition = "2021"
name = "pushkin"
version = "0.2.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Schema-first enforcement harness that gates AI coding agents' file writes against project contracts"
readme = "README.md"
license = "MIT"
repository = "https://github.com/acoletti/pushkin"
[[bin]]
name = "pushkin"
path = "src/main.rs"
[[test]]
name = "adapter_doctor_portability"
path = "tests/adapter_doctor_portability.rs"
[[test]]
name = "adapter_guard"
path = "tests/adapter_guard.rs"
[[test]]
name = "adapter_portability"
path = "tests/adapter_portability.rs"
[[test]]
name = "affected"
path = "tests/affected.rs"
[[test]]
name = "agent_family_selection"
path = "tests/agent_family_selection.rs"
[[test]]
name = "agents_md"
path = "tests/agents_md.rs"
[[test]]
name = "auggie_content_synthesis"
path = "tests/auggie_content_synthesis.rs"
[[test]]
name = "auggie_fragment_verdict"
path = "tests/auggie_fragment_verdict.rs"
[[test]]
name = "authoring_and_stop"
path = "tests/authoring_and_stop.rs"
[[test]]
name = "bash_read_gate"
path = "tests/bash_read_gate.rs"
[[test]]
name = "bash_read_gate_normalization"
path = "tests/bash_read_gate_normalization.rs"
[[test]]
name = "bash_read_gate_verbs"
path = "tests/bash_read_gate_verbs.rs"
[[test]]
name = "bench_latency"
path = "tests/bench_latency.rs"
[[test]]
name = "check_staged"
path = "tests/check_staged.rs"
[[test]]
name = "ci_db_drift_detect"
path = "tests/ci_db_drift_detect.rs"
[[test]]
name = "claude_content_synthesis"
path = "tests/claude_content_synthesis.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "codex_hook_trust_notice"
path = "tests/codex_hook_trust_notice.rs"
[[test]]
name = "codex_hunk_synthesis"
path = "tests/codex_hunk_synthesis.rs"
[[test]]
name = "codex_patch_delete_rename"
path = "tests/codex_patch_delete_rename.rs"
[[test]]
name = "codex_patch_hunk_verdict"
path = "tests/codex_patch_hunk_verdict.rs"
[[test]]
name = "command_convention"
path = "tests/command_convention.rs"
[[test]]
name = "compression"
path = "tests/compression.rs"
[[test]]
name = "consent_rename"
path = "tests/consent_rename.rs"
[[test]]
name = "daemon_doctor"
path = "tests/daemon_doctor.rs"
[[test]]
name = "daemon_lifecycle"
path = "tests/daemon_lifecycle.rs"
[[test]]
name = "daemon_regen"
path = "tests/daemon_regen.rs"
[[test]]
name = "daemon_reload_predicate"
path = "tests/daemon_reload_predicate.rs"
[[test]]
name = "daemon_shim"
path = "tests/daemon_shim.rs"
[[test]]
name = "db_drift"
path = "tests/db_drift.rs"
[[test]]
name = "db_drift_devurl"
path = "tests/db_drift_devurl.rs"
[[test]]
name = "doctor_agents"
path = "tests/doctor_agents.rs"
[[test]]
name = "doctor_manifest_skew"
path = "tests/doctor_manifest_skew.rs"
[[test]]
name = "doctor_nested_manifest"
path = "tests/doctor_nested_manifest.rs"
[[test]]
name = "doctor_repair_exit"
path = "tests/doctor_repair_exit.rs"
[[test]]
name = "edit_multiedit_fail_open"
path = "tests/edit_multiedit_fail_open.rs"
[[test]]
name = "epoch_manifest"
path = "tests/epoch_manifest.rs"
[[test]]
name = "facade_boundary"
path = "tests/facade_boundary.rs"
[[test]]
name = "features_git_hooks"
path = "tests/features_git_hooks.rs"
[[test]]
name = "floor_ci_parity"
path = "tests/floor_ci_parity.rs"
[[test]]
name = "floor_degradation_note"
path = "tests/floor_degradation_note.rs"
[[test]]
name = "floor_machine_inputs"
path = "tests/floor_machine_inputs.rs"
[[test]]
name = "floor_on_stop"
path = "tests/floor_on_stop.rs"
[[test]]
name = "floor_skip_load_disclosure"
path = "tests/floor_skip_load_disclosure.rs"
[[test]]
name = "floor_verb"
path = "tests/floor_verb.rs"
[[test]]
name = "gate_dispatch_conformance"
path = "tests/gate_dispatch_conformance.rs"
[[test]]
name = "git_shim"
path = "tests/git_shim.rs"
[[test]]
name = "hermes_content_synthesis"
path = "tests/hermes_content_synthesis.rs"
[[test]]
name = "hermes_opencode_content_absent"
path = "tests/hermes_opencode_content_absent.rs"
[[test]]
name = "hook_manifest_skew_deny"
path = "tests/hook_manifest_skew_deny.rs"
[[test]]
name = "hook_verdicts"
path = "tests/hook_verdicts.rs"
[[test]]
name = "install_doctor"
path = "tests/install_doctor.rs"
[[test]]
name = "instructions_channels"
path = "tests/instructions_channels.rs"
[[test]]
name = "ladder"
path = "tests/ladder.rs"
[[test]]
name = "lefthook_doctor_versions"
path = "tests/lefthook_doctor_versions.rs"
[[test]]
name = "lefthook_fail_open"
path = "tests/lefthook_fail_open.rs"
[[test]]
name = "lefthook_floor"
path = "tests/lefthook_floor.rs"
[[test]]
name = "lefthook_install_hint"
path = "tests/lefthook_install_hint.rs"
[[test]]
name = "lefthook_litter_doctor"
path = "tests/lefthook_litter_doctor.rs"
[[test]]
name = "lefthook_marker_generations"
path = "tests/lefthook_marker_generations.rs"
[[test]]
name = "lefthook_orphans_ownership"
path = "tests/lefthook_orphans_ownership.rs"
[[test]]
name = "lefthook_repair_advisory"
path = "tests/lefthook_repair_advisory.rs"
[[test]]
name = "lefthook_structure_aware"
path = "tests/lefthook_structure_aware.rs"
[[test]]
name = "legacy_migration"
path = "tests/legacy_migration.rs"
[[test]]
name = "manifest_resolution"
path = "tests/manifest_resolution.rs"
[[test]]
name = "nested_manifest_waiver_parity"
path = "tests/nested_manifest_waiver_parity.rs"
[[test]]
name = "nested_manifest_write"
path = "tests/nested_manifest_write.rs"
[[test]]
name = "nudges"
path = "tests/nudges.rs"
[[test]]
name = "opencode_apply_patch"
path = "tests/opencode_apply_patch.rs"
[[test]]
name = "opencode_content_synthesis"
path = "tests/opencode_content_synthesis.rs"
[[test]]
name = "peer_board"
path = "tests/peer_board.rs"
[[test]]
name = "protected_floor"
path = "tests/protected_floor.rs"
[[test]]
name = "read_contract"
path = "tests/read_contract.rs"
[[test]]
name = "read_only_paths_gate"
path = "tests/read_only_paths_gate.rs"
[[test]]
name = "report"
path = "tests/report.rs"
[[test]]
name = "session_lifecycle"
path = "tests/session_lifecycle.rs"
[[test]]
name = "shape2_decide_equivalence"
path = "tests/shape2_decide_equivalence.rs"
[[test]]
name = "shell_redirect_write"
path = "tests/shell_redirect_write.rs"
[[test]]
name = "skill_citations"
path = "tests/skill_citations.rs"
[[test]]
name = "staged_new_read_only_lint"
path = "tests/staged_new_read_only_lint.rs"
[[test]]
name = "staged_protected_notice"
path = "tests/staged_protected_notice.rs"
[[test]]
name = "stats"
path = "tests/stats.rs"
[[test]]
name = "stop_encoding"
path = "tests/stop_encoding.rs"
[[test]]
name = "stop_floor_parity"
path = "tests/stop_floor_parity.rs"
[[test]]
name = "unreadable_payload_failclosed"
path = "tests/unreadable_payload_failclosed.rs"
[[test]]
name = "waivers"
path = "tests/waivers.rs"
[[test]]
name = "warm_path_disclosure"
path = "tests/warm_path_disclosure.rs"
[[test]]
name = "worktree_policy"
path = "tests/worktree_policy.rs"
[dependencies.anyhow]
version = "=1.0.103"
[dependencies.clap]
version = "=4.5.51"
features = ["derive"]
[dependencies.pushkin-compiler]
version = "=0.2.1"
[dependencies.pushkin-core]
version = "=0.2.1"
[dependencies.pushkin-daemon]
version = "=0.2.1"
[dependencies.serde_json]
version = "=1.0.151"
[dev-dependencies.assert_cmd]
version = "=2.0.17"
[dev-dependencies.predicates]
version = "=3.1.3"
[dev-dependencies.rusqlite]
version = "=0.37.0"
features = ["bundled"]
[dev-dependencies.tempfile]
version = "=3.23.0"
[lints.clippy]
expect_used = "deny"
panic = "deny"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"