Repository navigation
Add the publication review workflow - #137
Merged
Merged
Conversation
Whole-file copy of .github/dataset-workflows/run-publication-review.yml from nemarOrg/nemar-cli dev (sha256 6286a5a2...a473), reviewed in nemar-cli PR 1762 and amended in PRs 1767, 1772, 1779 and 1782.
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
run-publication-review.yml, the central workflow of the publication review (ADR 0102 in nemarOrg/nemar-cli), by whole-file copy from.github/dataset-workflows/run-publication-review.ymlon nemar-clidev(sha2566286a5a25404effb9bfdc3f949c443c9efaa2e496d49efe0bf9505bc94f4a473, 430 lines).What it does: the Worker dispatches it after a publication request's identifier screen has reported; it claims the review with a one-shot token, reads the dataset's root documents as git data, asks a no-tools model four questions about text the shared mechanical rules examined first, and posts a closed-vocabulary report back. It writes nothing to GitHub.
Nothing runs from this file until three things exist, and none of them is in this repository: the script it checks out from nemar-cli
main(a release), a federation rule and service account of its own (organization variablesANTHROPIC_PUBLICATION_REVIEW_FEDERATION_RULE_IDandANTHROPIC_PUBLICATION_REVIEW_SERVICE_ACCOUNT_ID), and the Worker flag. Until then a dispatch fails after its claim and the Worker's watchdog records the review as errored; the verdict is never green for an unknown.Review: the file was reviewed in nemar-cli (PR 1762 and the amendments in 1767, 1772, 1779, 1782: Opus adversarial passes and Sonnet panels; the security properties are pinned by
test/publication-review-workflow.test.ts). Here the copy is verified byte-identical to the reviewed file.