R171 Write a complete worker report

On by default

Where work is divided among agents the way Agent Fleet does, as a worker, give in your report what you did, its effect, why the task is done or abandoned, its metrics, the pull request number, the approved SHA, the merge commit, the checks run and the attempt number of the CI run, and for each follow-up left who takes it and when.

Reason

The report is what the agent responsible for the job decides the next step on, and it may become a comment on the work order (Art. VI §2(1)). With an item missing, that agent has to go back and ask or look it up itself. The acceptance record itself is required by rule 1; this rule adds what a worker report gives besides.

Verification

This rule is for the jurisdictions of rule 28. The report is the one a worker hands to the agent responsible for its job when it finishes (with Agent Fleet, through fleet done). A task without a pull request writes “none” for the pull request number, the approved SHA and the merge commit, and says why. Pull request numbers, SHAs, URLs and numbers are copied from the output of the command that established them. Knowledge and decisions that must outlive the job go into a repository through a pull request, and the report links to them. A worker with no agent responsible for its job, such as one that fleet watch starts, is not bound by this rule.

Violated when a worker’s report lacks any item above.

Provisions of the constitution it cites

Relations

Parent
R78 Agent Fleet
Requires
none
Conflicts with
none

Metadata

ID
171
Revision
3
Kind
rule
Status
trial
Slug
worker-report-contents
Default level
project
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions
Original language
English en
Translations
Chinese zh