Finlay.worksBareBones Validation manual

The AI cannot approve anything. When its work reaches an approval, the kit's tool prepares the approval for a person and stops. It continues only after the person has recorded the approval in BareBones Validation.

What happens at a stop

  1. The tool ends with exit code 3. That means "waiting for a person". It is not a failure.
  2. It prints the name of the approval, the exact record and version to be approved, a proposed reason, and the address of the review page.
  3. The AI tells you an approval is waiting and gives you the address.

Until you act, the AI does not run that command again and does not look for another way.

What the person does

  1. Open the candidate page and select Approvals. The list Awaiting approval shows each waiting item with the record it is for.
  2. Select Open review form in the item's row, or Open the first awaiting item.
  3. Read the record. The page shows what you are asked to approve and what your approval means. For a run or a result, open the screenshots: each step must have been done, not only shown.
  4. Read the reason. The form shows the reason the AI proposed. Put it in your own words if they differ.
  5. Select Record approval.

The Approval receipt opens. It names you, the time, the decision and the exact record.

If the record is not right, do not approve it. Tell the AI what is wrong.

Where your approval policy asks for an electronic signature, the stop is the same and you sign on the form. The tool is never given a signing password. See Approval Policy.

Who may record each approval is listed in Permissions. The finalization of a run needs a person who holds the Executor role.

How the AI continues

Tell the AI the approval is recorded. It runs:

python3 tools/bbv_validation_executor.py --kit <kit file> \
    resume <command> --work-dir <working folder>

The tool reads the receipt from BareBones Validation and checks that it is for the exact record and version it proposed. Only then does it continue. The tool goes by the receipt, not by your message.

Where a validation stops

The stops of one candidate, in the order they came in the run this section was written from. The sample had two scripts, five steps and six screenshots.

The AI runs Approval on the list Stops In the sample
setup Protocol acceptance Once 1
finalize Run finalization Once for each run 2
package Evidence inclusion Once for each evidence file 6
review-run Exact version review Once for each run, each script result and each step result 9
clean-pass Passing validation record Once for each validation record 2
gate Program gate Once 1
designate Package designation Once 1

Between the stops the AI works without you: it executes the scripts, records the results, generates the package and checks it.

What to know before you start

  • One stop at a time. The tool prepares one approval and waits. With package it prepares the next evidence file only after you approved the one before. Stay near while the AI works through evidence and reviews.
  • The package is generated more than once. The validation records are prepared when the package is generated. The AI generates it again after the reviews, so the records can be closed, and again after the gate decision, for the package you designate. For each new generation it gives package a new working folder. In a working folder where package has finished, a repeat generates nothing.
  • The review targets come from the run page. review-run needs the ID of each run, script result and step result. The AI reads them on the run page, under Prepare review.
  • Designation is on your word. The AI proposes the designation only when you name the package. Building the version bundle and the hand-off are yours. See Build the Bundle and Record the Hand-Off.