Reconcile browser editor fixture and scripted action #23
Notifications
Due Date
No due date set.
Blocks
#15 Approve Odin’s build-ready specification
xavierk/odin
Reference: xavierk/odin#23
Reference in New Issue
Block a user
Part of Find the way to Odin’s build-ready specification.
Question
How should Odin Browser Interaction v1 reconcile its deterministic editor fixture with the second scripted action? Specify Odin’s v1 browser interaction workload makes line zero a heading ("## Section 0000") under the stated fixture rule, while the second editor action says to bold the first "alpha" on line one. Under ordinary one-based line numbering, line one contains no "alpha". Resolve the line numbering and exact eight-action editor script so every trigger has a valid target and independently checkable expected state. State whether the fixture or action changes, and how that changes workload identity, expected digests, pack manifest, calibration, and qualification. Preserve the approved 240-sample protocol unless the human explicitly revises it.
This is a specification decision. Do not implement or run the production workload in this ticket.
Resolution — editor line numbering and action states
The product owner chose one-based editor line numbers. The fixture generator remains unchanged: its
j = 0heading is editor line one; itsj = 1,j = 2, andj = 3paragraphs are editor lines two, three, and four. All 1,024 initial lines remain 31 ASCII bytes plus LF, exactly 32,768 bytes. The initial full-document SHA-256 isdfbce9a8e04663ac02f8a7fc1159d9ca562785bc4d52d56cb30aca7fe2d7e816.Keep the eight measured editor actions in their original order. Field preparation and text selection precede each measured trigger. Compare the full UTF-8 document, including spaces and LF, with the expected digest after each action. Also assert the stated visible editor/preview state; a matching document digest alone does not validate search or rendering.
0001and before the line's ten padding spaces, insertXon line two. Line two readsalpha beta gamma 0001Xbefore its original padding.96226f0bd6b252b0af58a804e1dbfae66cc45d0583bc6638ea1775274fdb30e0alphaon line two and trigger bold. Source begins**alpha** beta gamma 0001X; preview displaysalphaas bold.25a2efe4b881de600f096843c7f921501ee95cbe69d0a9bffff281d5ed3f75d8gammain document order. Search highlights thegammaon line two; line one contains no match. Source stays unchanged.25a2efe4b881de600f096843c7f921501ee95cbe69d0a9bffff281d5ed3f75d8delta. Line two begins**alpha** beta delta 0001X; preview reflectsdelta.f3ffe56252dbb57f3d2c99e4709ec94d69a74decf111ebc25e9f077336872e46##to its existing content. It begins## alpha beta gamma 0002; preview renders that heading.f494a7a70acc814993c9ba2c1e00b5bb8ee2c8772b2996e6f9c5a99eba05bc55alpha beta gamma 0003with its padding and LF. Former line five (alpha beta gamma 0004) becomes line four; preview no longer shows the deleted paragraph.6d3a80cc7cf6f43b5687210bbccf60ac638b4d469fa45fee8746cbbf2e38586falpha beta gamma 0003returns as line four and appears in preview.f494a7a70acc814993c9ba2c1e00b5bb8ee2c8772b2996e6f9c5a99eba05bc556d3a80cc7cf6f43b5687210bbccf60ac638b4d469fa45fee8746cbbf2e38586fThe ten original padding spaces remain on modified paragraph lines; insertion and heading conversion add bytes before or around them as stated. Reset must restore the original fixture and clear editor history, selection, and search state before the next cycle. The checker must verify every action's source digest and visible state independently of the application under test. A no-op search, wrong undo target, or incorrect preview invalidates the suite.
This corrects the action script and expected states in Specify Odin’s v1 browser interaction workload; it does not change the fixture bytes or the approved protocol of two warmup cycles, ten measured cycles, eight actions per scenario, and 240 scored samples. The corrected script and expected values must enter the pinned pack manifest. Their changed bytes produce a new pack ID and browser workload identity; no digest, calibration value, or qualification from the conflicting draft may be reused. Generate the final manifest and pack ID from actual shipped bytes, then apply the existing offline smoke, engine/mode qualification, and fresh physical calibration gates before numerical browser or headline scores. No production pack or calibration was built in this ticket.