You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apply research changes, ICPC benchmark results, and Baton integration
Research changes from Papers XVI-XXIV:
- Context fence in render_handoff_brief() with domain priming
- Learnings-as-vocabulary in with_learnings() (conversational format)
- Strategic context extraction in _build_strategic_context()
- Executable script guidance in implementer prompt
- Pydantic model_validator for LLM type coercion in schemas
Benchmark: Pact scores 212/212 (100%) on 5 ICPC World Finals problems
vs Claude Code single-shot 79% and iterative 92%. The contract-first
pipeline forces upfront analysis that produces correct algorithms where
iterative prompting cannot recover from fundamentally wrong approaches.
Adds benchmark results to README and landing page. Adds Baton
(circuit orchestration) as companion tool for running Pact-produced
components in production topologies.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pact's contract-first pipeline solves problems that iterative prompting cannot. On **Trailing Digits** (2020 World Finals), Claude Code scores 31/47 even with 5 retry iterations and full test feedback -- the naive algorithm times out on large inputs. Pact's interview and decomposition phases force upfront mathematical analysis, producing the correct O(log n) approach on the first implementation attempt.
36
+
37
+
Full results: [icpc_official/RESULTS.md](https://github.com/jmcentire/pact/blob/main/benchmarks/icpc_official/RESULTS.md) in the benchmark directory.
38
+
25
39
## Philosophy: Contracts Are the Product
26
40
27
41
Pact treats **contracts as source of truth and implementations as disposable artifacts.** The code is cattle, not pets.
@@ -286,6 +300,10 @@ the ideas in [Beyond Code: Context, Constraints, and the New Craft of Software](
286
300
The book covers the coordination, verification, and specification problems that
287
301
motivated Pact's design.
288
302
303
+
## Related: Baton
304
+
305
+
[Baton](https://jmcentire.github.io/baton/) is a circuit orchestration platform that manages service topologies through a circuit-first design. Pact produces contracted components; Baton wires them into a running topology with mock collapse, A/B routing, health monitoring, and self-healing. Together they cover the full lifecycle: Pact builds the pieces with provable interfaces, Baton runs them in production.
0 commit comments