Skip to content

Modernize contract drafting and unify every PDF template - #1

Merged
longevityboris merged 3 commits into
mainfrom
codex/contract-cli-modernization
Sep 10, 2026
Merged

longevityboris merged 3 commits into
mainfrom
codex/contract-cli-modernization

Conversation

@longevityboris

@longevityboris longevityboris commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Contract PDFs now share one typographic system across all ten designs and seven document kinds: optically sized bundled fonts, a narrower reading column, hanging clause numbers, clear paragraph and list spacing, stable heading gaps and usable signature fields. Page layout protects short paragraphs and list introductions, keeps compound title words intact, and groups closing clauses with execution when they fit. Long party names and email addresses wrap cleanly.

Adds explicit UK, US, Singapore and cross-border legal profiles and technology/design/startup clause packs. Current wording covers IP, liability, confidentiality, notices, data handling and execution; headings use consistent sentence case and dense provisions are divided at topic boundaries. NCNDA and loan creation work against the shared legacy database. Older contracts retain their recorded clause-pack versions.

The rendering pipeline preserves wrapped content, reads cached fonts directly, excludes internal notes and replaces the destination only after successful compilation. Lifecycle controls lock edits after a recorded signature; law, terms and paths receive stricter validation. The Rust stack is updated with a committed dependency lockfile.

Validation: 32 Rust tests, strict Clippy and formatting, release build, dependency audit without reported advisories, agent CLI conformance and 77 PDF checks. The PDF matrix covers all 10 templates × 7 kinds, specialised packs, US Letter, long custom content, long legal names, text bounds, missing-term rejection and preservation after compiler failure. Visual review covered all ten designs and seven kinds, with corrected final previews checked again. CI runs lint, tests, conformance and PDF checks with pinned actions and finance-core revision.

Legal profiles supply limited law, venue and notice choices; the source-linked legal scope document records their limits. Signature commands remain administrative records. Examples are fictional; private databases, personal details and exports are excluded.

@longevityboris longevityboris changed the title Modernize contract drafting, legal profiles and PDF rendering Modernize contract drafting and unify every PDF template Sep 10, 2026
@longevityboris
longevityboris merged commit 6f09c2a into main Sep 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants