Add no-key Codex issue and PR workflow gates#3
Conversation
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
Compiler Throughput Phase 0 updateThis branch now also includes the approved Phase 0/M0 compiler-throughput foundation:
Verification passed:
Coordinator checkpoints: |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 1.1 is now pushed in 98ee54a.
Verification passed: focused artifact tests, relevant compiler/parser tests, behavioral benchmark tests, full compile/load benchmark matrix with five samples, scripts/check-fast, scripts/check, CGO_ENABLED=0 go build ./..., focused race tests, and the full non-allocation race suite. The literal go test -race ./... command reaches no race report, but fails five existing allocation-budget assertions because race instrumentation adds allocations. Those budgets and unrelated interpreter changes were left untouched. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 1.2 is pushed in d1222b5.
Measured results from the same five-sample matrix:
Verification passed: focused red-green tracers, compiler/parser/optimizer suites, runtime benchmark-result checks, root lane, full five-sample compile/load benchmark matrix, scripts/check-fast, scripts/check, CGO_ENABLED=0 go build ./..., and a detached staged-patch test without the unrelated dirty interpreter changes. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 1.3 is complete in 9b50702.
Observed compile results versus Phase 1.2 on the focused closure case: about 35.8us -> 33.0us, 493 -> 474 allocations, and 2141 -> 1661 prototype bytes. The 10k straight-line case is now about 651,168 prototype bytes versus about 1,683,600 at Phase 1.1. Verification: focused diagnostics/budget/compiler tests, broad compiler and behavior tests, CGO_ENABLED=0 go build ./..., scripts/check-lane root, scripts/check-fast, scripts/check, compile/load benchmark suite, and a clean detached-worktree test of the exact staged patch. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 1.4 is complete in 2b21eee.
Measured versus Phase 1.3: tiny arithmetic 400 -> 394 allocs/op; closure/upvalue 474 -> 462 allocs/op; straight-line/1000 about 45.3 ms and 5.09 MB -> about 42.5 ms and 4.95 MB. Verification: focused assembly/source-line/allocation tests, broad compiler/parser/binder/optimizer/proto tests, Top10/Classic/Scenario semantics, CGO_ENABLED=0 go build ./..., scripts/check-lane root, scripts/check-fast, scripts/check, the full compile/load benchmark matrix at count=5, and a detached-worktree verification of the exact staged patch. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 2.1 is complete in e0ff80d.
Measured versus Phase 1.4: tiny arithmetic about 31.4us / 394 allocs -> about 21.7us / 202 allocs; closure/upvalue about 32.5us / 462 allocs -> about 23.8us / 290 allocs; straight-line/1000 40,244 -> 16,196 allocs. The full count=5 matrix passed and showed broad allocation reductions. Verification: focused exhaustive register-effect and allocation tests, broad compiler/optimizer/proto/liveness tests, Top10/Classic/Scenario semantics, CGO_ENABLED=0 go build ./..., scripts/check-lane root, scripts/check-fast, scripts/check, full compile/load benchmark matrix count=5, and detached-worktree verification of the exact staged patch. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 2.2 is complete in 6cf9f03.
Measured versus Phase 2.1: tiny 202 -> 159 allocs; closure/upvalue 290 -> 202; branch-dense 86,060 -> 22,904; straight-line/1000 16,196 -> 14,165. The full count=5 matrix passed with broad time and allocation improvements on scenario sources. Verification: focused dense-set/liveness/allocation tests, broad compiler/optimizer/proto tests, Top10/Classic/Scenario semantics, CGO_ENABLED=0 go build ./..., scripts/check-lane root, scripts/check-fast, scripts/check, full compile/load benchmark matrix count=5, and detached-worktree verification of the exact staged patch. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 2.3 is complete in 89f41c7.
Measured versus Phase 2.2: tiny about 19.5us -> 16.7-17.7us, branch-dense about 29.8ms -> about 28.0ms in the count=5 matrix, and closure/upvalue about 19.6us -> about 17.3us. Tiny allocations are 155 and straight-line/1000 is 14,157. Verification: focused cache/dataflow/allocation tests, broad compiler/optimizer/proto/liveness tests, Top10/Classic/Scenario semantics, CGO_ENABLED=0 go build ./..., scripts/check-lane root, scripts/check-fast, scripts/check, full compile/load benchmark matrix count=5, and detached-worktree verification of the exact staged patch. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 2.4 is complete in 673714e.
Measured versus Phase 2.3: the jump-chain tracer fell from 266 allocations to <=20; branch-dense allocations fell 20,269 -> 16,669. Small/straight-line allocations remained stable, while scenario rows in the count=5 matrix showed further broad reductions. Verification: focused control-flow and allocation tests, broad compiler/optimizer/proto/bytecode tests, Top10/Classic/Scenario semantics, CGO_ENABLED=0 go build ./..., scripts/check-lane root, scripts/check-fast, scripts/check, full compile/load benchmark matrix count=5, and detached-worktree verification of the exact staged patch. |
|
Phase 2 gate passed against committed Phase 0 checkpoint 8ac46c2 across all 45 BenchmarkCompileMatrix cases (same machine, 100ms bench time, count=1 gate run):
The count=5 Phase 2.4 matrix and all semantic/check gates also passed. Phase 2 is therefore closed; work can advance to Phase 3.1. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 3.1 is complete in 2235955.
Verification:
|
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 3.2 is complete in 5526044.
Verification:
|
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 3.3 is complete in f3915a7.
Verification:
|
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 3.4 is complete in 2e75625.
Verification:
|
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 4 opcode diet is pushed in
Runtime A/B (10 alternating paired samples, one CPU):
Verification:
|
|
Phase 4 opcode diet is pushed in .\n\n- Reduced the compiler opcode set from 78 to 71.\n- Removed compiler-unreachable NOOP, generic GET_FIELD, and dedicated COROUTINE_RESUME operations.\n- Canonicalized the four string-field truth/nil branches through GET_STRING_FIELD plus generic comparison/branch operations.\n- Preserved established wire IDs as invalid holes so existing hot dispatch IDs do not shift.\n- Removed five compiler shape-state maps, their deep-copy/inference machinery, dead row matchers, the no-op row fusion pass, unused table-key call recognition, and dormant Fibonacci recognition.\n- Net: 230 insertions / 1,466 deletions.\n\nRuntime A/B (10 alternating paired samples, one CPU):\n- suite geomean: -0.04%\n- RunStringFieldReads: ~-1.5%, statistically flat\n- bytes/op: unchanged\n- allocs/op: unchanged\n\nVerification:\n- ok github.com/besmpl/ember 35.460s\n- \n- Top10 / Classic / Scenario behavior and allocation gates\n- ok github.com/besmpl/ember 35.938s\n- ok github.com/besmpl/ember 36.532s |
|
Phase 4 follow-up opcode experiments complete against
Allocations were unchanged in all runtime comparisons. The committed Phase 4 result therefore remains the evidence-supported 71-opcode set; no temporary experiment changes were retained. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
Phase 5.1 landed in What changed:
Paired A/B evidence vs
Exact required five-count compile/load sweep passed in 450s. Representative medians: tiny arithmetic ~17.1µs / 132 allocs / 2 instructions; Verification:
|
Summary
Changed files
Removed files
Tests run
Security notes
Risks
Out of scope