Skip to content

Commit e9d102c

Browse files
proof: make Phronesis.agda compile; integrate echo-types (#39)
* proof: make Phronesis.agda compile; integrate echo-types (verdict provenance) Phronesis.agda now type-checks (exit 0) for the first time. Root fixes: ctx-cons _,_ -> _,,_ (mixfix ambiguity vs Data.Product._,_); drop two illegal using+renaming repeats; complete the unsound/incomplete _≟ᵗ_ into a sound total decidable type-equality (mutual _≟ᵗ_/_≟ᶠ_); fix _<ᵛ_ precedence+inference (Bool!=<ℤ). PhronesisEcho.agda: an ethical verdict's provenance IS `Echo verdict v` — verdict-forgets-provenance is the auditable-ethics headline. Machine-checked vs real echo-types; adds phronesis-formal.agda-lib (depend: echo-types). https://claude.ai/code/session_01DQACj3RFmAPZaBPgR9SAaS * fix(ci): codeql language matrix javascript-typescript -> actions; rm stale rot CodeQL analyze hard-failed 'no source files': phronesis is Elixir/Erlang (BEAM), not a CodeQL-supported language. Switch the matrix to `actions` (scans workflow YAML — always present), restoring real SAST coverage (Hypatia SAST finding). Also delete stale root artifacts flagged by Hypatia root_hygiene: ECOSYSTEM.scm.bak, META.scm.bak, SPEC.core.scm.orig. https://claude.ai/code/session_01DQACj3RFmAPZaBPgR9SAaS --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent fcf5b08 commit e9d102c

7 files changed

Lines changed: 230 additions & 557 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,11 @@ jobs:
2828
fail-fast: false
2929
matrix:
3030
include:
31-
- language: javascript-typescript
31+
# Phronesis is Elixir/Erlang (BEAM) — not a CodeQL-supported source
32+
# language, so `javascript-typescript` made `analyze` exit
33+
# "no source files" on every run. `actions` scans the workflow YAML
34+
# (always present), giving real SAST coverage. (Hypatia: SAST check.)
35+
- language: actions
3236
build-mode: none
3337
steps:
3438
- name: Checkout

ECOSYSTEM.scm.bak

Lines changed: 0 additions & 20 deletions
This file was deleted.

META.scm.bak

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)