From 0b4deb3031a41b838a40d87e47b082813aee72bc Mon Sep 17 00:00:00 2001 From: Noah Horton Date: Tue, 10 Feb 2026 09:33:49 -0700 Subject: [PATCH] Add report best-practices quality criteria to define step Adds a review check that validates jobs involving reports follow the best practices guide. Auto-passes for non-report jobs. Co-Authored-By: Claude Opus 4.6 --- flake.lock | 24 +++++++++---------- .../standard_jobs/deepwork_jobs/job.yml | 3 +++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 8a9dd522..95644285 100644 --- a/flake.lock +++ b/flake.lock @@ -6,11 +6,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1770362224, - "narHash": "sha256-glZjGWSy+LpalbwlsQ3iWNpWU4TlEOandYWOpl8sMt8=", + "lastModified": 1770491193, + "narHash": "sha256-zdnWeXmPZT8BpBo52s4oansT1Rq0SNzksXKpEcMc5lE=", "owner": "sadjow", "repo": "claude-code-nix", - "rev": "f4f8d6e7cc59e34e5a85550f017ead83ab925b22", + "rev": "f68a2683e812d1e4f9a022ff3e0206d46347d019", "type": "github" }, "original": { @@ -39,11 +39,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1770169770, - "narHash": "sha256-awR8qIwJxJJiOmcEGgP2KUqYmHG4v/z8XpL9z8FnT1A=", + "lastModified": 1770380644, + "narHash": "sha256-P7dWMHRUWG5m4G+06jDyThXO7kwSk46C1kgjEWcybkE=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "aa290c9891fa4ebe88f8889e59633d20cc06a5f2", + "rev": "ae67888ff7ef9dff69b3cf0cc0fbfbcd3a722abe", "type": "github" }, "original": { @@ -55,11 +55,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1770197578, - "narHash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=", + "lastModified": 1770562336, + "narHash": "sha256-ub1gpAONMFsT/GU2hV6ZWJjur8rJ6kKxdm9IlCT0j84=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", + "rev": "d6c71932130818840fc8fe9509cf50be8c64634f", "type": "github" }, "original": { @@ -149,11 +149,11 @@ ] }, "locked": { - "lastModified": 1770331927, - "narHash": "sha256-jlOvO++uvne/lTgWqdI4VhTV5OpVWi70ZDVBlT6vGSs=", + "lastModified": 1770605395, + "narHash": "sha256-jXydlwsCseO9F0YKPBMpPTWTS4JM7QDVIXaHvjfI1hg=", "owner": "pyproject-nix", "repo": "uv2nix", - "rev": "5b43a934e15b23bfba6c408cba1c570eccf80080", + "rev": "661dadc1e3ff53142e1554172ab60c667de2c1d5", "type": "github" }, "original": { diff --git a/src/deepwork/standard_jobs/deepwork_jobs/job.yml b/src/deepwork/standard_jobs/deepwork_jobs/job.yml index 57baf9f1..beefe62d 100644 --- a/src/deepwork/standard_jobs/deepwork_jobs/job.yml +++ b/src/deepwork/standard_jobs/deepwork_jobs/job.yml @@ -87,6 +87,9 @@ steps: Are there reviews defined for each step? Do particularly critical documents have their own reviews? Note that the reviewers do not have transcript access, so if the criteria are about the conversation, then add a `.deepwork/tmp/[step_summary].md` step output file so the agent has a communication channel to the reviewer. + - run_each: job.yml + quality_criteria: + "Report Best-Practices": "If this job involves building a report, does it follow the best practices from src/deepwork/standard_jobs/deepwork_jobs/research_report_job_best_practices.md? Pass this criteria immediately if the job does not involve building a report." - id: implement name: "Implement Job Steps"