text stringlengths 3 8.33k | repo stringclasses 52
values | path stringlengths 6 141 | language stringclasses 35
values | sha stringlengths 64 64 | chunk_index int32 0 273 | n_tokens int32 1 896 |
|---|---|---|---|---|---|---|
ee4c0cb2dc27f55f7d744d96a8eb99fbd37db001e9ed01c2be8cd23ce69d05f** — `.planning/milestones/legacy-2026-04-pre-mlx-phases/01-foundation-smoke/01-03-ios-llmeval-fork-deploy-PLAN.md#file=.planning/milestones/legacy-2026-04-pre-mlx-phases/01-foundation-smoke/01-03-ios-llmeval-fork-deploy-PLAN.md`
- Purpose: Legacy plannin... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | e851faefca04490dbd43c969ce4463ef11611e118d1c330d0ef275ac022ce080 | 19 | 896 |
phases/01-foundation-smoke/01-05-toolregistry-parser-roundtrip-PLAN.md#file=.planning/milestones/legacy-2026-04-pre-mlx-phases/01-foundation-smoke/01-05-toolregistry-parser-roundtrip-PLAN.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive ... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 50ee873831d9def23ad91f158a19fd45e8cd4f72cbbe207b252c0e5125195a65 | 20 | 896 |
#file=.planning/milestones/legacy-2026-04-pre-mlx-phases/02-orchestrator-harness/02-02-train-subprocess-loss-chart-PLAN.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / re... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 8403a7fb853c975fd2a67ad6501cfcc82f3d9238ad20e67bb55f7b65694ab80b | 21 | 896 |
discovery-tool-design/03-01-SUMMARY.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none ... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | b1f488b88877fd2d5932587e97926730bb9da2787e3c8f593c0b394428a7484e | 22 | 896 |
tool-design/03-03-SUMMARY.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none — removal ... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | c5ca0e9ef5d6698b19513e05e49c85ed7f5d32c9c7448332dabe4afcd5c6bb54 | 23 | 896 |
03-discovery-tool-design/03-05-SUMMARY.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: no... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 8d84b42057a5567827bd1844a97833763ac9bc5dfb288d2921fc92acb38499c7 | 24 | 896 |
retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none — removal remains blocked
- Review: pending
- Provenance: phase-1-controlled-git-a... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 6643a7d4e72b67a84868df8f6c501cc3d660d3f3555b316eb71004f2b168db1f | 25 | 896 |
Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none — removal remains blocked
- Review: pending
- Pro... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | b4e7f824c6162b21e800dbb2766fece14a6e5dfe64ba8287b65e6a624144814b | 26 | 896 |
data-gen-traj-worker-PLAN.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none — removal ... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 211497d97799a84eaab8e35ebf2e04dc3a211ff43adb4373eda8ab59eb15c241 | 27 | 896 |
/04-VERIFICATION.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none — removal remains b... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 78ed92d68cafa976feb0bab8a4429ceaf11c9e5df7ce2ac6d7d1eb9389c42c70 | 28 | 896 |
md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none — removal remains blocked
- Review... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | e38fb7bc08d634a758de7cbdc8a5196de080f877b7b0dc5d6be6853a4ac02801 | 29 | 896 |
/05-04-integration-e2e-PLAN.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evidence: none — remova... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 6a0a612292536ba5ead6aba82905d0cb52be7db58f59de46f79df1a003e4a26a | 30 | 896 |
06-02-ios-chatview-statuspill-toolsloader-PLAN.md`
- Purpose: Legacy planning-artifact locator retained as exact brownfield migration evidence.
- Disposition/removal: archive / blocked
- Owner: Phase 1 / legacy-planning-evidence-archive / reviewed=true
- Coverage: requirements=IDEN-07; acceptance=AC-13
- Evid... | codex-hackathon | migration/legacy-assets.v1.md | Markdown | 7676de03762cd06c722646a5bd6a0c7f04841dfb185d9264dcb971f283fc3f93 | 31 | 452 |
{
"schemaVersion": "1",
"scope": "phase-1-pre-edit",
"immutable": true,
"capturedAt": "2026-07-16T07:17:41.031Z",
"repository": {
"head": "ea1c822c5c8c3b29030081c7f5aff36ad2057970",
"branch": "main",
"statusFormat": "porcelain-v1-z"
},
"ownershipPolicy": "All listed paths and hunks predate Pha... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 18695208fd9bab2fb92786ed12597ec45213a0bc1b9217da9068f715d30085ca | 0 | 896 |
: {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"unstagedPatch": {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 8ebf4be4540cd56376bd7fbcf7bee26c59d6c74ff1c514ddf60b782f17d5dad4 | 1 | 896 |
: "?"
},
"ownership": "operator-preexisting",
"head": null,
"index": null,
"worktree": {
"type": "file",
"gitMode": "100644",
"permissions": "0644",
"size": 786,
"linkTarget": null,
"gitBlob": "0f7c03350ec2fce685e59cf0effa0e5a265c03c6",
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | f4be2957ad64dbb2c1cac3c0458b2481d01c31a978a5f0966a6c79bd4621d453 | 2 | 896 |
stagedHunks": [],
"unstagedHunks": [
{
"index": 0,
"kind": "untracked-file",
"sha256": "926e772d34a53f2a4d9b16071dd6ea77b051b2b7acc49d9165723debe3fbbe0f"
}
]
},
{
"path": ".next/server/pages-manifest.json",
"originalPath": null,
"status... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 5794f00a5092bcab2953c919c477f9d71764c3c864a6590331ff540298058572 | 3 | 896 |
",
"size": 1612903,
"linkTarget": null,
"gitBlob": "e1ab50ff84379f93383b2a6ddeba5809eb4268d5",
"sha256": "d3300af38bf0ca6a498ad037efb7a1d57750e5807a03fbe04e4794abe1239288"
},
"stagedPatch": {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | e0cad21ed56dc5592432ba1f24a48ebe74fab90dbccebc29669b39eb895f1fbe | 4 | 896 |
,
"originalPath": null,
"status": {
"porcelain": "??",
"index": "?",
"worktree": "?"
},
"ownership": "operator-preexisting",
"head": null,
"index": null,
"worktree": {
"type": "file",
"gitMode": "100644",
"permissions": "0644",
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 093de12f65faec716cd493ee385090b3cc9c68883e2c0ee23dbe352214733835 | 5 | 896 |
0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"unstagedPatch": {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"stagedHunks": [],
"unstagedHunks": [
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | d4a8cadbe8c1d5693403168c63fb605d79127d8cd093960817e80dc71a89afee | 6 | 896 |
"?",
"worktree": "?"
},
"ownership": "operator-preexisting",
"head": null,
"index": null,
"worktree": {
"type": "file",
"gitMode": "100644",
"permissions": "0644",
"size": 346817,
"linkTarget": null,
"gitBlob": "67e8ee6b9a4f24c53ac073... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 073dae12f126089a790e58e375faf21d135f107ca7d272680672bcb0a0aa9d44 | 7 | 896 |
: false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"stagedHunks": [],
"unstagedHunks": [
{
"index": 0,
"kind": "untracked-file",
"sha256": "2552a31fad45a9ed1bde87e51b038dc0e786cd364b597162263ab... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | b3178968c29b3d9ce6544bc8c1f92860f3dc2b6e134d7d384364b0dbbdf70e5f | 8 | 896 |
": "text-hunk",
"sha256": "7c24556c34a452d2e8b2237fe54f6086b694da817885cf3351f91726d0c8d29c"
},
{
"index": 1,
"kind": "text-hunk",
"sha256": "20bd992f54fc017402b5cb0d4d8bfb670c9c71decad3672aafb95f37d06029eb"
},
{
"index": 2,
"ki... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 4d4005933c7234644054739dc2cceac286865fbc80e82becbb3a5449266ccfc4 | 9 | 896 |
0644",
"size": 14500,
"linkTarget": null,
"gitBlob": "273b9371f3ef32309c4912e77224079d26fe324e",
"sha256": "853ec6de7af6215a6e8800af20f0f3a202dc4db51806ca40ae102861ba739161"
},
"stagedPatch": {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 1d23f6461eaf0144a05c49d5ee9ce6a7877a0d28de505aff109d4377e3ad7276 | 10 | 896 |
file",
"gitMode": "100644",
"permissions": "0644",
"size": 5721,
"linkTarget": null,
"gitBlob": "91f1db14b962077e4c2ccae3c4cf29d0b293108c",
"sha256": "5882f6ee88d90a4b16607d9f2c0b63ae633cb7da5beb0153065cfe352f5f92fc"
},
"stagedPatch": {
"present": fals... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 93e6fdba48f00fbbef82cf014d9485b3272655811f5040ebace2f18ce6214bfe | 11 | 896 |
"permissions": "0644",
"size": 14484,
"linkTarget": null,
"gitBlob": "0407d0ab51b8e5d873d259eed4d3b6a673c6ee20",
"sha256": "f4fa7ab90f13b91e0ae082f7bf8cfa78c9c8147c9aa59db0bdd787d3ce3c17e9"
},
"stagedPatch": {
"present": false,
"byteLength": 0,
"sha256... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | e9e87b2b35cac8cc50ac2bb8a31a2397ed78605d6f64e72e76f9f8daa873b536 | 12 | 896 |
": "operator-preexisting",
"head": {
"mode": "100644",
"objectType": "blob",
"blob": "ef7d2f4c47227af0dd2894e62dfe0c2e4521a497"
},
"index": {
"mode": "100644",
"blob": "ef7d2f4c47227af0dd2894e62dfe0c2e4521a497",
"stage": 0
},
"worktree": {
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 5db345a8f56911f5946d930ff87a74c0b719ea1f29cf582a8ac8087300510f0b | 13 | 896 |
,
"index": " ",
"worktree": "M"
},
"ownership": "operator-preexisting",
"head": {
"mode": "100644",
"objectType": "blob",
"blob": "110aee7f0850478a2723d004aecc74e892291f62"
},
"index": {
"mode": "100644",
"blob": "110aee7f0850478a2723... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 0d839aded9ad1ae8d4d6b4c712061b23e9a8c3fb638e2a07b1f790919acfb1fc | 14 | 896 |
ae9ecf20215e0615de25e73b8fa8f72081d0d791",
"sha256": "0e603d930c3914cc31bd4d170249b3eca665fc04c3fd83631c3577aa14083ab6"
},
"stagedPatch": {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"unstaged... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | be878d217bbc47e1bdcb9c01fb56bf1937c30d6b7f5dc484062a1274d28934a9 | 15 | 896 |
",
"originalPath": null,
"status": {
"porcelain": " M",
"index": " ",
"worktree": "M"
},
"ownership": "operator-preexisting",
"head": {
"mode": "100644",
"objectType": "blob",
"blob": "7aac4713fdbe104946df6629f3c883e980f0542e"
},
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 53a3a8ee41cf92cef457c588c55a2bc2e3a91ca97d557fb30fed294661d6e20c | 16 | 896 |
",
"worktree": "?"
},
"ownership": "operator-preexisting",
"head": null,
"index": null,
"worktree": {
"type": "file",
"gitMode": "100644",
"permissions": "0644",
"size": 1516,
"linkTarget": null,
"gitBlob": "e073bc2169bf1ae3b0cff258c9... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 412aea5024e26559a5d0c743dd37209dac32519d43cf295f2e863c00c7a6d780 | 17 | 896 |
: [
{
"index": 0,
"kind": "untracked-file",
"sha256": "dba2f9f9586d18c3e3439a70f32b89e7a47b3649c8206ab4a73254ee47077913"
}
]
},
{
"path": "src/commands/eval.ts",
"originalPath": null,
"status": {
"porcelain": "??",
"index": "?... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 6887fc1a75aad070897a3bbcd9feb3ce42e69ab6a84a021e8396245140d9ac23 | 18 | 896 |
",
"sha256": "d126b176b07a86e98cbea9536eaa422e34078720b1102c1baf15d7b708e9d86d"
},
"stagedPatch": {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"unstagedPatch": {
"present": false,
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | cac82a84daf69d174662ae1a897ce1c1e22eb00514b7c05a3d0ab8556de6d054 | 19 | 896 |
},
"ownership": "operator-preexisting",
"head": null,
"index": null,
"worktree": {
"type": "file",
"gitMode": "100644",
"permissions": "0644",
"size": 1293,
"linkTarget": null,
"gitBlob": "52c58db8431f0489b86a0aabd1438bf3636dfb0d",
"sha256"... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | b4e1ed2880e4c0320217acf8911318c84348e7d8cdc8a3efdc0d5cc8bb5042ad | 20 | 896 |
": 0,
"kind": "untracked-file",
"sha256": "30f6a39dd6f2a7da207033f027532b7055056531446c8160c7ec2d0bb5f057bb"
}
]
},
{
"path": "src/components/status-bar.tsx",
"originalPath": null,
"status": {
"porcelain": "??",
"index": "?",
"worktree"... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 40934ad9d39114a70c325725cdc31582bb52df48687dcb829e9c02007f103eb1 | 21 | 896 |
: "cb8131533b0ea676b26d03f91f872644ea079bf7d5b37d0e18bea167b3552a09"
},
"stagedPatch": {
"present": false,
"byteLength": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
"unstagedPatch": {
"present": false,
"byteLength": 0... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | a30b33995149d0c8202e7b8eda3a4fa80ced65b64abf24ee4d44ce0013e3d4d5 | 22 | 896 |
},
"ownership": "operator-preexisting",
"head": null,
"index": null,
"worktree": {
"type": "file",
"gitMode": "100644",
"permissions": "0644",
"size": 2871,
"linkTarget": null,
"gitBlob": "cfc3da93bb6205b4d819fae29089195a4bd2eaa9",
"sha256"... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 268323e66a8639db1b49a27c092a3fa6794510afcad218032195594a936ab471 | 23 | 896 |
blob": "829bdffb8d3edac1d64d4ece9b23e9afd21663ba"
},
"index": {
"mode": "100644",
"blob": "829bdffb8d3edac1d64d4ece9b23e9afd21663ba",
"stage": 0
},
"worktree": {
"type": "file",
"gitMode": "100644",
"permissions": "0644",
"size": 374,
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 2597520ad45d6df1ad2632cf2fb08137f534a59f1d02353281c605159018cea9 | 24 | 896 |
,
"status": "A",
"patchSha256": "dd4d786dcde91e351663fc50f6932fb2e9fb9051c47ef58a27fd6b5afdcc9df0",
"hunks": [
{
"index": 0,
"sha256": "13e9343d6d0c07dc548a39eddfe3c4b8b6f5de17a78a24e1488af77b93c0a642"
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | d618fe6419ccd0370568a318ecd4f0b3505c18b6ed3720d08f877a49641413e7 | 25 | 896 |
"5ebb68f8888bccd170c75b56429f60cc534f8d0bbdeeed335bba7ec45bad4060",
"hunks": [
{
"index": 0,
"sha256": "d72381db3f419aa64713ac61991f3a63095132afffccf95092391591941925da"
}
]
},
{
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 07bfec86c9cdc7d51ad0f479d6a0fb4808cb1d70cdf8697eecdbde41326e6426 | 26 | 896 |
28,
"sha256": "aec1771401b63e7804749c9c0eddcd4800f9c86a7129f9ec7e151876cb568bc5"
},
{
"index": 29,
"sha256": "5c9c9cc112923c1c8af50ebb0ca761dfc32de5ee6d644b7492357e1d81e06a30"
},
{
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 65b4a7d6f78c7547bf00e58b63fc4d8abbfbbb2e93c14d02e0a0e00736e0fbd6 | 27 | 896 |
.config.ts"
]
},
{
"plan": "01-02",
"commits": [
{
"commit": "133327271f5eafe7ddc706a806e4c47a6ebfc11e",
"subject": "test(01-02): specify mlx package identity contract",
"changes": [
{
"path": "fixtures/phase... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 7442a668c621cb0eefef41cfb03023716e75a464caaf5fd2373bb5dd9742f729 | 28 | 896 |
patchSha256": "d58c53066e36dcd13477e92f5fe82be77fc98191dc6ff3940f0713a6004f5af0",
"hunks": [
{
"index": 0,
"sha256": "3befdff7aa9363a52ff209ae2166226fce0791c150f5bacc19c98c89e85fa2d3"
}
]
},
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 88ceeec2d08cf27916f2e3a3370ac9841f7c05caa5442dbef85886d3190a5e31 | 29 | 896 |
ROADMAP.md",
"oldPath": null,
"status": "M",
"patchSha256": "0eef1a9aee5916662769911438211c7757d6acef290abaed7a33f9f40258423a",
"hunks": [
{
"index": 0,
"sha256": "acaff9f66de7e49ef6c648d8e36c82b589... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 3e1a468f131ace795c0e461d7f0c74b4fd41a56c82b79574a37c2f8da033a1eb | 30 | 896 |
",
"subject": "feat(01-03): implement owned MLX state initialization",
"changes": [
{
"path": "src/cli/command-tree.ts",
"oldPath": null,
"status": "M",
"patchSha256": "df7e7ffaefa16df58818b397eb706d5863c9d4a85c574ebaa... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 81576b6adbba9a59820e2b4143df62b351bff62b841e7225bcc29d29e00da6c7 | 31 | 896 |
src/cli/main.ts",
"oldPath": null,
"status": "M",
"patchSha256": "f6b1d7e31d6fa8041d73d151083df5329c27e42ac8c1e05adc439623371f3517",
"hunks": [
{
"index": 0,
"sha256": "9a64175eccc1f2c3a05e9d46a56f8... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 573eaa9e2614d3c19c699b7525b6f8aea02d568b273f17ec735e05db492f0fe2 | 32 | 896 |
"
},
{
"index": 1,
"sha256": "d0e97d1750a1be82dec4c888153ddc6e0554ad45f00bd05227a6b3404e81a753"
},
{
"index": 2,
"sha256": "01fe39ad49cb27bed5f0b38033d3f564a3666de4baa2... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | b023af877fd438cdaff7ec3c1f2adf77f24149d43a2f6537d5a6ef626113294c | 33 | 896 |
},
{
"index": 10,
"sha256": "251152ef38c0b394b593eaeacc8b61559183b1d7eb47a5f57d60ea1e2f7a5dba"
}
]
}
]
}
],
"paths": [
".planning/REQUIREMENTS.md",
".planni... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 1bec8364d33881152c52949b89af81ddac39783042139e36025b3b996a625e92 | 34 | 896 |
,
"status": "M",
"patchSha256": "f7676506111cdac2a657b358f60555bbddff688ad996c247f81c84b13de48dc7",
"hunks": [
{
"index": 0,
"sha256": "2e8ec1f6f1cd66af512155ece705203e2e85d8ba78d12f9662fbf27b82b014d2"
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | dcf835203168d6d1b408c2eb14587827ccea941000776c1559f623f9a6bfdf9a | 35 | 896 |
"hunks": [
{
"index": 0,
"sha256": "df36e7534613e556ab37d0ed00a4adf14d1bf1f0fd508552cb649a0216fe8bd4"
},
{
"index": 1,
"sha256": "59b3b1705b1e0697757c50755b091db99144001023b12d0ff4fcce40... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 44309268ac4ed12f81b800cbd0c11ebc7c7007bae968d01ebca1fe3b66fe3d57 | 36 | 896 |
: null,
"status": "A",
"patchSha256": "fb9cdc886a63ca8bd5330a8aa19af9849275e03b1d6a7cc963032a4d6a864b6b",
"hunks": [
{
"index": 0,
"sha256": "e88c38eca386dee87692ad140ffd096cf14ec2fd47b5d69a13b342383095aaea"
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | ccd6348c69b6a56afce5831b4f639228ce718dfafdc757c0126466eb166c2d5e | 37 | 896 |
render-review.ts",
"oldPath": null,
"status": "A",
"patchSha256": "50c9a38a4346cc6b03ee7efda9e6d0d046d449e3985e3e38dd4fede4a445b57f",
"hunks": [
{
"index": 0,
"sha256": "4fd80d1a2ba2e36cd01f63f2f4b3... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | cc48d3aad8e6fa6cbc2f2b06945eb4a65d065c7ba3470d7af975711ea78efa20 | 38 | 896 |
v1.md",
"oldPath": null,
"status": "M",
"patchSha256": "3b0f86a20a58ea92e7f566e4baa4ff024479cbd298d342792d98147c13588861",
"hunks": [
{
"index": 0,
"sha256": "7bfb924b2c0c7c5f2d612b11935fc57e21d49d3... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | da3717129f53dbf1993a4fb8a048d2b97f504bcb3e0f983d375074051e689935 | 39 | 896 |
": "fc3cede3728f0794dd8ce379e541b3c167dae2b10496bc436f92b0314969d5de"
},
{
"index": 8,
"sha256": "751159573d68a3b6b277ae80c8a862031f7c39747eddce63b19dffd8d5d69428"
},
{
"index": 9,
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 097fc02ca0f050fbb4c744cd49c4b30f09805674c3a0a5eeaba0ad06b7a55ac9 | 40 | 896 |
.ts",
"oldPath": null,
"status": "A",
"patchSha256": "90af9ee74e167e3f0a295351e1282dbd1916e179b17d5695cae858e7d4c57ae1",
"hunks": [
{
"index": 0,
"sha256": "30347b4324a785ad765acbadc900c55837bed6e76... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 491ebe232d8f54a6aef6ac00026f0c8df8602630c36dde191795e304ca45dba9 | 41 | 896 |
STATE.md",
".planning/codebase/STRUCTURE.md",
".planning/codebase/TESTING.md",
".planning/phases/01-identity-cleanup-baseline-and-migration-map/01-06-SUMMARY.md",
"src/validation/capabilities.test.ts",
"src/validation/capabilities.ts",
"src/validation/check-ca... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | eec4fd832db663fb739ffb9bf820ce3764567dc0ddd993386619033f01948afd | 42 | 896 |
2,
"sha256": "688328564ca92cc0df51285b40186c17051b64bc5e5a99ffd3e9fc8f318736e3"
},
{
"index": 3,
"sha256": "81b586a9fcd9c1d006447db9930515aafbf063c51c00503554042ad6e20a4565"
},
{
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 819fae6e6c57e8d398799416cf84efcf72bf683b96eb3597c071d2dd94619c58 | 43 | 896 |
07-SUMMARY.md",
"oldPath": null,
"status": "A",
"patchSha256": "578c27a627dc6015b375309cf2de0048dea530712cd4f3ce7046c2392ed73f3f",
"hunks": [
{
"index": 0,
"sha256": "6118b52b48d75de516c1845c27354f3... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | c254fcadc61c12f91f0b7974ba420a74040da82aa2c0aa0af74e78a98e18bbb6 | 44 | 896 |
: "2b52a7c12cefe5b2f6743de1937b7efed4e263af5f92f89124d3d9242579a088"
},
{
"index": 3,
"sha256": "6f5090649c7467d55ea9610a91a787f8bbcae63bb192f2e2b54cc708b42aa3e2"
}
]
},
{
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 8d963e5c249f289f2db45fa0ab975b044884f94ab8c34b86986f6f906cdf9314 | 45 | 896 |
and privacy gates",
"changes": [
{
"path": "test/integration/privacy-boundaries.test.ts",
"oldPath": null,
"status": "A",
"patchSha256": "e54e24c362bff9984511c3afcfadf9ee04f4dd1af4eb61120a2fcbb5d7fdd4e3",
"hunks": ... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 63d4620f66f412ffca70421bd2ae054c344b76133d667b63871cb133b43a3eeb | 46 | 896 |
,
{
"index": 4,
"sha256": "0f26699a3295d71a6b822427f83a24028dc0fe6e240ddae2d3f52cff3b2f2de8"
},
{
"index": 5,
"sha256": "93ddaf05b2969364e8695c25cd519829409008c79bb4bf98f7fd64f3a8ffca80"
},
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | a6759c31855c9b4b17461d36f475c47a9d77eb5576cf5dc6229364264a00b8d5 | 47 | 896 |
"index": 0,
"sha256": "36595fc65a9cf9205f0095b10871f1194dc7b1c1dd9b57b76267eb9350eea915"
},
{
"index": 1,
"sha256": "07f7036892c77f6f12c8daf7cb7b713858b1cbc348e6c058a72da1fab5a0d3d7"
},
{
"index": 2,
... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | e99c12bd165bb62b5b2863bb91829c9c2e4c32cbe45da0aee7f204d1580c72da | 48 | 896 |
"01-03",
"commit": "e7e1d2a953f5a4e4b8b6a3916606b5b02dee1aa0",
"path": "package.json",
"status": "M",
"patchSha256": "f7ac0091f80f7c3c16c972c7e8cfe5f157c5cda48f7ee1be64ccc482673fd17d",
"hunks": [
{
"index": 0,
"sha... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | f0087b33fb21aa41b34b78d04b8ae1625f1b488c3d669f8c53cf43a233f32214 | 49 | 896 |
: 0,
"kind": "untracked-file",
"sha256": "cb8131533b0ea676b26d03f91f872644ea079bf7d5b37d0e18bea167b3552a09"
}
],
"phase1Hunks": [
{
"plan": "01-03",
"commit": "63d6dbdc23dfd4661c984d8f0794e5637dd746e2",
"path": "src/lib/conf... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 8026768bc31d69fa4a25f67ebf052b42d6063e0fa5b35f16a43d1b1476dbff03 | 50 | 896 |
ownership": "phase-1",
"policy": "append-only final ownership record"
}
},
"postAcceptanceRepair": {
"reason": "Portable check exposed one formatter-only diagnostic in an operator-owned dirty test file; preserve its bytes and disable only formatting for that exact path while retaining lint a... | codex-hackathon | migration/phase-1-change-scope.v1.json | JSON | 4e379bb112cfdd668c5c1a0b26827b089b5c737e57ddacaaabfa40f2edc9d5a8 | 51 | 306 |
CREATE TABLE schema_migrations (
migration_number INTEGER PRIMARY KEY CHECK (migration_number > 0),
name TEXT NOT NULL UNIQUE,
checksum TEXT NOT NULL CHECK (
length(checksum) = 64
AND checksum = lower(checksum)
AND checksum NOT GLOB '*[^0-9a-f]*'
),
applied_at TEXT NOT NULL DEFAULT CURRENT_TIMESTA... | codex-hackathon | migrations/0001-catalog.sql | SQL | d187abac1d3be8e745cc833cad3d9aef47cd7cf7d65bd7b5d907273972f7b186 | 0 | 94 |
CREATE TABLE blobs (
digest TEXT PRIMARY KEY CHECK (
length(digest) = 64
AND digest = lower(digest)
AND digest NOT GLOB '*[^0-9a-f]*'
),
size INTEGER NOT NULL CHECK (size >= 0),
created_at TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
UNIQUE (digest, size)
) STRICT, WITHOUT ROWID;
CREATE TABLE blob_re... | codex-hackathon | migrations/0002-blobs.sql | SQL | d146f1443207bf4fe7c3f9e4f6ac240b7c3e058f1ca92ca20af661d25380487f | 0 | 213 |
CREATE TABLE runs (
run_id TEXT PRIMARY KEY CHECK (length(run_id) BETWEEN 1 AND 256),
stage_key TEXT NOT NULL CHECK (
length(stage_key) = 64
AND stage_key = lower(stage_key)
AND stage_key NOT GLOB '*[^0-9a-f]*'
),
stage_type TEXT NOT NULL CHECK (length(stage_type) BETWEEN 1 AND 128),
status TEXT N... | codex-hackathon | migrations/0003-runs.sql | SQL | 5e0c21dadb1c0b09def4d6c0f9775b9b81bc15efa22cc54ad8c318191622e89b | 0 | 556 |
#!/usr/bin/env bash
# scripts/_lib.sh — shared env setup for Phase 5 training scripts.
# Sourced by scripts/train.sh and scripts/grpo.sh. Do NOT `exec` from here.
set -euo pipefail
# Always cd to repo root (one level up from scripts/)
cd "$(dirname "${BASH_SOURCE[0]}")/.."
# Activate the Phase 1 venv
if [ -z "${VIRT... | codex-hackathon | scripts/_lib.sh | Shell | 5f76aa8e7278db7fb61094ca42157925938b7545f8891770e917c440be23ae83 | 0 | 310 |
import { mkdir, readFile, writeFile } from 'node:fs/promises';
import path from 'node:path';
import { transformSftToGrpo } from '../lib/training/transformGrpoJsonl';
async function main() {
const inputPath = process.argv[2] ?? 'data/training.jsonl';
const outputDir = process.argv[3] ?? 'data/training/grpo';
const s... | codex-hackathon | scripts/build-grpo-jsonl.ts | TypeScript | a7306115b8b589d329ec35251cdb549019b9025f97ac8b20162b3ec87495f977 | 0 | 352 |
#!/usr/bin/env bash
set -euo pipefail
# Copies the 01-02 bench LoRA adapter directory (adapter_config.json + adapters.safetensors)
# into the installed app's Documents/adapters/bench-50iter/ on-device so Swift
# LoRAContainer.from(directory:) can load it.
#
# mlx-swift-lm 3.x adapter API (verified in DerivedData):
# ... | codex-hackathon | scripts/deploy-adapter.sh | Shell | 3dc5f7b38e6be64dbca5b232c526146590dbdde1e749b476830b192a58ec1f0d | 0 | 896 |
post-copy verification (PLAN PITFALLS P5: devicectl can silent-fail)
echo "[deploy-adapter] verifying on-device"
xcrun devicectl device info files \
--device "$UDID" \
--domain-type appDataContainer \
--domain-identifier "$BUNDLE" \
--domain-subpath "$DST_REL" \
| tee /tmp/adapter-verify.txt
if [ "$HAS_LORA_... | codex-hackathon | scripts/deploy-adapter.sh | Shell | ff306636627dad14748be67fbb6189bc70f29ec9d595269ad8933f0e2954c1db | 1 | 466 |
#!/usr/bin/env bash
set -euo pipefail
# Fuses the 01-02 bench LoRA adapter into the base Gemma-4-E4B-4bit.
# Produces data/fused-e4b-50iter/ ready for on-device deploy.
#
# Base pin matches PRD §13 + 01-02 training base:
# unsloth/gemma-4-E4B-it-UD-MLX-4bit
#
# Prereqs: .venv active with mlx-lm==0.31.2, adapter at d... | codex-hackathon | scripts/fuse-bench.sh | Shell | 6f78daee0403fc3df863d1744d3fcf3a8337453835e4ba6a8014bf9c9d0bf152 | 0 | 328 |
#!/usr/bin/env bash
set -euo pipefail
BASE_MODEL="${BASE_MODEL:-unsloth/gemma-4-E4B-it-UD-MLX-4bit}"
ADAPTER_DIR="${ADAPTER_DIR:-data/training/model-a-adapter}"
OUT_DIR="${OUT_DIR:-data/fused/model-a}"
TOOLS_JSON="${TOOLS_JSON:-data/adapter-tools.json}"
NO_FUSE="${1:-}"
if [ -f .venv/bin/activate ]; then
# shellche... | codex-hackathon | scripts/fuse.sh | Shell | d40381f7675c9250ca0f9641eb1f009733f567ca35aed139b9a19f62ac0a760d | 0 | 361 |
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
source /Users/julianschmidt/Documents/GitHub/codex-hackathon/.venv/bin/activate
export WANDB_MODE=offline
export PYTHONUNBUFFERED=1
MODEL="unsloth/gemma-4-E4B-it-UD-MLX-4bit"
DATA="data/training/grpo"
OUT="data/bench/adapter-grpo-smoke"
mkdir -p "$OUT"
RE... | codex-hackathon | scripts/grpo-smoke.sh | Shell | 2b927ba50550cb4ec0d09593352f2d8c1cb4b25b616c25807d1284c5dbcfbf84 | 0 | 284 |
#!/usr/bin/env bash
# scripts/grpo.sh — GRPO Path A (built-in R1 rewards) on top of SFT adapter (TRN-02).
# Path C kill-point: if ITERS=0, log the skip marker and exit 0. The supervisor
# interprets the marker as "grpo.skipped" and narrates Tier 2 — SFT-only ship.
set -euo pipefail
# shellcheck source=_lib.sh
. "$(dirn... | codex-hackathon | scripts/grpo.sh | Shell | d0478d41d30897b6d91e4624779aedd0acf8b70d96c6e6c305ba19901bf80ca7 | 0 | 496 |
#!/usr/bin/env bash
set -euo pipefail
if [ ! -d ios/_upstream ]; then
git clone --depth 1 https://github.com/ml-explore/mlx-swift-examples ios/_upstream
fi
mkdir -p ios/SpecialistApp
rsync -a --delete --exclude=".git" ios/_upstream/Applications/LLMEval/ ios/SpecialistApp/
echo "Bootstrapped. Open ios/SpecialistApp/ i... | codex-hackathon | scripts/ios-bootstrap.sh | Shell | b0c8834b2e879c87e0947d34f0f2bd9a78d2bb559ad600986b0e861e549da366 | 0 | 101 |
#!/usr/bin/env bash
set -euo pipefail
# Deploys SpecialistApp (forked from mlx-swift-examples LLMEval) to a connected iPhone.
# Prereqs:
# - Xcode 16 with the SpecialistApp scheme configured inside ios/_upstream/mlx-swift-examples.xcodeproj
# (operator duplicates LLMEval target → SpecialistApp; see ios/Specialis... | codex-hackathon | scripts/ios-deploy-device.sh | Shell | 2cfb76d5728929e86b499baa4ec13afd047afb030bbece7ec741a3e6aa10555d | 0 | 569 |
#!/usr/bin/env bash
# Phase 1 H0 kill-point micro-bench (FND-02).
#
# Runs a 50-iter LoRA training pass on the pinned base model and logs
# sec/iter + peak memory to data/bench/{e4b|e2b}.log. If peak > 20 GB
# on E4B, operator must override:
# echo 'BASE_MODEL=unsloth/gemma-4-E2B-it-UD-MLX-4bit' > .env.base
# ./scr... | codex-hackathon | scripts/micro-bench.sh | Shell | eff7a7ab76d89424826ea3865fd1f771c6071518f112e0f4a2c4d055bfae18ed | 0 | 581 |
#!/usr/bin/env bash
set -euo pipefail
mkdir -p data/state data/cassette
echo "======================================================="
echo " PHASE 8/9 - POLISH + PRE-FLIGHT CHECKLIST"
echo "======================================================="
echo
echo "[POL-01] iPhone lockdown"
echo " - Airplane mode ON"
echo ... | codex-hackathon | scripts/preflight-demo.sh | Shell | 2a4e778c935ed0af99c3556be669635039dd99a4fde88515548d2394f86a1a3a | 0 | 487 |
#!/usr/bin/env bash
# Idempotent Python 3.12 venv bootstrap for the MLX training toolchain.
#
# Deviation from plan: plan calls for `python3.12 -m venv .venv`, but
# python3.12 is not on this operator's PATH (only 3.13 via miniconda).
# `uv` is available, so we delegate the interpreter acquisition to uv.
# Override by ... | codex-hackathon | scripts/setup-venv.sh | Shell | 64f07a36406d6f4e83a6b7342eedd79498c98dabd4e38ad862833d8a3d164fd0 | 0 | 474 |
// scripts/smoke-pipeline.ts
// Manual smoke — NOT in CI (requires live provider API keys).
//
// Usage:
// pnpm next build && pnpm next start &
// sleep 3 && pnpm tsx scripts/smoke-pipeline.ts
//
// Asserts:
// - Exactly 1 top-level 'start' chunk (PITFALLS P9 — confirms no phantom
// per-worker framing from ... | codex-hackathon | scripts/smoke-pipeline.ts | TypeScript | f89953c45a50f57248ec0f6510658bc976595d2e6db9abec053b4aaa95c9eb38 | 0 | 694 |
#!/usr/bin/env bash
# scripts/train.sh — SFT LoRA on Gemma 4 E4B for Model A (TRN-01).
# Invoked by /api/train subprocess when mode==='sft'. Exec-style forwarder
# so SIGTERM from the Node supervisor reaches the Python child directly.
set -euo pipefail
# shellcheck source=_lib.sh
. "$(dirname "$0")/_lib.sh"
: "${DATA_... | codex-hackathon | scripts/train.sh | Shell | 67debe222241e9ea630c204f5913b27f982e79ae2523386fdd0d35fc3f1168f6 | 0 | 406 |
#!/usr/bin/env bash
set -euo pipefail
echo "======================================================="
echo " PHASE 6 - ON-DEVICE VERIFICATION BATTERY (DEV-06)"
echo "======================================================="
echo
echo "Ensure: adapter loaded, airplane mode ON, app running."
echo
echo "PROMPT 1 (RLS polic... | codex-hackathon | scripts/verify-device.sh | Shell | 00776ced6bf582b0fc637682b930a46f7c5972eedaea3612c7ccf37b9698f9e3 | 0 | 410 |
import { Box, Text, useApp } from 'ink';
import React, { useCallback, useEffect, useState } from 'react';
import { runAdapter } from '@/lib/adapter/run-adapter';
import { runDataGenPipeline } from '@/lib/data/pipeline';
import { runDiscoveryPipeline } from '@/lib/discovery/pipeline';
import { runEval } from '@/lib/eva... | codex-hackathon | src/app-oneshot.tsx | TypeScript | 230c9128f7579bbfbcc608649edcf6b115a5c67418f0e9dacfad665cd5322876 | 0 | 896 |
` (${ev.workerId})` : ''}`),
});
log(`Discovery complete: ${result.tools.length} tools (source: ${result.source})`);
}
async function runDataGenOnly(_signal: AbortSignal) {
log('Starting data generation...');
const result = await runDataGenPipeline({
onEvent: (ev) =>
log(`[data-gen] ${ev.stage}: ${ev.... | codex-hackathon | src/app-oneshot.tsx | TypeScript | 054e10fa4796b97fe3bc1bb7234c777122f6772352ac1ea5da4fa51424bb2e03 | 1 | 896 |
> handleTrainPoint(pt, sftIters),
});
setTrainState((prev) => (prev ? { ...prev, status: 'done' } : prev));
updateStage('train-sft', { status: 'done' });
if (signal.aborted) return;
// Stage 4: Eval
updateStage('eval', { status: 'running' });
log('Running evaluation...');
const evalResult = await runE... | codex-hackathon | src/app-oneshot.tsx | TypeScript | 0a1102275d5e7b52ce34fb0dd7e6d048a9f4ce55e484a2798530eedea9b0fc90 | 2 | 574 |
#!/usr/bin/env bun
import { runCli } from './cli/main';
const columns = process.stdout.columns ?? Number.parseInt(process.env.COLUMNS ?? '80', 10);
const result = await runCli(
process.argv.slice(2),
{
columns: Number.isFinite(columns) ? columns : 80,
isTTY: process.stdout.isTTY === true,
},
{},
);
process.st... | codex-hackathon | src/cli.tsx | TypeScript | 01b8c35687bfb37977881b86f6b99762d5f8b9fceae8732a0c8afe03fa2bd909 | 0 | 117 |
import type { ChildProcess } from 'node:child_process';
import { Box, Text, useApp } from 'ink';
import type React from 'react';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { type ServerStatus, getCompletions, loadCommand, processUserInput } from './commands/index';
import { InputP... | codex-hackathon | src/repl.tsx | TypeScript | a3c71c05fee972bd367dacb8189b7afbc3f748aa46eb1b2742856eb0d714c08e | 0 | 896 |
model: config.model,
port: config.serverPort,
});
serverProcRef.current = proc;
const waitAbort = new AbortController();
proc.on('exit', (code) => {
waitAbort.abort();
if (serverProcRef.current === proc) {
serverProcRef.current = null;
setServerStatus((prev) => {
if (prev === 'ready' || ... | codex-hackathon | src/repl.tsx | TypeScript | b746bfc7b2a1fa6ba053110fcae7aef47f5e3d6b4e49015d71da50f980b96ef9 | 1 | 896 |
,
history,
context: contextStore,
signal: abortRef.current.signal,
onChunk: (chunk) => setStreamingText((prev) => prev + chunk),
onComplete: (fullText) => {
setIsStreaming(false);
setStreamingText('');
addMessage('assistant', fullText || 'No response.');
},
... | codex-hackathon | src/repl.tsx | TypeScript | 1dcc04a5bd3179556f5f3126b386f182e455bb25d4f9e61767bda68f7b173d20 | 2 | 661 |
import { spawnSync } from 'node:child_process';
import { mkdtempSync, realpathSync, rmSync } from 'node:fs';
import { tmpdir } from 'node:os';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { afterEach, beforeAll, describe, expect, it } from 'vitest';
import { ObjectStore } from '../stor... | codex-hackathon | src/catalog/blob-references.test.ts | TypeScript | c967ea7bd79f2faa66e2ad33f544e3fb59246ab6346dd1021a5c2063d4cb930d | 0 | 833 |
import type { ObjectStore } from '../storage/object-store';
import type { CatalogDatabase } from './migration-runner';
const DIGEST_PATTERN = /^[0-9a-f]{64}$/;
const BLOB_KINDS = ['source', 'patch', 'trace', 'report', 'generated'] as const;
export type BlobKind = (typeof BLOB_KINDS)[number];
export interface BlobRef... | codex-hackathon | src/catalog/blob-references.ts | TypeScript | 859ae2ebd84bf85d4ad92cf99b250796ca6959d398b84572ca1bb4cfd9a771a1 | 0 | 896 |
if (
existing.kind === input.kind &&
existing.digest === input.digest &&
existing.size === input.size
)
return existing;
throw new BlobReferenceError(
'REFERENCE_CONFLICT',
`Blob reference ${input.id} conflicts with immutable catalog evidence.`,
);
}
database
.query<... | codex-hackathon | src/catalog/blob-references.ts | TypeScript | e1a7ec116f33889c9ef872240862f28b3546cd86ee887874a33bf544f034e63d | 1 | 178 |
import { mkdir, mkdtemp, readFile, rm, writeFile } from 'node:fs/promises';
import { tmpdir } from 'node:os';
import path from 'node:path';
import { afterEach, describe, expect, it } from 'vitest';
import { runInit } from '../cli/init';
import { acquireCatalogOwner } from './catalog-owner';
const roots: string[] = [];... | codex-hackathon | src/catalog/catalog-owner.test.ts | TypeScript | 17079c52f734f9ffb53c27d762d056619f81f2d07a17bd34646b9cc92af60a44 | 0 | 896 |
'CATALOG_OWNER_MALFORMED',
});
expect(await readFile(path.join(ownerPath, 'owner.json'), 'utf8')).toBe('{bad json\n');
await rm(ownerPath, { recursive: true });
const acquired = await acquireCatalogOwner({ env: { MLX_HOME: root } });
if (!acquired.ok) throw new Error(acquired.reason);
const recordPath = pa... | codex-hackathon | src/catalog/catalog-owner.test.ts | TypeScript | 89fb9ca3802a5c622cdacea17d5cdc8ee573ffb194013c1be90acfa9de4989dc | 1 | 207 |
import { randomUUID } from 'node:crypto';
import { mkdir, readFile, readdir, rename, rm, writeFile } from 'node:fs/promises';
import path from 'node:path';
import { z } from 'zod';
import { resolveContainedPath } from '../core/contained-path';
import { inspectStateRoot } from '../core/state-ownership';
import { type Co... | codex-hackathon | src/catalog/catalog-owner.ts | TypeScript | ba593364feb1273dac3c1292a8382b60651f6cac968f492b86780383ec811157 | 0 | 896 |
record(): CatalogOwnerRecord {
return this.#record;
}
get ownerPath(): string {
return this.#ownerPath;
}
async renew(ttlMs?: number): Promise<CatalogOwnerRecord> {
if (this.#released) throw new Error('Catalog owner has already been released.');
const current = await readOwner(this.#ownerPath);
if (!cur... | codex-hackathon | src/catalog/catalog-owner.ts | TypeScript | cedf99ca2a3c3044c05fc8336db920fb4f8f3db63389fce52a8c50b04c0542e6 | 1 | 896 |
isProcessAlive = dependencies.isProcessAlive ?? defaultIsProcessAlive;
const ttlMs = positiveTtl(input.ttlMs);
const create = async (): Promise<CatalogOwnerResult> => {
try {
await mkdir(ownerPath, { mode: 0o700 });
} catch (error) {
if (isAlreadyExists(error)) return inspectExisting();
throw error;
}... | codex-hackathon | src/catalog/catalog-owner.ts | TypeScript | bacb2701ad7e447fc11b123c2356cba25b6dc072c3e86567d6373066c7288015 | 2 | 638 |
import { spawnSync } from 'node:child_process';
import { mkdtempSync, rmSync, symlinkSync } from 'node:fs';
import { tmpdir } from 'node:os';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { afterEach, beforeAll, describe, expect, it } from 'vitest';
import { runInit } from '../cli/init'... | codex-hackathon | src/catalog/connection.test.ts | TypeScript | 3527dcb1dfd92585fcc105b4138b6866339af65b7dc8163cf5b45fc318a086b7 | 0 | 764 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.