compliance-agent-architecture — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited compliance-agent-architecture (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This extension covers the development of standalone compliance rule engines designed to eventually integrate with Workday via the "Built on Workday" Marketplace program. Each agent follows the same architecture pattern and connects to Workday through a thin bridge adapter.
Read this extension before building any new Workday-targeted compliance agent (ACA, multi-state tax, Davis-Bacon, or similar).
Every agent follows this structure:
agent-name/
├── SPEC.md # What this agent does, IRS/regulatory sources
├── TASKS.md # QRPBA task queue
├── .foundry.json # extensions: ["extend", "workday-agents"]
├── pyproject.toml # Python 3.10+, FastAPI, Pydantic, pytest
├── src/<package>/
│ ├── models/
│ │ ├── <domain>.py # Input: the record being audited (employee, worker, etc.)
│ │ └── finding.py # Output: audit findings with severity, citation, remediation
│ ├── rules/
│ │ ├── __init__.py # ALL_RULE_CHECKS list aggregating all modules
│ │ ├── <category_1>.py # One module per rule category
│ │ ├── <category_2>.py # Each exports check_<category>_rules(record) -> list[Finding]
│ │ └── ...
│ ├── engine/
│ │ └── auditor.py # Stateless engine: loops ALL_RULE_CHECKS over records
│ ├── api/
│ │ └── routes.py # FastAPI: POST /audit, GET /health, GET /findings/{id}
│ └── bridge/
│ └── workday.py # Phase 2 stub: NotImplementedError, scopes documented
├── tests/
│ ├── conftest.py # Fixture: engine instance
│ ├── fixtures/
│ │ └── scenarios.py # Regulatory-derived test scenarios with known outcomes
│ ├── test_<category>.py # One test file per rule category
│ └── test_api.py # Endpoint tests
└── .buildloop/check_<category>_rules(record: InputModel) -> list[AuditFinding]CATEGORY-NNN (e.g., REHIRE-001, NEXUS-003, SAFE-002)field_validatorytd_days_by_state, current_allocations)| Agent | Repo | Rules | Tests | Status |
|---|---|---|---|---|
| ACA Edge-Case Auditor | ~/homelab/aca-auditor | 22 finding IDs across 5 modules | 21 | Phase 1 complete |
| Multi-State Tax Allocator | ~/homelab/multistate-tax | 14 finding IDs across 4 modules + 31-state matrix | 23 | Phase 1 complete |
foundry in the directory)| Priority | Agent | Repo | Regulatory Source | Key Selling Point |
|---|---|---|---|---|
| 1 | I-9 Re-verification | ~/homelab/i9-reverification | 8 CFR 274a | $288-$28,619/violation, ICE running 12K+ audits/year |
| 2 | FLSA Exemption Auditor | ~/homelab/flsa-exemption | 29 CFR 541 | Universal market, class action exposure, Workday stores a static flag only |
| 3 | PFML Cross-State | ~/homelab/pfml-crossstate | 14 state statutes | Companion to multistate-tax, market growing yearly |
| 4 | FMLA Eligibility | ~/homelab/fmla-eligibility | 29 CFR 825 | Huge market, litigation avoidance (softer ROI story) |
| Agent | Reason |
|---|---|
| Workers' Comp Classification | Rule data is proprietary (NCCI), judgment is subjective, penalty is premium adjustment |
| COBRA Continuation | Workday + ecosystem already covers well, penalties modest |
| Grant Effort Reconciliation | Too niche (higher ed only), Workday has dedicated Grants module |
plugins/workday-agents/skills/<slug>/SKILL.md~/.foundry/skills/<slug>/SKILL.md~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.