{"version":2,"width":110,"height":32,"timestamp":1796097399,"command":"scripts/demo-record.sh --play","title":"Zentri: two engineers, one task","env":{"SHELL":"/bin/zsh"}}
[0.85, "o", "--- compose up (offline: hash embedder, no LLM)\r\n"]
[2.05, "o", "project demo, an integration token with checks:read, a fake GitHub API on http://127.0.0.1:62572, and ana and ben logged in\r\n--- 1. ana starts ENG-401: fix the login session timeout in auth/login.go\r\n"]
[2.9, "o", "--- 1. ben starts a near-duplicate: ENG-402: login sessions time out too soon in auth/login.go\r\n"]
[3.75, "o", "ben is offered run_anyway against ana's intent and runs anyway\r\n"]
[4.95, "o", "deviation: offline there is no LLM judge, so SQL sets ben's intent to active_duplicate, as a judged registration stores it\r\n--- 2. ana's pre-edit hook claims auth/login.go\r\n"]
[5.8, "o", "--- 2. ben's pre-edit hook on auth/login.go\r\n"]
[8.4, "o", "    | Zentri: another session holds a file this edit would change.\r\n    | - auth/login.go is held by @ana (session 071d703e, working on \"eng 401 fix login session timeout auth login go\")\r\n    | Work on something else, or ask the holder to release it, then retry. Do not write the file another way.\r\n    | \r\n    | Zentri notices:\r\n    | - auth/login.go is held by @ana's session. Do not write it another way.\r\n"]
[9.25, "o", "--- 2. ben writes it from the shell and commits\r\n"]
[10.1, "o", "the hook denies ben and names ana; the shell write and the commit go through with a warning\r\n"]
[10.95, "o", "--- 3. the check on ana's branch zentri/eng-401-071d703e\r\n"]
[12.5, "o", "    | **Zentri merge check passed.**\r\n    | Branch `zentri/eng-401-071d703e` is session `01a22fbf-75b4-7558-91fb-9be1071d703e` of ana.\r\n    | Checked 1 file.\r\n"]
[13.35, "o", "--- 3. the check on ben's branch zentri/eng-402-eacb592b\r\n"]
[15.95, "o", "    | **Zentri merge check failed.**\r\n    | Branch `zentri/eng-402-eacb592b` is session `01a22fbf-7758-793b-a3fb-27b4eacb592b` of ben.\r\n    | Checked 1 file.\r\n    | - **duplicate**: intent `01a22fbf-7757-78b9-8e2c-d7a15e1fe839` ran anyway against intent `01a22fbf-75b3-7d49-936c-2a6baef32abe`, which is still active.\r\n    | - **unclaimed** `auth/login.go`: the session never claimed it.\r\n    | - **held** `auth/login.go`: session `01a22fbf-75b4-7558-91fb-9be1071d703e` of ana holds it.\r\n"]
[16.8, "o", "--- 3. the check on a person's branch fix/login-comment\r\n"]
[18.7, "o", "    | **Zentri merge check failed.**\r\n    | Branch `fix/login-comment` is not a Zentri session branch, so only claims held by sessions were checked.\r\n    | Checked 121 files.\r\n    | - **held** `auth/login.go`: session `01a22fbf-75b4-7558-91fb-9be1071d703e` of ana holds it.\r\n"]
[19.55, "o", "--- 3. the check on ben's branch pushed from a fork\r\n"]
[20.75, "o", "ana's branch passes; ben's fails with unclaimed, held and duplicate; the person's fails with held after two pages; a fork may not use a session branch\r\n--- 4. ana ends her session\r\n"]
[21.6, "o", "--- 4. the check runs again on ben's branch\r\n"]
[23.15, "o", "    | **Zentri merge check passed.**\r\n    | Branch `zentri/eng-402-eacb592b` is session `01a22fbf-7758-793b-a3fb-27b4eacb592b` of ben.\r\n    | Checked 1 file.\r\n"]
[24.35, "o", "ben's hook claims the file, his branch passes, and the person's branch is now held by ben\r\n--- no token leaks\r\n"]
[25.55, "o", "check.sh passes tokens to curl only in header files; no token in curl's argv, the job output, the summary, or the server log\r\nPASS: e2e-m4\r\n"]
[25.55, "x", "0"]
