# The text half of morning-receipt.sh: read the owner's Markdown records, the shift log and the work # target's history into rows, and nothing else. # # morning-receipt.sh owns every decision about what a section says and how a row is printed. This # program reads. One program serves every operation, selected by -v op=, and every input arrives # with control characters already turned into spaces: # # interruptions the shift log. Each line written since the last `shift started` that records an # interruption: a revival or resume attempt, an API failure, a stall, a usage-limit # wait, or how the shift was stopped. # handover the shift log. The last handover line written since the last `shift started`. # parked the parking lot. `E` fs fs fs for each decision below # the rule that still waits for the owner. An entry is a `### ` heading and # everything under it, a top-level bullet with its wrapped and nested lines, or a # paragraph. Filed pointers, runtime notices and answered entries are skipped. # snags the snag log. fs for each entry below the rule whose # disposition is not fixed and that is dated on or after -v day (every entry when # day is empty). An entry reads `finding · evidence · disposition · date`; one # without a disposition is open. # review two files: the usage marks as fs