# contract-deadlines

Turn a contract's term, renewal-notice and payment periods into a dated deadline list and a calendar file

- **Space:** legal-ops-public (https://github.com/Tech-Realm/space-legal-ops-public/tree/main/contract-deadlines)
- **Level:** L2 (as the registry reports it)
- **Keys it needs (names only):** none
- **Tools:** python3
- **Routes:** local-python; checks: 2
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use legal-ops-public/contract-deadlines` or MCP `get_pack legal-ops-public/contract-deadlines`
- **Files:** CHANGELOG.md, code/deadlines.py, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/fixtures/msa.txt, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (spec/SPEC.md)

## Goal

A CSV and .ics of key dates from a contract: term end, last day to give non-renewal notice, payment due offset, confidentiality end, computed from the effective date.

Verified by: Fixture MSA effective 2026-03-01: term ends 2027-03-01, non-renewal notice deadline 2026-12-31, payment net 45.

## Steps

1. Run `python3 code/deadlines.py contract.txt 2026-03-01 out/deadlines.ics`.
2. Check each date against the clause text printed next to it.
3. Import the .ics into the team calendar with a reminder 14 days before each notice deadline.

## Edge cases

- Business-day vs calendar-day notice periods: this computes calendar days; adjust if the contract says business days.
- Month arithmetic clamps to the last day of shorter months.

## Don'ts

- Don't present the output as legal advice; a qualified lawyer reviews anything that will be signed.
- Don't rely on the calendar alone for termination notices; diarise them with an owner.



---

Canonical URL: https://logicpacks.io/packs/legal-ops-public/contract-deadlines

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
