How bcancapar-spec/ortak-avukat works
Ortak Avukat is a Turkish-law co-counsel methodology plugin: the model performs legal reasoning, while deterministic Python scripts extract and verify evidence, check procedure and deadlines, and validate the final filing. The documented workflow begins with case-folder ingestion, records persistent case memory, supports legal and factual analysis, then drafts and mechanically checks a filing before producing a delivery receipt; the lawyer retains the final decision. The README also documents contract review, confidentiality, and training capabilities. Edges follow documented workflow or shown imports; many subsystem internals were not sampled.
Main entry points: pipeline_kayit.py Workflow and audit ledger · oa_ingest.py Document ingestion · vakia_matris.py Fact analysis · dilekce_denetim.py Draft validation
Components 22
Case intake
- Document ingestion
plugins/ortak-avukat/skills/oa-ingest/scripts/oa_ingest.py - Document security
plugins/ortak-avukat/skills/oa-ingest/scripts/belge_guvenlik.py - Confidentiality scan
plugins/ortak-avukat/skills/oa-gizlilik/scripts/gizlilik_tara.py - Deadline calculation
plugins/ortak-avukat/skills/oa-sure/scripts/hesapla_sure.py
Legal analysis
- Procedure analysis
plugins/ortak-avukat/skills/oa-usul/scripts/usul_matris.py - Fact analysis
plugins/ortak-avukat/skills/oa-vakia/scripts/vakia_matris.py - Evidence planning
plugins/ortak-avukat/skills/oa-vakia/scripts/delil_plani.py - Causation analysis
plugins/ortak-avukat/skills/oa-illiyet/scripts/grafik_denetim.py - Case-law reasoning check
plugins/ortak-avukat/skills/oa-kontrol/scripts/ictihat_muhakeme_denetim.py - Citation verification
plugins/ortak-avukat/skills/oa-kontrol/scripts/kunye_teyit.py - Citation normalization
plugins/ortak-avukat/skills/oa-kontrol/scripts/kunye_ortak.py - Appeal-route chain
plugins/ortak-avukat/skills/oa-ictihat/scripts/kanun_yolu_zinciri.py - Contract review
plugins/ortak-avukat/skills/oa-sozlesme/scripts/sozlesme_denetim.py
Work product
- Petition drafting
plugins/ortak-avukat/skills/oa-dilekce/scripts/udf_yaz.py
Controls and delivery
- Draft validation
plugins/ortak-avukat/skills/oa-dilekce/scripts/dilekce_denetim.py - Delivery receipt
plugins/ortak-avukat/skills/oa-kontrol/scripts/teslim_paketi.py
Persistent support
- Workflow and audit ledger
plugins/ortak-avukat/skills/oa-pipeline/scripts/pipeline_kayit.py - Case memory
plugins/ortak-avukat/skills/oa-pipeline/scripts/oa_hafiza.py - Learning validation
plugins/ortak-avukat/skills/oa-usta/scripts/aile_dogrula.py
Other components
- Lawyer
- UYAP case files
- Language model
Connections 25
- Lawyer → UYAP case files: supplies files
README.md - UYAP case files → Document ingestion: provides documents
README.md - Workflow and audit ledger → Document ingestion: runs intake
README.md - Document ingestion → Document security: screens documents
- Document ingestion → Confidentiality scan: checks confidentiality
- Workflow and audit ledger → Deadline calculation: runs deadline work
README.md - Workflow and audit ledger → Procedure analysis: runs procedure analysis
README.md - Workflow and audit ledger → Fact analysis: runs case analysis
README.md - Workflow and audit ledger → Case-law reasoning check: runs legal checks
README.md - Case-law reasoning check → Citation normalization: uses normalization
plugins/ortak-avukat/skills/oa-kontrol/scripts/ictihat_muhakeme_denetim.py - Citation verification → Citation normalization: uses normalization
plugins/ortak-avukat/skills/oa-kontrol/scripts/kunye_teyit.py - Workflow and audit ledger → Appeal-route chain: runs research
- Workflow and audit ledger → Contract review: runs review
- Language model → Fact analysis: reasons about facts
README.md - Language model → Petition drafting: composes draft
README.md - Fact analysis → Evidence planning: informs planning
- Fact analysis → Causation analysis: informs analysis
- Petition drafting → Draft validation: submits for check
README.md - Workflow and audit ledger → Draft validation: runs pre-delivery checks
README.md - Draft validation → Delivery receipt: supports receipt
README.md - Workflow and audit ledger → Delivery receipt: records workflow evidence
README.md - Workflow and audit ledger → Case memory: records case analysis
README.md - Case memory → Language model: supplies prior case record
README.md - Lawyer → Delivery receipt: reviews delivery
- Workflow and audit ledger → Learning validation: supports learning