emileriksenkeev turns entity compliance into a statutory calendar

This fork moves from keeping a checklist to generating recurring legal deadlines from an organisation's registration facts.

complianceworkflow

emileriksenkeev has added a rules-driven compliance calendar for the organisation's PH entities. It builds on earlier jurisdiction-aware entity records, using what the organisation knows about each entity and its registrations to determine which statutory obligations recur and when they fall due.

The important shift is practical: instead of treating compliance as a static list someone must interpret and maintain, the system can translate entity details into a calendar of expected filings and obligations. That makes the compliance view more useful as an operating tool, while keeping the underlying entity data central to the process.

So what Legal-ops teams that manage their own entity obligations in the same system should care, because this points toward a more structured way to spot recurring deadlines before they become fire drills.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

2 commits from emileriksenkeev/sydOS, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
2174d2a6 Compliance tracker: rules-engine statutory calendar for the PH entities emileriksenkeev 2026-07-16 ↗ GitHub
commit body
Deadline RULES live as data (compliance_rules), filings as FACTS
(compliance_filings); the calendar is generated at read time from
rules x entities joined against the ledger, so future due dates are
never stored and cannot go stale. Seeded from the RX Ventures
Compliance Tracker via tools/parse_compliance_tracker.py +
scripts/importComplianceTracker.ts (idempotent re-import).

- lib/complianceCalendar.ts: rule engine (BIR monthly/quarterly/annual,
  PhilHealth PEN windows, Pag-IBIG name-letter windows, SSS, SEC GIS
  by incorporation anniversary)
- GET /projects/entities/compliance, GET/POST per-entity calendar +
  filing endpoints
- GET /api/agent/compliance: structured read for Bry (x-agent-key)
- chat tools get_compliance_calendar / record_compliance_filing
- StatutoryCalendar UI on Entity Overview + Entities page

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
910e6346 Merge pull request #2 from emileriksenkeev/feat/compliance-tracker emileriksenkeev 2026-07-16 ↗ GitHub
Compliance tracker: rules-engine statutory calendar for the PH entities

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-914.md from inside the repo you want the changes in.

⬇ Download capture-thread-914.md