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
3 changes: 3 additions & 0 deletions guard/owner.pub
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
-----BEGIN PUBLIC KEY-----
MCowBQYDK2VwAyEAjHg5ppMc27Spzm4+eVXw/0tQnTAR7gBishw/iWqj3bY=
-----END PUBLIC KEY-----
5 changes: 4 additions & 1 deletion proofline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4029,7 +4029,10 @@
"If the environment a criterion needs is missing (repository admin, npm owner login, Actions, a second machine): report BLOCKED naming the missing item; never mark it passed by hand."
]
}
],
,
{"id":"PL-SEED-01","title":"Validate Proofline's initial ICP","phase":"design","owner":"lane-c","depends_on":[],"requirements":[],"description":"Hypothesis: GitHub-first software teams already using coding agents experience material human validation burden on agent-authored pull requests. After approval, complete 15 consented interviews across at least 10 organizations within 30 days. Capture role, team size, agent use and agent-authored PR volume, validation time, review bottleneck, current controls and alternatives, buyer, budget owner, urgency, and purchase path. Anonymize notes, cite evidence for every claim, and include rejected ICPs. Business outcomes require owner attestation; an agent must not self-test or self-attest interview counts or buyer evidence.","scope":{"allow":["docs/seed/**"]},"criteria":[{"id":"PL-SEED-01-AC01","mandatory":true,"statement":"Interview protocol exists","verifier":{"type":"file_exists","path":"docs/seed/interview-protocol.md"}},{"id":"PL-SEED-01-AC02","mandatory":true,"statement":"Protocol records consent and anonymization rules","verifier":{"type":"grep","file":"docs/seed/interview-protocol.md","pattern":"consent","flags":"i","must":"present"}},{"id":"PL-SEED-01-AC03","mandatory":true,"statement":"Protocol explains anonymization","verifier":{"type":"grep","file":"docs/seed/interview-protocol.md","pattern":"anonym","flags":"i","must":"present"}},{"id":"PL-SEED-01-AC04","mandatory":true,"statement":"Evidence memo contains the interview counts table","verifier":{"type":"grep","file":"docs/seed/icp-evidence.md","pattern":"Organizations interviewed","flags":"i","must":"present"}},{"id":"PL-SEED-01-AC05","mandatory":true,"statement":"Evidence memo distinguishes observed facts from hypotheses","verifier":{"type":"grep","file":"docs/seed/icp-evidence.md","pattern":"Observed facts","flags":"i","must":"present"}},{"id":"PL-SEED-01-AC06","mandatory":true,"statement":"Evidence memo labels hypotheses separately","verifier":{"type":"grep","file":"docs/seed/icp-evidence.md","pattern":"Hypotheses","flags":"i","must":"present"}},{"id":"PL-SEED-01-AC07","mandatory":true,"statement":"Evidence memo names rejected ICPs","verifier":{"type":"grep","file":"docs/seed/icp-evidence.md","pattern":"Rejected ICPs","flags":"i","must":"present"}},{"id":"PL-SEED-01-AC08","mandatory":true,"statement":"Evidence memo records buyer and budget-owner findings","verifier":{"type":"grep","file":"docs/seed/icp-evidence.md","pattern":"Budget owner","flags":"i","must":"present"}},{"id":"PL-SEED-01-AC09","mandatory":true,"statement":"The owner signs (owner key, verified against guard/owner.pub) the actual counts: at least 10 organizations, 6 current coding-agent users, and 5 with a quantified validation bottleneck and an accountable budget owner. An agent cannot produce this signature.","verifier":{"type":"command","cmd":"node --input-type=module -e \"import fs from \\\"node:fs\\\"; import { verifyDSSE } from \\\"@optitransfer/agentkey\\\"; try { const e = JSON.parse(fs.readFileSync(\\\"docs/seed/owner-attestation.dsse.json\\\", \\\"utf8\\\")); const r = verifyDSSE(e, [fs.readFileSync(\\\"guard/owner.pub\\\", \\\"utf8\\\")]); const s = JSON.parse(Buffer.from(r.payload).toString()); process.exit(r.ok && s.task === \\\"PL-SEED-01\\\" ? 0 : 1); } catch { process.exit(1); }\"","expect_exit":0,"timeout_s":60}},{"id":"PL-SEED-01-AC10","mandatory":true,"statement":"Claims ledger exists and links claims to sources or marks them as hypotheses","verifier":{"type":"file_exists","path":"docs/seed/claims-ledger.md"}},{"id":"PL-SEED-01-AC11","mandatory":true,"statement":"Changes stay in scope","verifier":{"type":"scope"}},{"id":"PL-SEED-01-AC12","mandatory":true,"statement":"Committed and pushed to main","verifier":{"type":"pushed"}}],"stop_rules":["Do not begin interviews until the owner approves this task.","Do not present hypotheses or a small interview sample as measured market facts or a representative market estimate.","If the stated interview thresholds are missed, report the actual count and evidence; do not lower the threshold."]},
{"id":"PL-SEED-02","title":"Build the GitHub pull request check","phase":"implement","owner":"lane-c","depends_on":["PL-SEED-01"],"requirements":[],"description":"After the ICP is validated and this task is approved, build the first GitHub integration. Run the repository-selected Proofline task, expose the exact result and failure reason as a required PR check, and attach or link its evidence receipt. Prefer the pull_request event and a read-only contents permission; do not use pull_request_target, secrets in fork PR workflows, or privileged execution of untrusted code. The fixture repository must demonstrate both green and red checks, including a planted verifier fault that stays red. Document the permission and fork model. Obtain owner-attested confirmation from two ICP design partners that this check fits their merge workflow; that business outcome is not an agent-run test.","scope":{"allow":["src/**","bin/**","test/**","docs/integrations/**",".github/**","package.json"]},"criteria":[{"id":"PL-SEED-02-AC01","mandatory":true,"statement":"Fixture-repository tests show green for passing criteria and red for failing criteria; a planted verifier fault never produces a green check","verifier":{"type":"test_red_green","test_file":"test/github_check.test.mjs","cmd":"node --test {test}"}},{"id":"PL-SEED-02-AC02","mandatory":true,"statement":"Full suite exits 0","verifier":{"type":"command","cmd":"npm test","expect_exit":0}},{"id":"PL-SEED-02-AC03","mandatory":true,"statement":"GitHub pull-request workflow exists","verifier":{"type":"file_exists","path":".github/workflows/proofline.yml"}},{"id":"PL-SEED-02-AC04","mandatory":true,"statement":"GitHub workflow does not use pull_request_target","verifier":{"type":"command","cmd":"! grep -R -n pull_request_target .github/workflows","expect_exit":0}},{"id":"PL-SEED-02-AC05","mandatory":true,"statement":"Workflow uses the pull_request event","verifier":{"type":"grep","file":".github/workflows/proofline.yml","pattern":"pull_request:","must":"present"}},{"id":"PL-SEED-02-AC06","mandatory":true,"statement":"Integration guide documents least-privilege permissions","verifier":{"type":"grep","file":"docs/integrations/github-check.md","pattern":"permissions","flags":"i","must":"present"}},{"id":"PL-SEED-02-AC07","mandatory":true,"statement":"Integration guide documents read-only contents access and fork handling","verifier":{"type":"grep","file":"docs/integrations/github-check.md","pattern":"contents: read","flags":"i","must":"present"}},{"id":"PL-SEED-02-AC08","mandatory":true,"statement":"Integration guide explains fork-PR security and setup of the required check","verifier":{"type":"grep","file":"docs/integrations/github-check.md","pattern":"fork","flags":"i","must":"present"}},{"id":"PL-SEED-02-AC09","mandatory":true,"statement":"The owner signs (owner key, verified against guard/owner.pub) that two ICP design partners confirmed the check fits their merge workflow. An agent cannot produce this signature.","verifier":{"type":"command","cmd":"node --input-type=module -e \"import fs from \\\"node:fs\\\"; import { verifyDSSE } from \\\"@optitransfer/agentkey\\\"; try { const e = JSON.parse(fs.readFileSync(\\\"docs/integrations/design-partner-attestation.dsse.json\\\", \\\"utf8\\\")); const r = verifyDSSE(e, [fs.readFileSync(\\\"guard/owner.pub\\\", \\\"utf8\\\")]); const s = JSON.parse(Buffer.from(r.payload).toString()); process.exit(r.ok && s.task === \\\"PL-SEED-02\\\" ? 0 : 1); } catch { process.exit(1); }\"","expect_exit":0,"timeout_s":60}},{"id":"PL-SEED-02-AC10","mandatory":true,"statement":"Changes stay in scope","verifier":{"type":"scope"}},{"id":"PL-SEED-02-AC11","mandatory":true,"statement":"Committed and pushed to main","verifier":{"type":"pushed"}}],"stop_rules":["Do not implement until PL-SEED-01 is approved and complete and the owner approves this task.","Never execute untrusted pull-request code with elevated permissions or expose secrets to fork pull requests.","A failed verifier must never produce a passing required check; report any missing GitHub environment as blocked."]},
{"id":"PL-SEED-03","title":"Prove willingness to pay with pilots","phase":"design","owner":"lane-c","depends_on":["PL-SEED-02"],"requirements":[],"description":"After the GitHub check is approved and validated and the owner approves this task, run a 30-day paid pilot. Pre-register baselines and measures for human validation minutes per agent-authored PR, missed acceptance criteria, false blocks, false verified results on seeded negatives, setup time, CI latency, usage, and willingness to pay. Targets are hypotheses until measured: three decision-maker-approved protocols, two paid commitments with price and start date, at least 20 percent lower median validation time, false-block rate below 5 percent, zero false verified seeded negatives, and under two minutes of added CI latency per PR. The owner, not the agent or its tests, attests protocol approvals, signed paid commitments, prices, dates, and actual commercial outcomes.","scope":{"allow":["docs/seed/**","docs/pilots/**"]},"criteria":[{"id":"PL-SEED-03-AC01","mandatory":true,"statement":"Pilot protocol documents informed consent, a baseline, data minimization, and retention limits","verifier":{"type":"grep","file":"docs/pilots/protocol.md","pattern":"consent","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC02","mandatory":true,"statement":"Protocol explicitly documents anonymization and data minimization","verifier":{"type":"grep","file":"docs/pilots/protocol.md","pattern":"anonym","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC03","mandatory":true,"statement":"Protocol documents data retention limits","verifier":{"type":"grep","file":"docs/pilots/protocol.md","pattern":"retention","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC04","mandatory":true,"statement":"Protocol defines a baseline and post-integration measurements","verifier":{"type":"grep","file":"docs/pilots/protocol.md","pattern":"baseline","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC05","mandatory":true,"statement":"Protocol pre-registers validation-time, false-block, false-verified, and CI-latency measures and targets","verifier":{"type":"grep","file":"docs/pilots/protocol.md","pattern":"validation minutes","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC06","mandatory":true,"statement":"Pilot evidence ledger exists","verifier":{"type":"file_exists","path":"docs/pilots/evidence-ledger.md"}},{"id":"PL-SEED-03-AC07","mandatory":true,"statement":"Evidence ledger contains a pilot counts table","verifier":{"type":"grep","file":"docs/pilots/evidence-ledger.md","pattern":"Teams participating","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC08","mandatory":true,"statement":"Evidence ledger separates observed facts from hypotheses","verifier":{"type":"grep","file":"docs/pilots/evidence-ledger.md","pattern":"Observed facts","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC09","mandatory":true,"statement":"Evidence ledger labels hypotheses separately","verifier":{"type":"grep","file":"docs/pilots/evidence-ledger.md","pattern":"Hypotheses","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC10","mandatory":true,"statement":"Evidence ledger records methods, target comparisons, and limitations","verifier":{"type":"grep","file":"docs/pilots/evidence-ledger.md","pattern":"Limitations","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC11","mandatory":true,"statement":"Seed claims ledger exists and links every commercial claim to evidence or labels it as a hypothesis","verifier":{"type":"file_exists","path":"docs/seed/claims-ledger.md"}},{"id":"PL-SEED-03-AC12","mandatory":true,"statement":"The owner signs (owner key, verified against guard/owner.pub) at least three approved pilot protocols and at least two signed paid commitments with price and start date. An agent cannot produce this signature.","verifier":{"type":"command","cmd":"node --input-type=module -e \"import fs from \\\"node:fs\\\"; import { verifyDSSE } from \\\"@optitransfer/agentkey\\\"; try { const e = JSON.parse(fs.readFileSync(\\\"docs/pilots/owner-attestation.dsse.json\\\", \\\"utf8\\\")); const r = verifyDSSE(e, [fs.readFileSync(\\\"guard/owner.pub\\\", \\\"utf8\\\")]); const s = JSON.parse(Buffer.from(r.payload).toString()); process.exit(r.ok && s.task === \\\"PL-SEED-03\\\" ? 0 : 1); } catch { process.exit(1); }\"","expect_exit":0,"timeout_s":60}},{"id":"PL-SEED-03-AC13","mandatory":true,"statement":"Claims ledger cites sources and clearly labels measured outcomes versus hypotheses","verifier":{"type":"grep","file":"docs/seed/claims-ledger.md","pattern":"Hypothes","flags":"i","must":"present"}},{"id":"PL-SEED-03-AC14","mandatory":true,"statement":"Changes stay in scope","verifier":{"type":"scope"}},{"id":"PL-SEED-03-AC15","mandatory":true,"statement":"Committed and pushed to main","verifier":{"type":"pushed"}}],"stop_rules":["Do not contact pilot customers, collect pilot data, or make commercial claims until PL-SEED-02 is approved and complete and the owner approves this task.","Do not retain customer source code or secrets; minimize and anonymize collected data.","Report measured outcomes, sample sizes, limitations, and misses; never pass a target by attestation or alter a target after measurement."]}],
"notes": "Each task carries the requirement ids it covers; next --owner hands out the tasks of one owner. Cross-repository needs are written into task text as an external dependency and reported BLOCKED when absent. PL-SELF stays: proofline verifies itself with its own contract. | 2026-10-17: 15 review tasks appended (COVERAGE.md maps every finding and open issue). Scope criterion added to PL-SELF, DG-PL so the contract passes its own validator. | 2026-10-17: PL-SETUP01 (setup pins the owner key) and PL-NEXT1 (0.2.0-next.1 carries the bin) appended. | 2026-10-20: PL-CRIT01 (crit:<id> claims for tasks proved by a command; leading (?i)/(?s) grep flags) and PL-NEXT2 (0.2.0-next.2) appended.",
"ci": {
"tasks": [
Expand Down
2 changes: 1 addition & 1 deletion proofline.json.sig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"payloadType":"application/vnd.proofline.contract-sha256","payload":"OWQzM2VjOWJlZWUxYmQyMmViNmJjZjk5NzVhZmRkN2UyZGJkZTc0MmVjMDQwYjE4NzdkMTE3YzMyMTBlZDMzNA==","signatures":[{"keyid":"kb71a7ce9e7b76859","sig":"ckpux3El8CYsS74U7YeISFDbO7cKboLT8U/Luj/4XXoKUXNLV3h0AOSTwPMKMi/B0HfuL4EGv2e61LD2AnGADA=="}]}
{"payloadType":"application/vnd.proofline.contract-sha256","payload":"YzI2YTJhMzcxZjc1OTdjMjdlNmNmYmVkMzA2MGRiM2QyNzViNWJmN2M0Y2VkYjg1YWFiYmE1MzNlYmM1Zjg5Mw==","signatures":[{"keyid":"kb71a7ce9e7b76859","sig":"mhMJiYkyOgLN8CEuU/zZnAeF48dLppmdPrHrzuLOHusj6zUmNwAosFn6BLqsCHEy1cWohuqcLZpuwi7SQxd2Aw=="}]}
Loading