Class: OKF::Pro::Writes::Plan
- Inherits:
-
Struct
- Object
- Struct
- OKF::Pro::Writes::Plan
- Defined in:
- lib/okf/pro/writes.rb
Overview
WHAT IT WRITES IS DECIDED BEFORE ANYTHING IS WRITTEN.
Three files change, and Scaffold.write_atomically makes each write
atomic and the SET not. So the ordering is the safety: every check runs
and every new text is computed — purely, in Board::Edit and
Log::Edit, which cannot touch the disk — and only then does anything
land. Checking as it went left a real half-closed bundle: a board that
had lost its budget header refused at step two with the index already
marked, so the project read as closed while its board line survived and
no log entry existed, and the message said nothing had happened.
The residue of a crash mid-sequence is still real and still visible —
okf pro audit reports the pairing failure — but a REFUSAL now writes
nothing at all, which is what the message claims.
Instance Attribute Summary collapse
-
#path ⇒ Object
Returns the value of attribute path.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Attribute Details
#path ⇒ Object
Returns the value of attribute path
297 298 299 |
# File 'lib/okf/pro/writes.rb', line 297 def path @path end |
#text ⇒ Object
Returns the value of attribute text
297 298 299 |
# File 'lib/okf/pro/writes.rb', line 297 def text @text end |