contracts.json
This file
Path
packages/protocol/test/fixtures/contracts.json
1,332 lines · 39.6 KiB · JSON
Last changed by
Merge redesign into mainoscabrielbefore adoptioncaedd21
History of this fileTake it
1{2 "$comment": "One example payload and one example success for every contract, encoded as a client sends them or reads them back. contracts.test.ts decodes each and encodes it back unchanged. A stream's success is one of its elements. Paths say config/ where a project's config folder would be, and commands say cli, since only packages/brand spells the name.",3 "examples": {4 "claim": {5 "payload": {6 "ask": "iso-week",7 "project": "oscabriel/datekit"8 },9 "success": {10 "claim": {11 "ask": "iso-week",12 "base": "1111111111111111111111111111111111111111",13 "checkCommand": "cli check",14 "claimant": "alice",15 "fork": "datekit--iso-week--alice",16 "lapsesAt": "2026-10-08T12:00:00.000Z",17 "openedAt": "2026-10-07T12:00:00.000Z",18 "project": "oscabriel/datekit",19 "remote": "https://example.com/git/datekit--iso-week--alice",20 "state": "live",21 "warnsAt": "2026-10-07T14:00:00.000Z"22 }23 }24 },25 "credits": {26 "payload": {27 "handle": "alice"28 },29 "success": {30 "credits": [31 {32 "area": "@datekit/parse",33 "count": 4,34 "project": "oscabriel/datekit",35 "role": "Signed-off-by"36 }37 ]38 }39 },40 "decide": {41 "payload": {42 "choice": "accept",43 "decision": "dec-000001",44 "note": "Worth it.",45 "project": "oscabriel/datekit"46 },47 "success": {48 "decision": {49 "decided": {50 "at": "2026-10-07T12:00:00.000Z",51 "by": "alice",52 "choice": "accept",53 "note": "Worth it."54 },55 "deciders": ["alice"],56 "default": "decline",57 "evidence": [58 {59 "href": "https://example.com/7",60 "label": "lanes",61 "value": "3/3"62 }63 ],64 "expiresAt": "2026-10-21T12:00:00.000Z",65 "id": "dec-000001",66 "openedAt": "2026-10-07T12:00:00.000Z",67 "project": "oscabriel/datekit",68 "subject": {69 "_tag": "OpenProposal",70 "proposal": "prop-000001"71 }72 }73 }74 },75 "draftAsk": {76 "payload": {77 "note": "The test should use UTC.",78 "project": "oscabriel/datekit",79 "proposal": "prop-000001"80 },81 "success": {82 "proposal": {83 "expiresAt": "2026-10-21T12:00:00.000Z",84 "files": [],85 "id": "prop-000001",86 "openedAt": "2026-10-07T12:00:00.000Z",87 "project": "oscabriel/datekit",88 "proposer": "dave",89 "state": "open",90 "territory": "@datekit/parse",91 "want": "An ISO week date parses to the Monday of that week.",92 "draft": {93 "_tag": "Drafting",94 "round": 2,95 "startedAt": "2026-10-07T12:00:00.000Z"96 }97 }98 }99 },100 "envShape": {101 "payload": {102 "project": "oscabriel/datekit"103 },104 "success": {105 "at": "4444444444444444444444444444444444444444",106 "file": ".env.schema",107 "imports": [],108 "items": [109 {110 "key": "PAYMENTS_KEY",111 "required": true,112 "sensitive": true,113 "tags": ["payments"],114 "value": {115 "setAt": "2026-10-07T12:00:00.000Z",116 "setBy": "alice"117 }118 }119 ],120 "project": "oscabriel/datekit"121 }122 },123 "evidence": {124 "payload": {125 "project": "oscabriel/datekit",126 "ref": "datekit/push-1111111111111111111111111111111111111111-alice/unit#1"127 },128 "success": {129 "lane": "unit",130 "text": "FAIL test/parse.test.ts > parses ISO weeks\nexpected 52 to be 53",131 "truncated": false132 }133 },134 "finish": {135 "payload": {136 "ask": "iso-week",137 "base": "1111111111111111111111111111111111111111",138 "head": "3333333333333333333333333333333333333333",139 "project": "oscabriel/datekit",140 "requestId": "finish-0001"141 },142 "success": {143 "ask": "iso-week",144 "base": "1111111111111111111111111111111111111111",145 "head": "3333333333333333333333333333333333333333",146 "outcome": {147 "_tag": "Checking",148 "stage": "merge"149 },150 "project": "oscabriel/datekit",151 "requestId": "finish-0001"152 }153 },154 "flagAsk": {155 "payload": {156 "ask": "iso-week",157 "project": "oscabriel/datekit",158 "reason": "The want names a file."159 },160 "success": {161 "proposal": {162 "expiresAt": "2026-10-21T12:00:00.000Z",163 "files": ["config/asks/iso-week.ask.ts"],164 "id": "prop-000001",165 "openedAt": "2026-10-07T12:00:00.000Z",166 "project": "oscabriel/datekit",167 "proposer": "dave",168 "state": "open",169 "territory": "@datekit/parse",170 "want": "An ISO week date parses to the Monday of that week.",171 "flags": "iso-week"172 }173 }174 },175 "fork": {176 "payload": {177 "project": "oscabriel/datekit"178 },179 "success": {180 "fork": "datekit--me--alice",181 "remote": "https://example.com/git/datekit--me--alice"182 }183 },184 "frontPage": {185 "payload": {186 "kind": "fix",187 "reserved": "newcomers"188 },189 "success": {190 "entries": [191 {192 "ask": {193 "ask": "iso-week",194 "blockedBy": ["drop-moment"],195 "claimed": false,196 "kind": "fix",197 "reserve": "newcomers",198 "territory": "@datekit/parse",199 "want": "An ISO week date parses to the Monday of that week."200 },201 "posture": "open",202 "project": "oscabriel/datekit",203 "takeable": true204 }205 ]206 }207 },208 "initProject": {209 "payload": {210 "import": {211 "branch": "trunk",212 "url": "https://example.com/acme/widgets.git"213 },214 "project": "oscabriel/widgets"215 },216 "success": {217 "landed": "4444444444444444444444444444444444444444",218 "project": "oscabriel/widgets",219 "remote": "https://example.com/git/widgets"220 }221 },222 "land": {223 "payload": {224 "base": "1111111111111111111111111111111111111111",225 "head": "3333333333333333333333333333333333333333",226 "message": "Drop the moment shim",227 "project": "oscabriel/datekit",228 "requestId": "land-00001"229 },230 "success": {231 "base": "1111111111111111111111111111111111111111",232 "head": "3333333333333333333333333333333333333333",233 "outcome": {234 "_tag": "Checking",235 "stage": "merge"236 },237 "project": "oscabriel/datekit",238 "requestId": "land-00001"239 }240 },241 "landing": {242 "payload": {243 "project": "oscabriel/datekit",244 "sha": "4444444444444444444444444444444444444444"245 },246 "success": {247 "landing": {248 "ask": "iso-week",249 "assisted": [250 {251 "harness": "claude-code",252 "model": "haiku",253 "verified": true254 }255 ],256 "author": "carol",257 "credits": [258 {259 "handle": "alice",260 "role": "Asked-by"261 },262 {263 "handle": "carol",264 "role": "Signed-off-by"265 }266 ],267 "heldBackTrailer": "parse 7/7 @ sha256:7777777777777777777777777777777777777777777777777777777777777777",268 "landedAt": "2026-10-07T12:00:00.000Z",269 "parent": "1111111111111111111111111111111111111111",270 "project": "oscabriel/datekit",271 "requestId": "push-33333333",272 "sha": "4444444444444444444444444444444444444444",273 "verdict": {274 "ask": "iso-week",275 "at": "2026-10-07T12:00:00.000Z",276 "base": "1111111111111111111111111111111111111111",277 "checkVersion": "redThenGreen@0.0.0+abc123",278 "head": "3333333333333333333333333333333333333333",279 "heldBack": [280 {281 "area": "parse",282 "passed": 7,283 "suite": "sha256:7777777777777777777777777777777777777777777777777777777777777777",284 "total": 7285 }286 ],287 "lanes": [288 {289 "command": "bun run lint",290 "durationMs": 1200,291 "lane": "lint",292 "result": "passed"293 },294 {295 "command": "bun run test",296 "durationMs": 3400,297 "lane": "unit",298 "logRef": "logs/datekit/7",299 "result": "passed"300 }301 ],302 "outcome": {303 "_tag": "Landed",304 "sha": "4444444444444444444444444444444444444444"305 },306 "patchId": "6666666666666666666666666666666666666666666666666666666666666666",307 "project": "oscabriel/datekit",308 "stage": "checks",309 "tree": "5555555555555555555555555555555555555555",310 "verifier": "platform"311 }312 }313 }314 },315 "ledger": {316 "payload": {317 "project": "oscabriel/datekit"318 },319 "success": {320 "entries": [321 {322 "_tag": "ValueSet",323 "at": "2026-10-07T12:00:00.000Z",324 "by": "alice",325 "key": "PAYMENTS_KEY",326 "seq": 1327 }328 ],329 "layers": [],330 "posture": "open",331 "postureLabel": "Open",332 "project": "oscabriel/datekit"333 }334 },335 "listAsks": {336 "payload": {337 "project": "oscabriel/datekit"338 },339 "success": {340 "asks": [341 {342 "ask": "iso-week",343 "blockedBy": ["drop-moment"],344 "claimed": false,345 "kind": "fix",346 "reserve": "newcomers",347 "territory": "@datekit/parse",348 "want": "An ISO week date parses to the Monday of that week."349 }350 ]351 }352 },353 "listPaths": {354 "payload": {355 "at": "v1.0.0",356 "project": "oscabriel/datekit"357 },358 "success": {359 "at": "1111111111111111111111111111111111111111",360 "paths": ["README.md", "src/parse/iso.ts"],361 "truncated": false362 }363 },364 "listProjects": {365 "payload": {},366 "success": {367 "projects": [368 {369 "landedAt": "2026-10-07T12:00:00.000Z",370 "openAsks": 3,371 "posture": "open",372 "project": "oscabriel/datekit"373 },374 {375 "openAsks": 0,376 "posture": "open",377 "project": "oscabriel/widgets"378 }379 ]380 }381 },382 "recentLandings": {383 "payload": {},384 "success": {385 "landings": [386 {387 "_tag": "Landed",388 "answered": "iso-week",389 "at": "2026-10-07T12:00:00.000Z",390 "project": "oscabriel/datekit",391 "sha": "4444444444444444444444444444444444444444",392 "want": "Parse ISO week dates"393 },394 {395 "_tag": "Refused",396 "ask": "trim-input",397 "at": "2026-10-07T11:00:00.000Z",398 "project": "oscabriel/datekit",399 "refusals": [400 {401 "area": "parse",402 "tag": "HeldBackFailed"403 },404 {405 "tag": "OutOfScope"406 }407 ],408 "want": "Trim input before parsing"409 },410 {411 "_tag": "Landed",412 "at": "2026-10-07T10:00:00.000Z",413 "project": "oscabriel/widgets",414 "sha": "5555555555555555555555555555555555555555"415 }416 ]417 }418 },419 "listRefs": {420 "payload": {421 "project": "oscabriel/datekit"422 },423 "success": {424 "forks": [425 {426 "ask": "iso-week",427 "handle": "alice",428 "kind": "claim",429 "repo": "datekit--iso-week--alice",430 "state": "live"431 },432 {433 "handle": "dave",434 "kind": "working",435 "repo": "datekit--me--dave"436 }437 ],438 "landed": "4444444444444444444444444444444444444444",439 "project": "oscabriel/datekit",440 "tags": [441 {442 "name": "v1.0.0",443 "sha": "1111111111111111111111111111111111111111"444 }445 ]446 }447 },448 "log": {449 "payload": {450 "at": "main",451 "from": 30,452 "limit": 30,453 "path": "src/parse/iso.ts",454 "project": "oscabriel/datekit"455 },456 "success": {457 "commits": [458 {459 "author": {460 "at": "2026-10-07T12:00:00.000Z",461 "email": "carol@example.com",462 "name": "Carol"463 },464 "body": "Asked-by: alice\nSigned-off-by: carol",465 "committer": {466 "at": "2026-10-07T12:00:00.000Z",467 "email": "carol@example.com",468 "name": "Carol"469 },470 "landing": {471 "ask": "iso-week",472 "assisted": [473 {474 "harness": "claude-code",475 "model": "haiku",476 "verified": true477 }478 ],479 "author": "carol",480 "credits": [481 {482 "handle": "alice",483 "role": "Asked-by"484 },485 {486 "handle": "carol",487 "role": "Signed-off-by"488 }489 ],490 "heldBackTrailer": "parse 7/7 @ sha256:7777777777777777777777777777777777777777777777777777777777777777",491 "landedAt": "2026-10-07T12:00:00.000Z",492 "parent": "1111111111111111111111111111111111111111",493 "project": "oscabriel/datekit",494 "requestId": "push-33333333",495 "sha": "4444444444444444444444444444444444444444",496 "verdict": {497 "ask": "iso-week",498 "at": "2026-10-07T12:00:00.000Z",499 "base": "1111111111111111111111111111111111111111",500 "checkVersion": "redThenGreen@0.0.0+abc123",501 "head": "3333333333333333333333333333333333333333",502 "heldBack": [503 {504 "area": "parse",505 "passed": 7,506 "suite": "sha256:7777777777777777777777777777777777777777777777777777777777777777",507 "total": 7508 }509 ],510 "lanes": [511 {512 "command": "bun run lint",513 "durationMs": 1200,514 "lane": "lint",515 "result": "passed"516 },517 {518 "command": "bun run test",519 "durationMs": 3400,520 "lane": "unit",521 "logRef": "logs/datekit/7",522 "result": "passed"523 }524 ],525 "outcome": {526 "_tag": "Landed",527 "sha": "4444444444444444444444444444444444444444"528 },529 "patchId": "6666666666666666666666666666666666666666666666666666666666666666",530 "project": "oscabriel/datekit",531 "stage": "checks",532 "tree": "5555555555555555555555555555555555555555",533 "verifier": "platform"534 }535 },536 "parents": ["1111111111111111111111111111111111111111"],537 "sha": "4444444444444444444444444444444444444444",538 "subject": "Parse ISO week dates",539 "trailers": [540 {541 "key": "Asked-by",542 "value": "alice"543 },544 {545 "key": "Signed-off-by",546 "value": "carol"547 }548 ],549 "tree": "5555555555555555555555555555555555555555"550 }551 ],552 "next": 60553 }554 },555 "openAsk": {556 "payload": {557 "ask": "iso-week",558 "files": [559 {560 "content": "export default ask({ want: \"An ISO week date parses.\" });\n",561 "path": "config/asks/iso-week.ask.ts"562 }563 ],564 "project": "oscabriel/datekit"565 },566 "success": {567 "ask": {568 "askedBy": "alice",569 "blockedBy": [],570 "brief": {571 "context": ["ISO 8601 weeks start on Monday."],572 "current": "Week 1 of 2027 parses as week 53 of 2026.",573 "outOfScope": ["Locale-specific weeks"],574 "terms": ["ISO week"],575 "want": "An ISO week date parses to the Monday of that week."576 },577 "check": {578 "_tag": "RedThenGreen",579 "path": "packages/parse/test/iso-week.test.ts"580 },581 "file": "config/asks/iso-week.ask.ts",582 "id": "iso-week",583 "kind": "fix",584 "mentor": "bob",585 "openedAt": "2026-10-07T12:00:00.000Z",586 "openedIn": "4444444444444444444444444444444444444444",587 "project": "oscabriel/datekit",588 "reserve": "newcomers",589 "state": "open",590 "territory": {591 "module": "@datekit/parse",592 "paths": ["packages/parse/**"],593 "publicFiles": ["packages/parse/src/index.ts"]594 }595 },596 "landed": "4444444444444444444444444444444444444444"597 }598 },599 "projectPolicy": {600 "payload": {601 "project": "oscabriel/datekit"602 },603 "success": {604 "policy": {605 "agents": "trailer",606 "at": "4444444444444444444444444444444444444444",607 "budget": {608 "decisionsPerDay": 5,609 "expireDays": 14610 },611 "caps": {612 "claimsPerPerson": 3,613 "proposalsPerPerson": 2614 },615 "claims": {616 "lapseAfterMs": 86400000,617 "warnAfterMs": 7200000618 },619 "deciders": [620 {621 "handles": ["alice"],622 "paths": "**"623 }624 ],625 "judge": {626 "paths": ["config/**", ".env.schema"],627 "pointers": ["package.json#/scripts"]628 },629 "kinds": [630 {631 "checkKind": "redThenGreen",632 "claimers": "vouched",633 "finish": "optional",634 "name": "fix",635 "oneWay": false,636 "race": 1,637 "requires": ["want", "check", "territory"],638 "strength": "assertion"639 }640 ],641 "modules": [642 {643 "module": "@datekit/parse",644 "paths": ["packages/parse/**"],645 "publicFiles": ["packages/parse/src/index.ts"]646 }647 ],648 "ratchets": [649 {650 "measure": {651 "_tag": "Metric",652 "command": "bun run size",653 "path": "/total"654 },655 "name": "bundleSize"656 }657 ],658 "record": {659 "countsAfterDays": 30,660 "windowDays": 365661 },662 "run": {663 "checks": {664 "lint": "bun run lint",665 "types": "bun run typecheck",666 "unit": "bun run test"667 },668 "doctor": "bun run doctor",669 "image": "checker:default",670 "setup": "bun install --frozen-lockfile --ignore-scripts",671 "setupEgress": ["registry.npmjs.org"],672 "test": "bun test {path}"673 },674 "source": "config",675 "vouch": {676 "file": "config/vouched.td",677 "mode": "forCode"678 },679 "vouches": [680 {681 "denounced": false,682 "handle": "alice"683 },684 {685 "denounced": true,686 "handle": "mallory",687 "note": "spam"688 }689 ],690 "weakening": {691 "markers": [".skip(", "@ts-ignore"]692 }693 }694 }695 },696 "proposeAsk": {697 "payload": {698 "files": [699 {700 "content": "export default ask({ want: \"An ISO week date parses.\" });\n",701 "path": "config/asks/iso-week.ask.ts"702 }703 ],704 "project": "oscabriel/datekit",705 "sealed": {706 "head": "3333333333333333333333333333333333333333"707 },708 "territory": "@datekit/parse",709 "want": "An ISO week date parses to the Monday of that week."710 },711 "success": {712 "proposal": {713 "expiresAt": "2026-10-21T12:00:00.000Z",714 "files": ["config/asks/iso-week.ask.ts"],715 "id": "prop-000001",716 "openedAt": "2026-10-07T12:00:00.000Z",717 "project": "oscabriel/datekit",718 "proposer": "dave",719 "state": "open",720 "territory": "@datekit/parse",721 "want": "An ISO week date parses to the Monday of that week.",722 "sealed": {723 "fork": "datekit--me--dave",724 "head": "3333333333333333333333333333333333333333"725 }726 }727 }728 },729 "readFile": {730 "payload": {731 "at": "4444444444444444444444444444444444444444",732 "path": "README.md",733 "project": "oscabriel/datekit"734 },735 "success": {736 "at": "4444444444444444444444444444444444444444",737 "binary": false,738 "path": "README.md",739 "sha": "6666666666666666666666666666666666666666",740 "size": 7,741 "text": "# datekit\n",742 "truncated": false743 }744 },745 "readTree": {746 "payload": {747 "at": "main",748 "path": "src",749 "project": "oscabriel/datekit"750 },751 "success": {752 "at": "4444444444444444444444444444444444444444",753 "entries": [754 {755 "mode": "040000",756 "name": "parse",757 "path": "src/parse",758 "sha": "5555555555555555555555555555555555555555",759 "type": "tree"760 },761 {762 "mode": "100644",763 "name": "README.md",764 "path": "src/README.md",765 "sha": "6666666666666666666666666666666666666666",766 "type": "blob"767 }768 ],769 "path": "src",770 "readme": {771 "path": "src/README.md",772 "sha": "6666666666666666666666666666666666666666"773 }774 }775 },776 "release": {777 "payload": {778 "ask": "iso-week",779 "project": "oscabriel/datekit"780 },781 "success": {782 "released": true783 }784 },785 "setEnv": {786 "payload": {787 "acknowledgeShort": false,788 "key": "PAYMENTS_KEY",789 "project": "oscabriel/datekit",790 "value": "not-a-real-value-0123456789abcdef"791 },792 "success": {793 "key": "PAYMENTS_KEY",794 "setAt": "2026-10-07T12:00:00.000Z",795 "setBy": "alice"796 }797 },798 "showAsk": {799 "payload": {800 "ask": "iso-week",801 "project": "oscabriel/datekit"802 },803 "success": {804 "ask": {805 "askedBy": "alice",806 "blockedBy": [],807 "brief": {808 "context": ["ISO 8601 weeks start on Monday."],809 "current": "Week 1 of 2027 parses as week 53 of 2026.",810 "outOfScope": ["Locale-specific weeks"],811 "terms": ["ISO week"],812 "want": "An ISO week date parses to the Monday of that week."813 },814 "check": {815 "_tag": "RedThenGreen",816 "path": "packages/parse/test/iso-week.test.ts"817 },818 "file": "config/asks/iso-week.ask.ts",819 "id": "iso-week",820 "kind": "fix",821 "mentor": "bob",822 "openedAt": "2026-10-07T12:00:00.000Z",823 "openedIn": "4444444444444444444444444444444444444444",824 "project": "oscabriel/datekit",825 "reserve": "newcomers",826 "state": "open",827 "territory": {828 "module": "@datekit/parse",829 "paths": ["packages/parse/**"],830 "publicFiles": ["packages/parse/src/index.ts"]831 }832 },833 "brief": "# iso-week\n\nAn ISO week date parses to the Monday of that week.\n"834 }835 },836 "showCommit": {837 "payload": {838 "project": "oscabriel/datekit",839 "sha": "4444444444444444444444444444444444444444"840 },841 "success": {842 "commit": {843 "author": {844 "at": "2026-10-07T12:00:00.000Z",845 "email": "carol@example.com",846 "name": "Carol"847 },848 "body": "Asked-by: alice\nSigned-off-by: carol",849 "committer": {850 "at": "2026-10-07T12:00:00.000Z",851 "email": "carol@example.com",852 "name": "Carol"853 },854 "landing": {855 "ask": "iso-week",856 "assisted": [857 {858 "harness": "claude-code",859 "model": "haiku",860 "verified": true861 }862 ],863 "author": "carol",864 "credits": [865 {866 "handle": "alice",867 "role": "Asked-by"868 },869 {870 "handle": "carol",871 "role": "Signed-off-by"872 }873 ],874 "heldBackTrailer": "parse 7/7 @ sha256:7777777777777777777777777777777777777777777777777777777777777777",875 "landedAt": "2026-10-07T12:00:00.000Z",876 "parent": "1111111111111111111111111111111111111111",877 "project": "oscabriel/datekit",878 "requestId": "push-33333333",879 "sha": "4444444444444444444444444444444444444444",880 "verdict": {881 "ask": "iso-week",882 "at": "2026-10-07T12:00:00.000Z",883 "base": "1111111111111111111111111111111111111111",884 "checkVersion": "redThenGreen@0.0.0+abc123",885 "head": "3333333333333333333333333333333333333333",886 "heldBack": [887 {888 "area": "parse",889 "passed": 7,890 "suite": "sha256:7777777777777777777777777777777777777777777777777777777777777777",891 "total": 7892 }893 ],894 "lanes": [895 {896 "command": "bun run lint",897 "durationMs": 1200,898 "lane": "lint",899 "result": "passed"900 },901 {902 "command": "bun run test",903 "durationMs": 3400,904 "lane": "unit",905 "logRef": "logs/datekit/7",906 "result": "passed"907 }908 ],909 "outcome": {910 "_tag": "Landed",911 "sha": "4444444444444444444444444444444444444444"912 },913 "patchId": "6666666666666666666666666666666666666666666666666666666666666666",914 "project": "oscabriel/datekit",915 "stage": "checks",916 "tree": "5555555555555555555555555555555555555555",917 "verifier": "platform"918 }919 },920 "parents": ["1111111111111111111111111111111111111111"],921 "sha": "4444444444444444444444444444444444444444",922 "subject": "Parse ISO week dates",923 "trailers": [924 {925 "key": "Asked-by",926 "value": "alice"927 },928 {929 "key": "Signed-off-by",930 "value": "carol"931 }932 ],933 "tree": "5555555555555555555555555555555555555555"934 },935 "files": [936 {937 "after": "6666666666666666666666666666666666666666",938 "before": "5555555555555555555555555555555555555555",939 "binary": false,940 "newText": "export const b = 2;\n",941 "oldText": "export const b = 1;\n",942 "path": "src/parse/iso.ts",943 "status": "modified"944 }945 ],946 "truncated": false947 }948 },949 "showProposal": {950 "payload": {951 "project": "oscabriel/datekit",952 "proposal": "prop-000001"953 },954 "success": {955 "files": [956 {957 "content": "export default ask({ want: \"An ISO week date parses.\" });\n",958 "path": "config/asks/iso-week.ask.ts"959 }960 ],961 "proposal": {962 "expiresAt": "2026-10-21T12:00:00.000Z",963 "files": ["config/asks/iso-week.ask.ts"],964 "id": "prop-000001",965 "openedAt": "2026-10-07T12:00:00.000Z",966 "project": "oscabriel/datekit",967 "proposer": "dave",968 "state": "open",969 "territory": "@datekit/parse",970 "want": "An ISO week date parses to the Monday of that week.",971 "draft": {972 "_tag": "Ready",973 "attempts": 2,974 "model": "@cf/moonshotai/kimi-k2.7-code",975 "red": {976 "lane": "unit",977 "signature": "expected 2026-01-05, got undefined"978 },979 "round": 1980 }981 }982 }983 },984 "status": {985 "payload": {986 "project": "oscabriel/datekit"987 },988 "success": {989 "answers": [990 {991 "ask": "iso-week",992 "at": "2026-10-07T12:00:00.000Z",993 "head": "3333333333333333333333333333333333333333",994 "outcome": {995 "_tag": "Checking",996 "stage": "checks"997 },998 "requestId": "push-33333333"999 }1000 ],1001 "claims": [],1002 "handle": "alice"1003 }1004 },1005 "submitAnswer": {1006 "payload": {1007 "ask": "iso-week",1008 "base": "1111111111111111111111111111111111111111",1009 "head": "3333333333333333333333333333333333333333",1010 "project": "oscabriel/datekit",1011 "requestId": "answer-0001"1012 },1013 "success": {1014 "ask": "iso-week",1015 "base": "1111111111111111111111111111111111111111",1016 "head": "3333333333333333333333333333333333333333",1017 "outcome": {1018 "_tag": "Checking",1019 "stage": "merge"1020 },1021 "project": "oscabriel/datekit",1022 "requestId": "answer-0001"1023 }1024 },1025 "today": {1026 "payload": {1027 "project": "oscabriel/datekit"1028 },1029 "success": {1030 "budget": {1031 "finishes": 1,1032 "total": 5,1033 "used": 21034 },1035 "decider": "alice",1036 "decisions": [1037 {1038 "decided": {1039 "at": "2026-10-07T12:00:00.000Z",1040 "by": "alice",1041 "choice": "accept",1042 "note": "Worth it."1043 },1044 "deciders": ["alice"],1045 "default": "decline",1046 "evidence": [1047 {1048 "href": "https://example.com/7",1049 "label": "lanes",1050 "value": "3/3"1051 }1052 ],1053 "expiresAt": "2026-10-21T12:00:00.000Z",1054 "id": "dec-000001",1055 "openedAt": "2026-10-07T12:00:00.000Z",1056 "project": "oscabriel/datekit",1057 "subject": {1058 "_tag": "OpenProposal",1059 "proposal": "prop-000001"1060 }1061 }1062 ],1063 "expiringSoon": ["dec-000001"],1064 "newcomers": ["dave"],1065 "overflow": 0,1066 "unattended": [1067 {1068 "ask": "iso-week",1069 "assisted": [1070 {1071 "harness": "claude-code",1072 "model": "haiku",1073 "verified": true1074 }1075 ],1076 "author": "carol",1077 "credits": [1078 {1079 "handle": "alice",1080 "role": "Asked-by"1081 },1082 {1083 "handle": "carol",1084 "role": "Signed-off-by"1085 }1086 ],1087 "heldBackTrailer": "parse 7/7 @ sha256:7777777777777777777777777777777777777777777777777777777777777777",1088 "landedAt": "2026-10-07T12:00:00.000Z",1089 "parent": "1111111111111111111111111111111111111111",1090 "project": "oscabriel/datekit",1091 "requestId": "push-33333333",1092 "sha": "4444444444444444444444444444444444444444",1093 "verdict": {1094 "ask": "iso-week",1095 "at": "2026-10-07T12:00:00.000Z",1096 "base": "1111111111111111111111111111111111111111",1097 "checkVersion": "redThenGreen@0.0.0+abc123",1098 "head": "3333333333333333333333333333333333333333",1099 "heldBack": [1100 {1101 "area": "parse",1102 "passed": 7,1103 "suite": "sha256:7777777777777777777777777777777777777777777777777777777777777777",1104 "total": 71105 }1106 ],1107 "lanes": [1108 {1109 "command": "bun run lint",1110 "durationMs": 1200,1111 "lane": "lint",1112 "result": "passed"1113 },1114 {1115 "command": "bun run test",1116 "durationMs": 3400,1117 "lane": "unit",1118 "logRef": "logs/datekit/7",1119 "result": "passed"1120 }1121 ],1122 "outcome": {1123 "_tag": "Landed",1124 "sha": "4444444444444444444444444444444444444444"1125 },1126 "patchId": "6666666666666666666666666666666666666666666666666666666666666666",1127 "project": "oscabriel/datekit",1128 "stage": "checks",1129 "tree": "5555555555555555555555555555555555555555",1130 "verifier": "platform"1131 }1132 }1133 ]1134 }1135 },1136 "verdict": {1137 "payload": {1138 "ask": "iso-week",1139 "head": "3333333333333333333333333333333333333333",1140 "project": "oscabriel/datekit"1141 },1142 "success": {1143 "verdict": {1144 "ask": "iso-week",1145 "at": "2026-10-07T12:00:00.000Z",1146 "base": "1111111111111111111111111111111111111111",1147 "checkVersion": "redThenGreen@0.0.0+abc123",1148 "head": "3333333333333333333333333333333333333333",1149 "heldBack": [1150 {1151 "area": "parse",1152 "passed": 7,1153 "suite": "sha256:7777777777777777777777777777777777777777777777777777777777777777",1154 "total": 71155 }1156 ],1157 "lanes": [1158 {1159 "command": "bun run lint",1160 "durationMs": 1200,1161 "lane": "lint",1162 "result": "passed"1163 },1164 {1165 "command": "bun run test",1166 "durationMs": 3400,1167 "lane": "unit",1168 "logRef": "logs/datekit/7",1169 "result": "passed"1170 }1171 ],1172 "outcome": {1173 "_tag": "Landed",1174 "sha": "4444444444444444444444444444444444444444"1175 },1176 "patchId": "6666666666666666666666666666666666666666666666666666666666666666",1177 "project": "oscabriel/datekit",1178 "stage": "checks",1179 "tree": "5555555555555555555555555555555555555555",1180 "verifier": "platform"1181 }1182 }1183 },1184 "vouch": {1185 "payload": {1186 "handle": "dave",1187 "note": "Paired on the parser.",1188 "project": "oscabriel/datekit",1189 "verdict": "vouch"1190 },1191 "success": {1192 "landed": "4444444444444444444444444444444444444444"1193 }1194 },1195 "watch": {1196 "payload": {1197 "project": "oscabriel/datekit",1198 "since": 411199 },1200 "success": {1201 "_tag": "AskOpened",1202 "ask": {1203 "ask": "iso-week",1204 "blockedBy": ["drop-moment"],1205 "claimed": false,1206 "kind": "fix",1207 "reserve": "newcomers",1208 "territory": "@datekit/parse",1209 "want": "An ISO week date parses to the Monday of that week."1210 },1211 "at": "2026-10-07T12:00:00.000Z",1212 "seq": 421213 }1214 },1215 "why": {1216 "payload": {1217 "at": "main",1218 "path": "src/parse/iso.ts",1219 "project": "oscabriel/datekit"1220 },1221 "success": {1222 "at": "4444444444444444444444444444444444444444",1223 "commits": [1224 {1225 "author": {1226 "at": "2026-10-07T12:00:00.000Z",1227 "email": "carol@example.com",1228 "name": "Carol"1229 },1230 "body": "Asked-by: alice\nSigned-off-by: carol",1231 "committer": {1232 "at": "2026-10-07T12:00:00.000Z",1233 "email": "carol@example.com",1234 "name": "Carol"1235 },1236 "parents": ["1111111111111111111111111111111111111111"],1237 "sha": "4444444444444444444444444444444444444444",1238 "subject": "Parse ISO week dates",1239 "trailers": [1240 {1241 "key": "Asked-by",1242 "value": "alice"1243 },1244 {1245 "key": "Signed-off-by",1246 "value": "carol"1247 }1248 ],1249 "tree": "5555555555555555555555555555555555555555"1250 }1251 ],1252 "landings": [1253 {1254 "ask": "iso-week",1255 "assisted": [1256 {1257 "harness": "claude-code",1258 "model": "haiku",1259 "verified": true1260 }1261 ],1262 "author": "carol",1263 "credits": [1264 {1265 "handle": "alice",1266 "role": "Asked-by"1267 },1268 {1269 "handle": "carol",1270 "role": "Signed-off-by"1271 }1272 ],1273 "heldBackTrailer": "parse 7/7 @ sha256:7777777777777777777777777777777777777777777777777777777777777777",1274 "landedAt": "2026-10-07T12:00:00.000Z",1275 "parent": "1111111111111111111111111111111111111111",1276 "project": "oscabriel/datekit",1277 "requestId": "push-33333333",1278 "sha": "4444444444444444444444444444444444444444",1279 "verdict": {1280 "ask": "iso-week",1281 "at": "2026-10-07T12:00:00.000Z",1282 "base": "1111111111111111111111111111111111111111",1283 "checkVersion": "redThenGreen@0.0.0+abc123",1284 "head": "3333333333333333333333333333333333333333",1285 "heldBack": [1286 {1287 "area": "parse",1288 "passed": 7,1289 "suite": "sha256:7777777777777777777777777777777777777777777777777777777777777777",1290 "total": 71291 }1292 ],1293 "lanes": [1294 {1295 "command": "bun run lint",1296 "durationMs": 1200,1297 "lane": "lint",1298 "result": "passed"1299 },1300 {1301 "command": "bun run test",1302 "durationMs": 3400,1303 "lane": "unit",1304 "logRef": "logs/datekit/7",1305 "result": "passed"1306 }1307 ],1308 "outcome": {1309 "_tag": "Landed",1310 "sha": "4444444444444444444444444444444444444444"1311 },1312 "patchId": "6666666666666666666666666666666666666666666666666666666666666666",1313 "project": "oscabriel/datekit",1314 "stage": "checks",1315 "tree": "5555555555555555555555555555555555555555",1316 "verifier": "platform"1317 }1318 }1319 ],1320 "path": "src/parse/iso.ts",1321 "ranges": [1322 {1323 "end": 12,1324 "sha": "4444444444444444444444444444444444444444",1325 "start": 11326 }1327 ],1328 "stoppedAt": "1111111111111111111111111111111111111111"1329 }1330 }1331 }1332}