FR-001checkfailingA run MUST keep the state of an asset on the branch (state/<asset>.json) in a commit where it is not yet kept or differs from the one kept, and MUST NOT write it, nor make a commit for it, where it is the same.
0003-evidence-capture-collect · owner if · domain commons
FR-001checkfailingA run MUST keep the state of an asset on the branch (state/<asset>.json) in a commit where it is not yet kept or differs from the one kept, and MUST NOT write it, nor make a commit for it, where it is the same.
FR-002checkfailingEach look MUST be journaled as the policy says in an entry chained to the one before it (the last of the branch, or of the entries waiting), the entries MUST wait in a file of the run's own until a commit is made, and a commit MUST be made when a state changed (the waiting entries committed with it) or, with entries waiting, when the journal's commit interval has run since the last journal commit; the commit MUST be made at the instant of the run and MUST name the assets that changed.
FR-003checkpassingA look that fails (the asset could not be reached, refused or could not be read, or took longer than the time allowed) MUST be journaled as its kind of failure and MUST NOT change the state kept.
FR-004checkpassingA run MUST look only at the assets that are due by their cadences, MUST say which were not, and MUST look at the assets it is told to, due or not, where it is told; at most the number of assets the limits say MUST be looked at at once.
FR-005checkpassingA run MUST take a lock and MUST NOT wait for it: where another run holds it, the run MUST end with an error that says so and change nothing.
FR-006checkpassingA run MUST push the branch only as the policy says: never, after a commit, or when the interval has run, to the remote the policy names and never forced; a push that fails MUST be an entry push.failed of the journal, MUST leave the remote as it was, and MUST be tried again by the next run; the branch checked out by a person MUST NOT be pushed.
FR-007checkpassingThe journal of the branch MUST be read back in order and verified with the ledger of grc, naming the first entry that does not follow, and the entries waiting for a commit MUST survive the end of a run and be committed by a later one.
SC-001success criterionA collector run every minute makes a commit only when a state changed or the batch interval has run.