Skip to content

feat: legitimacy seam (ex-FDK) + Freedom Formal under decision-os meet - #8

Merged
Aliipou merged 11 commits into
mainfrom
with-legitimacy
Sep 16, 2026
Merged

Aliipou merged 11 commits into
mainfrom
with-legitimacy

Conversation

@Aliipou

@Aliipou Aliipou commented Aug 21, 2026 •

Copy link
Copy Markdown
Owner

What problem does this solve?

FDK was a confusing second product name; legitimacy must compose with AuthGate under decision-os meet without changing the TCB.

Why this approach?

Rename the seam to legitimacy, keep the PolicyDecision JSON contract, use Freedom Formal as the DENY-only evaluator, leave CallGate/Rust TCB untouched. Ruled out: merging norms into TCB, all-Rust FDK port, keeping FDK as a parallel brand.


TCB Gate

Skipped — this PR does not touch engine.rs, capability.rs, wire.rs, or crypto.rs.


General checklist

Design

  • Can this code be deleted later without surgery?
  • Is naming self-explanatory without a comment?
  • Can you explain the failure mode in one sentence?

Quality

  • Every new test verifies a real behavior, not just coverage
  • No new unwrap() / expect() in TCB files (clippy enforces this)

If AI-assisted

  • You read and understood every line before submitting
  • No auth/security/TCB code was taken from AI output without full review

Test plan

  • Local: pytest legitimacy + fdk + research + policy contract (45 passed)
  • PR checklist complete for CI gate
  • Difference report reviewed for positioning honesty

Branches

  • with-legitimacy — this PR
  • research/freedom-fullscope — same tip (lab)

alexanderthenth and others added 11 commits August 21, 2026 17:18
… meet

Keep AuthGate TCB unchanged. Legitimacy is DENY-only via PolicyDecision; Freedom Formal is the default evaluator. FDK module remains a compat shim. Add research/freedom-fullscope engine, tests, and branch docs for with vs without legitimacy.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Adds formal.yml and seccomp.yml CI jobs, rights-derived seccomp allowlists,
monotonic SessionClock helper, adversarial execve test, and updates README
and gap tables to match verified evidence on Linux CI.

Co-authored-by: Cursor <cursoragent@cursor.com>
… T-SC1

- Fix seccomp adversarial test script indentation (unblocks CI + Seccomp workflow)
- README engineering gaps: all closed/scoped; INFRA.md ties infra-ready to zero open gaps
- Lean: prove T-SC1 for non-trailing paths; add FreedomKernel.lean + lake CI job
- Honest DEPLOYMENT_READINESS D7 Lean counts

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
- Main README: What's new (Aug 2026), CI workflow table, honest formal status
- Add INDUSTRY_READINESS, KEY_MANAGEMENT, DISASTER_RECOVERY, MIGRATION
- Sync formal/, attack_harness/, tcb/, STATUS, BRANCHES, DEPLOYMENT_READINESS
- Deployment checklist 83% (code-addressable ops items closed)

Co-authored-by: Cursor <cursoragent@cursor.com>
Add banner clarifying local vs ecosystem-level positioning authority.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
AuthGate is the authority TCB. The book and philosopher edition live in Aliipou/freedom-theory.

Co-authored-by: Cursor <cursoragent@cursor.com>
Aliipou added a commit that referenced this pull request Sep 16, 2026
… merge

Kani (19 proved, CI-verified), Lean4 (partial - TCB/Temporal/MultiAgent
proved, 2 sorry in Scope.lean, 2 crypto axioms), and TLC (CI-verified,
formal/tlc_run.log) were stale/pessimistic on this page relative to what
just landed from PR #8. Still honest -- Lean4 stays flagged as partial,
not "fully proved".
@Aliipou
Aliipou merged commit d7d5527 into main Sep 16, 2026
18 checks 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