Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.go text eol=lf
79 changes: 79 additions & 0 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
name: verify

on:
pull_request:
push:
branches: [main]

permissions:
contents: read

jobs:
test:
name: test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
timeout-minutes: 15
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.x"
cache: true
- name: Check formatting
shell: bash
run: test -z "$(gofmt -l .)"
- name: Vet
run: go vet ./...
- name: Test
run: go test ./...
- name: Build evalctl
run: go build ./cmd/evalctl

race:
name: race
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.x"
cache: true
- run: go test -race ./...

surface:
name: clean-slate surface
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- name: Reject removed product and compatibility surfaces
shell: bash
run: |
test ! -e .codex-plugin
test ! -e skills
test ! -e fixtures
test ! -e templates
test ! -e toolkit-module.json
test ! -e requirements-dev.txt
test ! -e scripts/verify.sh
test ! -e internal/analyze
test "$(find schemas -type f | wc -l | tr -d ' ')" = "1"
test -f schemas/experiment-v1.schema.json
! rg -n 'eval-observation|observations\.jsonl|task_id|supersedes|observe-draft-v2' cmd internal schemas go.mod
! rg -n 'runValidate|runSummarize|runCompare|case "(validate|summarize|compare)"' cmd internal/cli --glob '!**/*_test.go'
! rg -n '/Users/[[:alnum:]_.-]+/' . --hidden --glob '!.git/**'
- name: Verify legacy privacy quarantine
shell: bash
run: |
mkdir -p reports/private
printf '%s\n' canary > observations.jsonl
printf '%s\n' canary > reports/private/canary.jsonl
test -z "$(git ls-files -- observations.jsonl reports/private)"
git check-ignore --quiet observations.jsonl
git check-ignore --quiet reports/private/canary.jsonl
test -z "$(git add --dry-run -A)"
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
.DS_Store
.venv/
.local/

# Raw or generated evaluation data must not be tracked.
# Privacy quarantine for checkout-local data from legacy Eval versions.
/observations.jsonl
/reports/private/
/reports/generated/
/reports/drafts/

# Development and editor artifacts.
__pycache__/
*.py[cod]
*.tmp
Comment thread
jgoneit marked this conversation as resolved.
*.swp
coverage.out
Expand Down
61 changes: 0 additions & 61 deletions CHARTER.md

This file was deleted.

73 changes: 0 additions & 73 deletions PRIVACY.md

This file was deleted.

Loading
Loading