This roadmap is intentionally conservative. lfpolicy should stay small,
reviewable, and safe by default while it expands around real Lake Formation
policy workflows.
The first release focuses on the core guardrail loop:
- Offline desired/current state files in JSON and optional YAML.
- Importable
lint_desired(),audit(), andplan()APIs. - A short
lfpolicyCLI with validation, lint, audit, plan, review, snapshot, and explain workflows. - Conservative planning defaults that omit revokes and removals unless explicitly allowed.
- Optional boto3 integration for scoped read-only Lake Formation inventory.
- Text, JSON, Markdown, and SARIF reports for local review and CI artifacts.
Recent releases added adoption controls, named LF-Tag expressions, import scaffolding, stable plan JSON, review bundles, a small current-state provider interface, effective-access explanations, cache-backed live workflows, and data cells filter modeling. Version 0.9.0 removed lfpolicy-owned AWS write execution to keep the package advisory-only.
The most useful next improvements are:
- Harden the Python-native permission group authoring layer with more real-world examples, clearer validation messages, and migration guidance from hand-written desired state.
- More real-world examples for CI evidence, import adoption, exception lifecycle, Terraform/CDK coexistence, permission request bundles, LF-Tag policy grants, table-with-columns grants, data cells filters, and data location permissions.
- Broader
explaincoverage from real account snapshots, especially around column-level tags, data filters, and data-location-to-table evidence. - Better validation messages that point directly at the problematic field in a desired-state file.
- Additional report examples for pull request comments and scheduled governance reviews.
- More adapter tests around AWS pagination, not-found handling, and read-only import paths.
- Prune, hide, or avoid convenience features unless real users show they reduce review or operations friction.
Before widening the supported surface, lfpolicy should collect feedback on:
- Whether the desired-state shape is expressive enough for platform teams.
- Which Lake Formation resource kinds or grant patterns are missing.
- Which CI outputs are most useful for reviewers.
- How teams want to separate additive changes from destructive maintenance.
- Whether the Python API should expose more structured report helpers.
- Whether the permission group builder catches unsafe policy earlier and more clearly than raw desired-state lint alone.
lfpolicy should not become a general AWS provisioning framework. It should not
replace Terraform, CloudFormation, CDK, IAM administration, Lake Formation
administration, or account security controls.
It should continue to keep audit and planning deterministic and AWS-free, with all live AWS calls isolated in the adapter layer.
Good first contributions are usually small and explicit:
- Add a focused example policy or report fixture.
- Improve an error message without changing behavior.
- Add a test for an existing planner, audit, or adapter path.
- Document an adoption pattern from a real platform workflow.
For code changes, keep the package boundaries in
architecture.md and the safety rules in
safety-model.md intact.