Repository navigation
297 lines (292 loc) · 24.4 KB
/
Copy pathverify.yml
File metadata and controls
297 lines (292 loc) · 24.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
name: Verify TheoremOS
on:
pull_request:
branches: [main]
push:
branches: [main]
workflow_dispatch:
workflow_call:
inputs:
full:
description: Run the extended browser suites
type: boolean
default: false
permissions:
contents: read
jobs:
verify-rust:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.0
- name: Prepare namespace sandboxes for native process tests
run: |
sudo apt-get update
sudo apt-get install --yes --no-install-recommends bubblewrap
if [ -e /proc/sys/kernel/apparmor_restrict_unprivileged_userns ]; then
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
fi
- run: rustup toolchain install 1.95.0 --profile minimal --component clippy --component rustfmt
- run: cargo +1.95.0 fmt --all --check
- run: cargo +1.95.0 clippy --locked --workspace --all-targets -- -D warnings
- run: bun install --frozen-lockfile
- run: THEOREMOS_TEST_BUN_PARITY=1 cargo +1.95.0 test --locked --workspace --all-targets
- run: cargo +1.95.0 test --locked --test declarations -- --ignored
- run: cargo +1.95.0 build --locked --release --bins
- run: cargo +1.95.0 build --locked --release -p theoremos-process
- run: cargo +1.95.0 build --locked --release -p theoremos-web
- run: THEOREMOS_WEB_STATIC_ADDON="$PWD/target/release/libtheoremos_web.so" bunx vitest run tests/webStaticFiles.test.ts tests/webServer.test.ts tests/webCommunity.test.ts
- run: THEOREMOS_WEB_DOCKER_HOST="$PWD/target/release/theoremos-web-docker" bunx vitest run tests/webRunner.test.ts tests/webFormalizationWorker.test.ts tests/webFormalizationAuditWorker.test.ts tests/webPaperRunner.test.ts
- run: bun scripts/test-native-web.ts
- run: bun scripts/test-native-informalize.ts
- run: bun scripts/test-native-doctor.ts
- run: bun scripts/test-native-build.ts
- run: THEOREMOS_WEB_ASSETS_BIN="$PWD/target/release/theoremos-web-assets" bun run build:web
- run: THEOREMOS_TEST_INFORMALIZE_CLI="$PWD/target/release/theorem-os" THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/informalization.test.ts tests/informalizeCli.test.ts tests/webExplanation.test.ts
- run: THEOREMOS_TEST_BINARY="$PWD/target/release/theorem-os" THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/formalizationEvaluation.test.ts tests/formalizationAdjudication.test.ts tests/formalizeCli.test.ts tests/formalizationElaboration.test.ts tests/nativeFormalizationCompiler.test.ts tests/directFormalizationWorkflow.test.ts tests/directFormalizationEvidence.test.ts
- run: THEOREMOS_TEST_CLI="$PWD/target/release/theorem-os" bunx vitest run tests/mathBatch.test.ts
- run: bun scripts/test-native-run-options.ts
- run: THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/formalizationSource.test.ts tests/formalizationAudit.test.ts tests/formalizationReviewIsolation.test.ts
- run: bun scripts/test-native-process.ts
- run: THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/responseUsageObserver.test.ts tests/formalizationRelay.test.ts tests/researchCredentialRelay.test.ts tests/codexIsolatedChild.test.ts
- run: bun scripts/test-native-archive.ts
- run: THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/evaluatorExecution.test.ts tests/solverBatchAttribution.test.ts tests/leanDiagnosticCapture.test.ts tests/leanToolchainNative.test.ts tests/leanSource.test.ts tests/sourceContextComments.test.ts tests/verifierToolIdentity.test.ts tests/leanLocalDependencies.test.ts tests/leanModuleBuild.test.ts tests/mathProofLease.test.ts tests/leanDiagnostics.test.ts tests/mathRuntimeEnvironment.test.ts tests/mathRetrievalCorpus.test.ts tests/mathProofEnvironment.test.ts tests/mathProofEnvironmentSeed.test.ts tests/verifierSealedEnvironmentCache.test.ts tests/proofReuseEnvironment.test.ts
- run: bun scripts/generate-native-archive-schema.ts --check
- run: bun scripts/test-native-task-bootstrap.ts
- run: THEOREMOS_TEST_CLI="$PWD/target/release/theorem-os" THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/inspection.test.ts tests/storedRunInspection.test.ts tests/contributionFlow.test.ts tests/solverProgress.test.ts tests/obligationProgress.test.ts tests/recovery.test.ts tests/singleContinuationSeed.test.ts
- run: bun scripts/test-native-edit.ts
- run: bun scripts/test-native-library.ts
- run: bun scripts/test-native-library-catalog.ts
- run: bun scripts/test-native-library-pack.ts
- run: bun scripts/test-native-knowledge.ts
- run: bun scripts/test-native-knowledge-pages.ts
- run: THEOREMOS_TEST_BINARY="$PWD/target/release/theorem-os" THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/autoLibrary.test.ts tests/autoLibraryHost.test.ts tests/autoLibraryUsage.test.ts tests/autoLibraryDemand.test.ts
- run: THEOREMOS_TEST_BINARY="$PWD/target/release/theorem-os" bunx vitest run tests/theoremKnowledgeAuthorization.test.ts tests/theoremKnowledgeRuns.test.ts tests/theoremKnowledgeFindings.test.ts tests/theoremKnowledgeEnrichment.test.ts
- run: bun scripts/generate-native-direct-instructions.ts --check
- run: bun scripts/generate-native-knowledge-schema.ts --check
- run: bun scripts/generate-native-task-environments.ts --check
- run: bun scripts/generate-native-knowledge-collectors.ts --check
- run: bun scripts/generate-native-formalization-queries.ts --check
- run: bun scripts/generate-native-evaluation-review-contracts.ts --check
- run: bun scripts/generate-native-informalization-protocol.ts --check
- run: THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" THEOREMOS_TEST_REVIEW_CLI="$PWD/target/release/theorem-os" bunx vitest run --maxWorkers=3 tests/formalizationReview.test.ts tests/formalizationReviewCli.test.ts tests/formalizationReviewV2.test.ts tests/formalizationReviewV2Runner.test.ts
- run: THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/directFormalizationEvidence.test.ts tests/formalizationCompiledCandidate.test.ts tests/formalizationWorkflow.test.ts tests/formalizationRetrievalWorkflow.test.ts tests/formalizationLibrarySymbolsWorkflow.test.ts tests/formalizationFidelityWorkflow.test.ts
- run: cargo +1.95.0 test --locked -p theoremos-solver --test direct_context -- --ignored
- run: bun scripts/test-native-lean-eval.ts
- name: Compare both pinned public Lean-Eval bootstrap revisions
run: |
git init -q "$RUNNER_TEMP/lean-eval-objects"
git -C "$RUNNER_TEMP/lean-eval-objects" fetch --depth=1 https://github.com/leanprover/lean-eval.git 38361be884302c7edce1908c4aef8296eb2cb27e 4ae7061fe4b0b70dcb7fe24fdee067b68636226b
bun scripts/test-native-eval-bootstrap.ts "$RUNNER_TEMP/lean-eval-objects"
- run: THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/leanTask.test.ts tests/leanEvalBootstrap.test.ts tests/leanEvalBenchmark.test.ts tests/libraryEffectivePack.test.ts tests/libraryHostConfig.test.ts tests/libraryPacks.test.ts tests/libraryLegacyBinding.test.ts tests/leanProbeSnapshot.test.ts
- run: bun scripts/test-native-health.ts
- run: bun scripts/test-native-lean-source.ts
- run: bun scripts/test-native-retrieval.ts
- run: THEOREMOS_TEST_BINARY="$PWD/target/release/theorem-os" bunx vitest run tests/huggingMathBundle.test.ts tests/huggingMathImports.test.ts tests/huggingMathClient.test.ts
- run: THEOREMOS_TEST_BINARY="$PWD/target/release/theorem-os" bunx vitest run tests/firstProofCli.test.ts tests/firstProofAutomation.test.ts tests/firstProof.test.ts
- run: THEOREMOS_TEST_BINARY="$PWD/target/release/theorem-os" bunx vitest run tests/comparisonReportSnapshot.test.ts tests/putnamSample.test.ts tests/moduleExperiment.test.ts tests/comparisonHarness.test.ts tests/comparisonSkillBaseline.test.ts tests/comparisonLeanTask.test.ts
- run: bun scripts/test-native-plan.ts
- run: bun scripts/test-native-continuation.ts
- run: THEOREMOS_TEST_AGENT_BINARY="$PWD/target/release/theorem-os-agent" THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/agentTools.test.ts
verify:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.0
- run: bun install --frozen-lockfile
- run: bun run check:docs
- run: bun run format:check
- run: bun run typecheck && bun run typecheck:web && bun run typecheck:site
- name: Verify account, job, persistence and operations boundaries without models
run: bunx vitest run --maxWorkers=4 tests/webAuth.test.ts tests/webSignup.test.ts tests/webAuthPolicy.test.ts tests/webQuota.test.ts tests/webAdmission.test.ts tests/webAdmissionRace.test.ts tests/webProviderCheck.test.ts tests/webI18n.test.ts tests/webFonts.test.ts tests/webKeyVault.test.ts tests/webJobs.test.ts tests/webLifecyclePersistence.test.ts tests/webCollaboration.test.ts tests/webConversations.test.ts tests/webExplain.test.ts tests/webPersistence.test.ts tests/webFormalizations.test.ts tests/webExplanation.test.ts tests/webExplanationServer.test.ts tests/webServer.test.ts tests/webRunStream.test.ts tests/webRunner.test.ts tests/webPrecheck.test.ts tests/webOperations.test.ts tests/webOperationsApi.test.ts tests/webOperationsScheduled.test.ts tests/webOperationsMonitor.test.ts
- name: Verify isolated provider routing and usage accounting without models
run: bunx vitest run --maxWorkers=4 tests/formalizationRelay.test.ts tests/formalizationReviewIsolation.test.ts tests/webFormalizationWorker.test.ts tests/codexSession.test.ts tests/codexSessionLifecycle.test.ts tests/codexSessionCheckpoint.test.ts tests/codexStreamIdle.test.ts tests/codexSessionNotifications.test.ts tests/mathProcess.test.ts tests/mathRuntimeLease.test.ts tests/mathRuntimeLeaseProcess.test.ts tests/formalization.test.ts tests/formalizationRecovery.test.ts tests/formalizationWorkflow.test.ts tests/formalizationLimits.test.ts tests/formalizationFidelityReference.test.ts
- name: Verify research recovery, participation and shared run snapshots
run: bunx vitest run --maxWorkers=4 tests/webRunSnapshot.test.ts tests/webResearchProjects.test.ts tests/webResearchApi.test.ts tests/webResearchAssets.test.ts tests/webResearchMathematics.test.ts tests/libraryPacks.test.ts tests/leanSource.test.ts
- name: Verify direct formalization and independent background review without models
run: bunx vitest run --maxWorkers=4 tests/directFormalizationEvidence.test.ts tests/directFormalizationWorkflow.test.ts tests/formalizationCoverage.test.ts tests/formalizationAudit.test.ts tests/formalizationContext.test.ts tests/formalizationPackagesWarmup.test.ts tests/mathProofEnvironmentSeed.test.ts tests/webFormalizationAuditWorker.test.ts tests/webFormalizationBackgroundReview.test.ts tests/webBackgroundReview.test.ts tests/webFormalizationProgress.test.ts tests/webThinkingProcess.test.ts tests/codexSessionInstructions.test.ts
- name: Verify session, draft, budget and archive recovery without models
run: bunx vitest run --maxWorkers=4 tests/webSessionCookies.test.ts tests/webResearchSession.test.ts tests/webDraft.test.ts tests/webLongRun.test.ts tests/researchPlanApproval.test.ts tests/archiveRecordNavigation.test.ts tests/globalTrajectory.test.ts tests/webChatDraft.test.ts tests/archiveSourceLocation.test.ts tests/taskPlanEditorAccess.test.ts
- run: bun run build && bun run build:web
- run: bunx playwright install --with-deps chromium
- name: Verify proof progress in the default simple reading
timeout-minutes: 5
run: bun scripts/e2e/test-web-proof-thinking.ts --simple-reading
- name: Verify login and the first research flow with local fixtures
run: bun run test:web-login && bun run test:web-natural-first
- name: Verify native team creation, approval and library continuation with local fixtures
run: bun scripts/e2e/test-web-native-team.ts && bun run test:web-plan-approval && bunx vitest run tests/webLibraryResearch.test.ts
- name: Verify paper drafting and download with local fixtures
run: bun scripts/e2e/test-web-paper.ts
- name: Verify formalization progress and background review in the browser
run: bun scripts/e2e/test-web-formalization-progress.ts && bunx vitest run tests/webBackgroundReviewWorkflow.test.ts
- name: Verify chat, saved keys, proof runs and explanations in the browser
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:web-chat-session && bun run test:web-chat-cancel-recovery && bun run test:web-key-memory && bun run test:web-saved-key && bun run test:web-solve-process && bun run test:web-review-regressions && bun run test:web-explain && bun run test:web-explain-recovery
- name: Verify research account switching and interrupted frontend operations
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-round5
- name: Verify session renewal, candidate review and route evidence readers
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-round6
- name: Verify delayed session responses and draft recovery
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-round7
- name: Verify archive budgets, saved keys, plan approvals and historical record navigation
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-round8
- name: Verify historical guidance, mobile controls and native route search input
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-round9
- name: Verify recovered guidance, message receipts, math readers and source links
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-round10
- name: Verify the complete proof thinking workflow in the browser
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun scripts/e2e/test-web-proof-thinking.ts
verify-research-workflows:
runs-on: ubuntu-24.04
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.0
- run: bun install --frozen-lockfile
- name: Verify product continuity, fixed proof reading and research navigation without models
run: bun run test:frontend-research-unit
- run: bun run build:web && bun run build:site
- run: bunx playwright install --with-deps chromium
- name: Verify single-step proof reading in the website and workbench archives
run: bun run test:proof-reading-navigation
- name: Verify the problem workspace, collaboration, library trials and public reading with disposable fixtures
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-product-continuity
- name: Verify installed libraries, archived problems, mathematical reading and login returns with disposable fixtures
if: github.event_name == 'workflow_dispatch' || inputs.full
run: bun run test:frontend-research-redesign && bun run test:site-research-entry
verify-solver:
runs-on: ubuntu-24.04
timeout-minutes: 45
strategy:
fail-fast: false
matrix:
lean: ['4.34.1', '4.36.0']
env:
THEOREMOS_TEST_LEAN_VERSION: ${{ matrix.lean }}
# Mocked project fixtures also probe elan; use the installed matrix release.
ELAN_TOOLCHAIN: leanprover/lean4:v${{ matrix.lean }}
steps:
- name: Free disk for the native Lean toolchain and solver fixtures
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL /usr/local/share/boost
sudo docker image prune --all --force
df -h /
- name: Prepare namespace sandboxes for native Lean checks
run: |
sudo apt-get update
sudo apt-get install --yes --no-install-recommends bubblewrap
# Ubuntu 24.04 restricts unprivileged user namespaces by default.
# Allow the verifier to create its isolated namespaces on this disposable CI VM.
if [ -e /proc/sys/kernel/apparmor_restrict_unprivileged_userns ]; then
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
fi
unshare --user --map-root-user --net --mount --pid --fork --kill-child=SIGKILL /bin/true
bwrap --unshare-all --die-with-parent --ro-bind / / --proc /proc --dev /dev -- /bin/true
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.4.0
- run: bun install --frozen-lockfile
- name: Install the pinned elan release
run: |
sh scripts/install-elan.sh
echo "$HOME/.elan/bin" >> "$GITHUB_PATH"
- uses: actions/cache@v4
with:
path: ~/.elan/toolchains
key: ${{ runner.os }}-solver-lean-${{ matrix.lean }}
- run: elan toolchain install "leanprover/lean4:v$THEOREMOS_TEST_LEAN_VERSION"
- run: elan run "leanprover/lean4:v$THEOREMOS_TEST_LEAN_VERSION" lean --version
- name: Run the README replay with native Lean and no model
if: matrix.lean == '4.36.0'
run: |
replay="$RUNNER_TEMP/readme-replay"
bun run math doctor --lean-only
bun run math example replay --dir "$replay"
bun run math inspect --run "$replay/result.json"
jq -e '.status == "evaluated_passed" and .source == "preset-replay" and .modelInvoked == false and .official == false' "$replay/summary.json"
- name: Verify solver timeout, recovery, projection and acceptance without models
run: bun run test:solver-reliability
- name: Resume native research after process death at each saved checkpoint
if: matrix.lean == '4.36.0'
run: |
elan toolchain install leanprover/lean4:v4.33.0
rustup toolchain install 1.95.0 --profile minimal
cargo +1.95.0 build --release --locked -p theoremos-process
ELAN_TOOLCHAIN=leanprover/lean4:v4.33.0 THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/skillProcessRecovery.test.ts
- name: Replay the native solver with Lean and external evaluator outcomes
if: matrix.lean == '4.36.0'
run: |
cargo +1.95.0 build --release --locked --bin theorem-os --bin theorem-os-agent
THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" THEOREMOS_TEST_REFERENCE_LEAN=1 bunx vitest run tests/formalizationAudit.test.ts -t "fixed local relay"
THEOREMOS_TEST_REFERENCE_LEAN=1 THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/informalizationLean.test.ts
bun scripts/test-native-check-lean.ts
bun scripts/generate-native-tutorial-contract.ts --check
bun scripts/test-native-auto-library.ts --online
bun scripts/test-native-https-role.ts
bun scripts/test-native-informalize.ts --online
bun scripts/test-native-formalize.ts
bun scripts/test-native-formalization-review.ts
THEOREMOS_TEST_RECOVERY_LEAN=1 THEOREMOS_TEST_CLI="$PWD/target/release/theorem-os" THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/recovery.test.ts
sudo apt-get install --yes --no-install-recommends squashfuse squashfs-tools fuse3
cargo +1.95.0 test --locked -p theorem-os --test sealed_image -- --ignored
THEOREMOS_TEST_SEED_LEAN=1 THEOREMOS_TEST_CLI="$PWD/target/release/theorem-os" THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/singleContinuationSeed.test.ts
bun scripts/test-native-startup.ts
THEOREMOS_TEST_PARENT_NET_NS="$(readlink /proc/self/ns/net)" bwrap --unshare-net --bind / / --dev-bind /dev /dev --proc /proc --chdir "$PWD" "$(command -v bun)" scripts/test-native-sub2api.ts
THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/agentTeamWorkspace.test.ts tests/agentTeamNativeControl.test.ts tests/agentTeamNativeLifecycle.test.ts tests/agentTeamSourceRecovery.test.ts
THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/projectionDependencyReview.test.ts tests/solverCompactProjection.test.ts tests/taskSourceProjection.test.ts tests/exactSourceIntegration.test.ts tests/leanDeclarationIdentity.test.ts tests/agentTeamProof.test.ts
THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run --maxWorkers=3 tests/projectionNotation.test.ts tests/taskSourceConditionalContext.test.ts tests/taskSourceImplicitInstances.test.ts tests/taskConditionalUniverses.test.ts tests/conditionalProjectionElaborator.test.ts tests/taskSourceNotationHints.test.ts tests/taskSourceNotationContext.test.ts tests/taskSourceMacroProjection.test.ts
bun scripts/test-native-solver.ts
bun scripts/test-native-team.ts --installed
THEOREMOS_TEST_PARENT_NET_NS="$(readlink /proc/self/ns/net)" bwrap --unshare-net --bind / / --dev-bind /dev /dev --proc /proc --chdir "$PWD" "$(command -v bun)" scripts/test-native-team.ts --sub2api
THEOREMOS_TEST_PROCESS_ADDON="$PWD/target/release/libtheoremos_process.so" bunx vitest run tests/solver.test.ts tests/solverSourceRecovery.test.ts
cargo +1.95.0 test --locked -p theorem-os --test statement -- --ignored
cargo +1.95.0 test --locked -p theoremos-solver --test proof -- --ignored
- name: Verify dependency snapshots and receipt cache bindings
run: bunx vitest run --maxWorkers=4 tests/verifierSealedEnvironmentCache.test.ts tests/mathProofEnvironment.test.ts tests/leanProbeSnapshot.test.ts
- name: Verify sealed roles, native team sessions and historical inspection without models
if: matrix.lean == '4.36.0'
run: THEOREMOS_TEST_CLI="$PWD/target/release/theorem-os" bunx vitest run --maxWorkers=1 tests/formalizationSandbox.test.ts tests/formalizationAudit.test.ts tests/agentSessionPlan.test.ts tests/codexSession.test.ts tests/skillRunInspection.test.ts tests/workflowHarness.test.ts tests/agentTeamTransportFallback.test.ts tests/codexSessionAgentControl.test.ts
- name: Verify projected proof contracts and retained source contexts
run: bunx vitest run --maxWorkers=4 tests/taskTypeContract.test.ts tests/projectionNotation.test.ts tests/taskSourceImplicitInstances.test.ts tests/taskSourceMacroProjection.test.ts tests/taskSourceNotationHints.test.ts tests/taskSourceNotationContext.test.ts
- name: Verify search tools, failure reuse and completed research delivery
run: bunx vitest run --maxWorkers=4 tests/declarationSearch.test.ts tests/continuationSearch.test.ts tests/tacticBatteryFailureCache.test.ts tests/codexCompletedResponse.test.ts
- name: Verify definition contracts, conditional publication and research continuation
run: bunx vitest run --maxWorkers=4 tests/conditionalProjectionElaborator.test.ts tests/customSolverModules.test.ts tests/definitionContractChecks.test.ts tests/nextCheckNegativeDecisions.test.ts tests/planResearchConnections.test.ts tests/planningEvidence.test.ts tests/solver.test.ts tests/taskConditionalUniverses.test.ts tests/taskSourceConditionalContext.test.ts tests/webModuleIdentity.test.ts