AI can rewrite legacy code at a speed nobody could before. "Lines rewritten" proves nothing. Rewrite Proof seals how the old code behaves before anything changes, then measures every new build against it, case by case, in public if you choose.
How the old code behaves, case by case, fingerprinted and sealed before the rewrite. Comparison rules agreed up front. No case can be removed.
The new code on the same inputs. Every case MATCH or DIFF, with the fields that differ. Equivalence score sealed per version.
Deliberate fixes accepted with a reason, sealed and shown, never hidden.
Every defect logged against its version, found in test or production. The numbers you can publish.
# Before the rewrite: record the old code's behaviour
curl -X POST https://sebbi.pro/x/rewriteproof/baseline -H "Authorization: Bearer $SEBBI_KEY" -d '{
"project":"router-config","rules":{"ignore":["generated_at"],"decimals":4},
"cases":[{"id":"acl-001","input":{...},"output":{...}}, ...]}'
# Every build of the AI-rewritten code: same inputs, new outputs
curl -X POST https://sebbi.pro/x/rewriteproof/run -H "Authorization: Bearer $SEBBI_KEY" -d '{
"project":"router-config","version":"rewrite-0.3","results":[{"id":"acl-001","input":{...},"output":{...}}, ...]}'
# -> equivalence 99.87%, 3 DIFF (fields: ttl, flags), sealed
curl -X POST https://sebbi.pro/x/rewriteproof/report -H "Authorization: Bearer $SEBBI_KEY" -d '{"project":"router-config"}'
# -> a public, sealed report to publish
Inputs and outputs are compared in memory and never stored: sebbi.pro keeps fingerprints of each output and of each field, so a difference can be named without the data being held. Cases added after the rewrite began are marked on every report. 50p per project per month after 7 days free.