Skip to content

zrwangems/dsh-zrwang-plugin / ars/skills/sr-screener

sr-screener

Flagged

系统综述文献筛选:把方案或 PROSPERO 协议转成资格规则,双盲筛选标题摘要与全文,第三人裁决冲突,输出 PRISMA 2020 计数、EndNote/Zotero RIS 分组与可交付给论文技能的 literature_corpus。Triggers: systematic review screening, screen papers, PRISMA counts, pilot screening, adjudicate conflicts | 文献筛选, 系统综述筛选, PRISMA 计数, 筛选冲突裁决。

FileKindSize
SKILL.mdskill md33.1 KB
_shared/ARCHITECTURE.mdmarkdown51.7 KB
_shared/MODE_REGISTRY.mdmarkdown6.7 KB
_shared/agents/compliance_agent.mdmarkdown9.4 KB
_shared/artifact_reproducibility_pattern.mdmarkdown9.8 KB
_shared/benchmark_report.schema.jsonconfig2.7 KB
_shared/benchmark_report_pattern.mdmarkdown8.8 KB
_shared/bibliographic_integrity_signals.mdmarkdown8.1 KB
_shared/collaboration_depth_rubric.mdmarkdown11.5 KB
_shared/compliance_checkpoint_protocol.mdmarkdown8.9 KB
_shared/compliance_report.schema.jsonconfig8.1 KB
_shared/contracts/README.mdmarkdown54.7 KB
_shared/contracts/activity/adjudication_activity_input.schema.jsonconfig18.5 KB
_shared/contracts/activity/adjudication_activity_store.schema.jsonconfig18.7 KB
_shared/contracts/audit/audit_jsonl.schema.jsonconfig5.4 KB
_shared/contracts/audit/audit_sidecar.schema.jsonconfig8.4 KB
_shared/contracts/audit/audit_verdict.schema.jsonconfig5.4 KB
_shared/contracts/audit/cross_document_consistency_advisory.schema.jsonconfig20.4 KB
_shared/contracts/audit/cross_document_consistency_advisory_draft.schema.jsonconfig23.4 KB
_shared/contracts/audit/cross_document_source_manifest.schema.jsonconfig6.3 KB
_shared/contracts/audit/tortured_phrase_advisory.schema.jsonconfig30.9 KB
_shared/contracts/audit/tortured_phrase_snapshot.schema.jsonconfig4.9 KB
_shared/contracts/audit/tortured_phrase_snapshot_manifest.schema.jsonconfig7.3 KB
_shared/contracts/capability/stage_capability_matrix.jsonconfig23.5 KB
_shared/contracts/claim_standing/candidate_ledger.schema.jsonconfig23.1 KB
_shared/contracts/claim_standing/query_plan.schema.jsonconfig12.7 KB
_shared/contracts/claim_standing/query_plan_v1_1.schema.jsonconfig20.3 KB
_shared/contracts/claim_standing/retrieval_input.schema.jsonconfig14.4 KB
_shared/contracts/claim_standing/stance_record.schema.jsonconfig11.7 KB
_shared/contracts/claim_standing/transmission_ledger.schema.jsonconfig7.6 KB
_shared/contracts/cross_model/codex_citation_receipt.schema.jsonconfig4.7 KB
_shared/contracts/cross_model/codex_citation_request.schema.jsonconfig986 B
_shared/contracts/cross_model/promotion_bakeoff_sealed_commitment.schema.jsonconfig1.5 KB
_shared/contracts/cross_model/promotion_bakeoff_sealed_reveal.schema.jsonconfig1.5 KB
_shared/contracts/degradation_registry.jsonconfig42.5 KB
_shared/contracts/evaluator/full.jsonconfig6.3 KB
_shared/contracts/evidence/claim_registry.schema.jsonconfig2.3 KB
_shared/contracts/evidence/claim_registry_coverage_report.schema.jsonconfig4.8 KB
_shared/contracts/evidence/evidence_row.schema.jsonconfig14.3 KB
_shared/contracts/evidence/evidence_row_v1_1.schema.jsonconfig11.4 KB
_shared/contracts/evidence/evidence_row_v1_2.schema.jsonconfig21.8 KB
_shared/contracts/evidence/evidence_row_v1_3.schema.jsonconfig10.7 KB
_shared/contracts/human_subjects/authority_profile_registry.schema.jsonconfig16.7 KB
_shared/contracts/human_subjects/committee_correspondence.schema.jsonconfig9.9 KB
_shared/contracts/human_subjects/content_coverage_advisory.schema.jsonconfig19.9 KB
_shared/contracts/human_subjects/irb_context_record.schema.jsonconfig12.1 KB
_shared/contracts/human_subjects/resolved_authority_context.schema.jsonconfig11.8 KB
_shared/contracts/human_subjects/review_pathway_rule_trace.schema.jsonconfig9.5 KB
_shared/contracts/human_subjects/review_pathway_trace_request.schema.jsonconfig4.8 KB
_shared/contracts/human_subjects/submission_packet_inventory.schema.jsonconfig8.5 KB
_shared/contracts/human_subjects/submission_packet_manifest.schema.jsonconfig32.2 KB
_shared/contracts/passport/audit_artifact_entry.schema.jsonconfig10.8 KB
_shared/contracts/passport/bibliographic_integrity_signal.schema.jsonconfig48.9 KB
_shared/contracts/passport/citation_provenance.schema.jsonconfig4.8 KB
_shared/contracts/passport/citation_verification_summary.schema.jsonconfig8.2 KB
_shared/contracts/passport/claim_audit_result.schema.jsonconfig7.8 KB
_shared/contracts/passport/claim_drift.schema.jsonconfig3.8 KB
_shared/contracts/passport/claim_intent_manifest.schema.jsonconfig6.6 KB
_shared/contracts/passport/constraint_violation.schema.jsonconfig3.6 KB
_shared/contracts/passport/excluded_source_entry.schema.jsonconfig1.7 KB
_shared/contracts/passport/experiment_alignment_result.schema.jsonconfig4.8 KB
_shared/contracts/passport/experiment_provenance_entry.schema.jsonconfig10.0 KB
_shared/contracts/passport/human_read_log.schema.jsonconfig3.8 KB
_shared/contracts/passport/inquiry_ledger_ref.schema.jsonconfig881 B
_shared/contracts/passport/literature_corpus_entry.schema.jsonconfig30.3 KB
_shared/contracts/passport/preregistration_artifact.schema.jsonconfig4.3 KB
_shared/contracts/passport/rejection_log.schema.jsonconfig3.3 KB
_shared/contracts/passport/reset_ledger_entry.schema.jsonconfig7.1 KB
_shared/contracts/passport/run_ledger.schema.jsonconfig8.0 KB
_shared/contracts/passport/standing_constraint_entry.schema.jsonconfig2.6 KB
_shared/contracts/passport/temporal_audit_results.schema.jsonconfig8.8 KB
_shared/contracts/passport/terminal_policies.schema.jsonconfig8.1 KB
_shared/contracts/passport/timeline.schema.jsonconfig4.7 KB
_shared/contracts/passport/uncited_assertion.schema.jsonconfig3.3 KB
_shared/contracts/passport/uncited_audit_failure.schema.jsonconfig4.4 KB
_shared/contracts/passport/user_attested_read_resolution.schema.jsonconfig3.2 KB
_shared/contracts/passport/version_records.schema.jsonconfig4.9 KB
_shared/contracts/patch/block_manifest.schema.jsonconfig2.1 KB
_shared/contracts/patch/legacy/v1_0/revision_patch.schema.jsonconfig5.3 KB
_shared/contracts/patch/revision_patch.schema.jsonconfig8.9 KB
_shared/contracts/pdf/pdf_content_classifier_diagnostic.schema.jsonconfig1.2 KB
_shared/contracts/pdf/pdf_content_classifier_worker.schema.jsonconfig2.2 KB
_shared/contracts/pdf/pdf_read_preflight.schema.jsonconfig6.8 KB
_shared/contracts/re_review/input_manifest.schema.jsonconfig7.6 KB
_shared/contracts/re_review/legacy/v1_0/input_manifest.schema.jsonconfig6.2 KB
_shared/contracts/re_review/legacy/v1_0/precommitment.schema.jsonconfig8.9 KB
_shared/contracts/re_review/legacy/v1_0/traceability.schema.jsonconfig34.2 KB
_shared/contracts/re_review/legacy/v1_0/verdict_record.schema.jsonconfig10.5 KB
_shared/contracts/re_review/precommitment.schema.jsonconfig8.6 KB
_shared/contracts/re_review/traceability.schema.jsonconfig37.7 KB
_shared/contracts/re_review/verdict_record.schema.jsonconfig10.5 KB
_shared/contracts/research_workflow/inquiry_branch_ledger.schema.jsonconfig17.0 KB
_shared/contracts/research_workflow/research_workflow_profile.schema.jsonconfig7.2 KB
_shared/contracts/research_workflow/research_workflow_profile_selection_receipt.schema.jsonconfig3.9 KB
_shared/contracts/review_target/constructive_review_findings.schema.jsonconfig7.0 KB
_shared/contracts/review_target/criteria_registry.schema.jsonconfig4.0 KB
_shared/contracts/review_target/review_criteria_binding_manifest.schema.jsonconfig7.9 KB
_shared/contracts/review_target/review_criteria_source_receipt.schema.jsonconfig5.6 KB
_shared/contracts/review_target/review_target_context.schema.jsonconfig4.5 KB
_shared/contracts/review_target/review_target_declaration.schema.jsonconfig4.6 KB
_shared/contracts/reviewer/full.jsonconfig3.7 KB
_shared/contracts/reviewer/methodology_focus.jsonconfig2.2 KB
_shared/contracts/reviewer/review_panel_provenance.schema.jsonconfig7.8 KB
_shared/contracts/reviewer/review_panel_provenance_carrier.schema.jsonconfig4.1 KB
_shared/contracts/reviewer/review_panel_provenance_input.schema.jsonconfig3.5 KB
_shared/contracts/revision/author_adjudication.schema.jsonconfig7.8 KB
_shared/contracts/revision/author_adjudication_input.schema.jsonconfig1.2 KB
_shared/contracts/revision/claim_strength_drift_disposition.schema.jsonconfig3.6 KB
_shared/contracts/revision/claim_strength_drift_disposition_input.schema.jsonconfig3.1 KB
_shared/contracts/revision/claim_strength_drift_findings.schema.jsonconfig4.2 KB
_shared/contracts/revision/claim_surface_manifest.schema.jsonconfig3.3 KB
_shared/contracts/revision/integrity_correction_authorization.schema.jsonconfig4.3 KB
_shared/contracts/revision/integrity_correction_authorization_input.schema.jsonconfig1.5 KB
_shared/contracts/revision/integrity_correction_list.schema.jsonconfig1.8 KB
_shared/contracts/revision/integrity_pass_receipt.schema.jsonconfig809 B
_shared/contracts/revision/revision_evidence_bundle.schema.jsonconfig4.9 KB
_shared/contracts/revision/revision_roadmap.schema.jsonconfig11.2 KB
_shared/contracts/submission/format_profile.example.yamlconfig971 B
_shared/contracts/submission/format_profile.schema.jsonconfig4.6 KB
_shared/contracts/submission/submission_verification_report.schema.jsonconfig10.3 KB
_shared/contracts/submission/venue_profile.schema.jsonconfig4.1 KB
_shared/contracts/writer/full.jsonconfig3.6 KB
_shared/cross_model_verification.mdmarkdown83.3 KB
_shared/description-original.mdmarkdown1.1 KB
_shared/dsh-runtime.mdmarkdown1.5 KB
_shared/evals_lift_report.schema.jsonconfig5.0 KB
_shared/ground_truth_isolation_pattern.mdmarkdown16.0 KB
_shared/handoff_schemas.mdmarkdown96.9 KB
_shared/human_subjects_authority_registry.jsonconfig49.5 KB
_shared/mode_spectrum.mdmarkdown5.2 KB
_shared/model_tiering.mdmarkdown12.6 KB
_shared/output_language_pair.mdmarkdown7.7 KB
_shared/policy_data/nature_policy.mdmarkdown3.9 KB
_shared/prisma_trAIce_protocol.mdmarkdown10.2 KB
_shared/raise_framework.mdmarkdown7.5 KB
_shared/references/authority_content_coverage_advisory_protocol.mdmarkdown14.0 KB
_shared/references/claim_standing_candidate_ledger_protocol.mdmarkdown19.2 KB
_shared/references/claim_strength_ladder.mdmarkdown5.5 KB
_shared/references/cross_document_consistency_advisory_protocol.mdmarkdown13.5 KB
_shared/references/evidence_row_protocol.mdmarkdown14.4 KB
_shared/references/firm_rules.mdmarkdown11.0 KB
_shared/references/human_subjects_authority_protocol.mdmarkdown13.1 KB
_shared/references/intent_clarification_protocol.mdmarkdown11.9 KB
_shared/references/irb_terminology_glossary.mdmarkdown12.4 KB
_shared/references/per_source_method_weaknesses.mdmarkdown4.2 KB
_shared/references/protected_hedging_phrases.mdmarkdown8.9 KB
_shared/references/psychometric_terminology_glossary.mdmarkdown8.7 KB
_shared/references/review_criteria_consumer_protocol.mdmarkdown10.3 KB
_shared/references/review_form_note.mdmarkdown11.3 KB
_shared/references/review_pathway_rule_trace_protocol.mdmarkdown8.3 KB
_shared/references/routing_core.mdmarkdown5.7 KB
_shared/references/submission_packet_manifest_protocol.mdmarkdown13.6 KB
_shared/references/word_count_conventions.mdmarkdown9.0 KB
_shared/research_workflow_profiles/field_general.jsonconfig1.2 KB
_shared/review_criteria_registry.jsonconfig11.5 KB
_shared/review_criteria_sources/msr-2027-technical-papers.2026-08-24.jsonconfig2.0 KB
_shared/review_criteria_sources/sigsoft-empirical-standards.2026-08-24.jsonconfig1.4 KB
_shared/sprint_contract.schema.jsonconfig19.0 KB
_shared/style_calibration_protocol.mdmarkdown6.9 KB
_shared/templates/codex_audit_multifile_template.mdmarkdown16.7 KB
agents/protocol_architect_agent.mdmarkdown6.4 KB
agents/qc_auditor_agent.mdmarkdown5.2 KB
agents/reporter_agent.mdmarkdown3.7 KB
agents/screening_reviewer_agent.mdmarkdown5.4 KB
examples/example_config_dta.jsonconfig1.8 KB
examples/example_protocol_dta.mdmarkdown3.8 KB
examples/quick_screen_example.mdmarkdown3.0 KB
references/decision_rules.mdmarkdown6.7 KB
references/failure_paths.mdmarkdown4.1 KB
references/orchestration.mdmarkdown12.4 KB
references/protocol_template.mdmarkdown6.2 KB
references/quality_control.mdmarkdown6.0 KB
references/reporting_and_handoff.mdmarkdown5.8 KB
references/reviewer_roles.mdmarkdown4.0 KB
scripts/_claim_audit_constants.pyscript13.7 KB
scripts/_markdown_lint_util.pyscript9.0 KB
scripts/_next_verified_at_ms.pyscript6.5 KB
scripts/_skill_lint.pyscript13.6 KB
scripts/ars_cache_invalidate.pyscript1.3 KB
scripts/ars_mark_read.pyscript18.2 KB
scripts/ars_write_scope_guard.pyscript30.9 KB
scripts/audit_snapshot.pyscript23.5 KB
scripts/bibliographic_integrity_signals.pyscript32.2 KB
scripts/build_claim_standing_candidate_ledger.pyscript54.3 KB
scripts/build_claim_standing_query_plan.pyscript25.0 KB
scripts/build_content_coverage_advisory.pyscript45.1 KB
scripts/build_cross_document_consistency_advisory.pyscript77.9 KB
scripts/build_outputs.pyscript33.0 KB
scripts/build_review_pathway_rule_trace.pyscript34.2 KB
scripts/build_submission_packet_manifest.pyscript88.1 KB
scripts/build_workflow.pyscript20.0 KB
scripts/check_audit_artifact_consistency.pyscript103.9 KB
scripts/check_benchmark_report.pyscript2.4 KB
scripts/check_claim_audit_consistency.pyscript68.9 KB
scripts/check_claim_standing_freshness.pyscript9.7 KB
scripts/check_claim_standing_transmissions.pyscript17.9 KB
scripts/check_committee_correspondence.pyscript14.9 KB
scripts/check_corpus_consumer_protocol.pyscript13.7 KB
scripts/check_cross_model_handoff_contract.pyscript9.9 KB
scripts/check_data_access_level.pyscript5.2 KB

_shared/contracts/evidence/evidence_row_v1_2.schema.json

View on GitHub
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/Imbad0202/academic-research-skills/shared/contracts/evidence/evidence_row_v1_2.schema.json",
  "title": "ARS Shared Evidence Row v1.2 — cross-document consistency",
  "description": "Closed observation-level evidence-row/1.2 carrier for the cross-document consistency advisory. One row integrity-binds the complete ordered bilateral or preregistration three-witness evidence set. Evidence and checked-scope states are caller-supplied semantic observations whose bytes are replayed; they are not agreement, completeness, readiness, acceptance, or authorization findings.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "surface",
    "row_id",
    "pair_kind",
    "observation_key",
    "deviation_id",
    "deviation_domain",
    "evidence_slots",
    "row_sha256"
  ],
  "properties": {
    "schema_version": {"const": "evidence-row/1.2"},
    "surface": {"const": "cross_document_consistency"},
    "row_id": {
      "type": "string",
      "pattern": "^EVR-XDOC-[0-9]{6}$"
    },
    "pair_kind": {"$ref": "#/$defs/pair_kind"},
    "observation_key": {"$ref": "#/$defs/identifier"},
    "deviation_id": {
      "oneOf": [{"$ref": "#/$defs/identifier"}, {"type": "null"}]
    },
    "deviation_domain": {
      "oneOf": [{"$ref": "#/$defs/deviation_domain"}, {"type": "null"}]
    },
    "evidence_slots": {
      "type": "array",
      "minItems": 2,
      "maxItems": 3,
      "items": {"$ref": "#/$defs/evidence_slot"}
    },
    "row_sha256": {"$ref": "#/$defs/sha256"}
  },
  "allOf": [
    {
      "if": {
        "properties": {"pair_kind": {"const": "abstract_results"}},
        "required": ["pair_kind"]
      },
      "then": {
        "properties": {
          "deviation_id": {"type": "null"},
          "deviation_domain": {"type": "null"},
          "evidence_slots": {"$ref": "#/$defs/abstract_results_slots"}
        }
      }
    },
    {
      "if": {
        "properties": {"pair_kind": {"const": "discussion_results"}},
        "required": ["pair_kind"]
      },
      "then": {
        "properties": {
          "deviation_id": {"type": "null"},
          "deviation_domain": {"type": "null"},
          "evidence_slots": {"$ref": "#/$defs/discussion_results_slots"}
        }
      }
    },
    {
      "if": {
        "properties": {"pair_kind": {"const": "methods_reported_analyses"}},
        "required": ["pair_kind"]
      },
      "then": {
        "properties": {
          "deviation_id": {"type": "null"},
          "deviation_domain": {"type": "null"},
          "evidence_slots": {"$ref": "#/$defs/methods_reported_analyses_slots"}
        }
      }
    },
    {
      "if": {
        "properties": {"pair_kind": {"const": "manuscript_preregistration"}},
        "required": ["pair_kind"]
      },
      "then": {
        "properties": {
          "evidence_slots": {"$ref": "#/$defs/manuscript_preregistration_slots"}
        },
        "allOf": [
          {
            "if": {
              "properties": {
                "evidence_slots": {
                  "contains": {
                    "type": "object",
                    "properties": {
                      "evidence_state": {"$ref": "#/$defs/failure_state"}
                    },
                    "required": ["evidence_state"]
                  }
                }
              },
              "required": ["evidence_slots"]
            },
            "then": {
              "properties": {
                "deviation_id": {"type": "null"},
                "deviation_domain": {"type": "null"}
              }
            },
            "else": {
              "properties": {
                "deviation_id": {"$ref": "#/$defs/identifier"},
                "deviation_domain": {"$ref": "#/$defs/deviation_domain"}
              }
            }
          }
        ]
      }
    }
  ],
  "$defs": {
    "identifier": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "pattern": "^[a-z0-9][a-z0-9._-]{0,199}$"
    },
    "sha256": {
      "type": "string",
      "minLength": 64,
      "maxLength": 64,
      "pattern": "^[0-9a-f]{64}$"
    },
    "rfc3339": {
      "type": "string",
      "format": "date-time",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}[Tt](?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]+)?(?:[Zz]|[+-](?:[01][0-9]|2[0-3]):[0-5][0-9])$"
    },
    "pair_kind": {
      "enum": [
        "abstract_results",
        "discussion_results",
        "methods_reported_analyses",
        "manuscript_preregistration"
      ]
    },
    "deviation_domain": {
      "enum": [
        "hypothesis",
        "primary_outcome",
        "sample_size_or_stopping",
        "analysis_model",
        "transformation",
        "exclusion",
        "inference_criterion",
        "confirmatory_exploratory_designation"
      ]
    },
    "failure_state": {
      "enum": [
        "not_checked",
        "source_missing",
        "access_failed",
        "retrieval_failed"
      ]
    },
    "source_span_utf8": {
      "type": "object",
      "additionalProperties": false,
      "required": ["start", "end"],
      "properties": {
        "start": {"type": "integer", "minimum": 0, "maximum": 67108863},
        "end": {"type": "integer", "minimum": 1, "maximum": 67108864}
      },
      "description": "Zero-based, end-exclusive byte offsets in the exact source_content_sha256 UTF-8 byte stream; runtime validation requires start < end."
    },
    "relative_path": {
      "type": "string",
      "minLength": 1,
      "maxLength": 1024,
      "pattern": "^[^/\\\\\\u0000-\\u001f\\u007f-\\u009f\\uD800-\\uDFFF][^\\\\\\u0000-\\u001f\\u007f-\\u009f\\uD800-\\uDFFF]*$",
      "allOf": [
        {"not": {"pattern": "(?:^|/)(?:\\.|\\.\\.)(?:/|$)"}},
        {"not": {"pattern": "//|/$"}},
        {
          "not": {
            "pattern": "[­؀-؅؜۝܏࢐-࢑࣢᠎​-‏‪-‮⁠-⁤⁦--]"
          }
        }
      ]
    },
    "document_locator": {
      "type": "object",
      "additionalProperties": false,
      "required": ["kind", "value", "provenance"],
      "properties": {
        "kind": {"enum": ["document", "page", "section", "paragraph", "other"]},
        "value": {
          "type": "string",
          "minLength": 1,
          "maxLength": 500,
          "pattern": "^[^\\u0000-\\u001f\\u007f-\\u009f\\uD800-\\uDFFF]+$"
        },
        "provenance": {"const": "agent_supplied_not_independently_authenticated"}
      }
    },
    "source": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "artifact_id",
        "document_kind",
        "relative_path",
        "source_artifact_sha256",
        "source_artifact_size_bytes",
        "source_content_sha256",
        "source_content_utf8_bytes"
      ],
      "properties": {
        "artifact_id": {"$ref": "#/$defs/identifier"},
        "document_kind": {"enum": ["manuscript", "preregistration"]},
        "relative_path": {
          "oneOf": [{"$ref": "#/$defs/relative_path"}, {"type": "null"}]
        },
        "source_artifact_sha256": {
          "oneOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]
        },
        "source_artifact_size_bytes": {
          "type": ["integer", "null"],
          "minimum": 0,
          "maximum": 67108864
        },
        "source_content_sha256": {
          "oneOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]
        },
        "source_content_utf8_bytes": {
          "type": ["integer", "null"],
          "minimum": 0,
          "maximum": 67108864
        }
      },
      "allOf": [
        {
          "if": {
            "properties": {"document_kind": {"const": "manuscript"}},
            "required": ["document_kind"]
          },
          "then": {
            "properties": {
              "source_artifact_size_bytes": {
                "type": ["integer", "null"],
                "minimum": 0,
                "maximum": 8388608
              },
              "source_content_utf8_bytes": {
                "type": ["integer", "null"],
                "minimum": 0,
                "maximum": 8388608
              }
            }
          }
        }
      ]
    },
    "source_present": {
      "type": "object",
      "properties": {
        "relative_path": {"$ref": "#/$defs/relative_path"},
        "source_artifact_sha256": {"$ref": "#/$defs/sha256"},
        "source_artifact_size_bytes": {"type": "integer", "minimum": 1},
        "source_content_sha256": {"$ref": "#/$defs/sha256"},
        "source_content_utf8_bytes": {"type": "integer", "minimum": 1}
      }
    },
    "source_unavailable": {
      "type": "object",
      "properties": {
        "relative_path": {"type": "null"},
        "source_artifact_sha256": {"type": "null"},
        "source_artifact_size_bytes": {"type": "null"},
        "source_content_sha256": {"type": "null"},
        "source_content_utf8_bytes": {"type": "null"}
      }
    },
    "anchor": {
      "type": "object",
      "additionalProperties": false,
      "required": ["kind", "value_encoded", "value_decoded"],
      "properties": {
        "kind": {"enum": ["quote", "none"]},
        "value_encoded": {"type": "string", "maxLength": 12000},
        "value_decoded": {"type": "string", "maxLength": 1000}
      }
    },
    "quote_anchor": {
      "type": "object",
      "properties": {
        "kind": {"const": "quote"},
        "value_encoded": {"type": "string", "minLength": 1, "maxLength": 12000},
        "value_decoded": {"type": "string", "minLength": 1, "maxLength": 1000}
      }
    },
    "empty_anchor": {
      "type": "object",
      "properties": {
        "kind": {"const": "none"},
        "value_encoded": {"const": ""},
        "value_decoded": {"const": ""}
      }
    },
    "excerpt": {
      "type": "object",
      "additionalProperties": false,
      "required": ["text", "excerpt_sha256", "source_span_utf8", "captured_at"],
      "properties": {
        "text": {"type": ["string", "null"], "minLength": 1, "maxLength": 1000},
        "excerpt_sha256": {
          "oneOf": [{"$ref": "#/$defs/sha256"}, {"type": "null"}]
        },
        "source_span_utf8": {
          "oneOf": [{"$ref": "#/$defs/source_span_utf8"}, {"type": "null"}]
        },
        "captured_at": {
          "oneOf": [{"$ref": "#/$defs/rfc3339"}, {"type": "null"}]
        }
      }
    },
    "quote_excerpt": {
      "type": "object",
      "properties": {
        "text": {"type": "string", "minLength": 1, "maxLength": 1000},
        "excerpt_sha256": {"$ref": "#/$defs/sha256"},
        "source_span_utf8": {"$ref": "#/$defs/source_span_utf8"},
        "captured_at": {"$ref": "#/$defs/rfc3339"}
      }
    },
    "null_excerpt": {
      "type": "object",
      "properties": {
        "text": {"type": "null"},
        "excerpt_sha256": {"type": "null"},
        "source_span_utf8": {"type": "null"},
        "captured_at": {"type": "null"}
      }
    },
    "checked_scope": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "source_span_utf8",
        "scope_sha256",
        "scope_utf8_bytes",
        "checked_at",
        "completeness_provenance"
      ],
      "properties": {
        "source_span_utf8": {"$ref": "#/$defs/source_span_utf8"},
        "scope_sha256": {"$ref": "#/$defs/sha256"},
        "scope_utf8_bytes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 67108864
        },
        "checked_at": {"$ref": "#/$defs/rfc3339"},
        "completeness_provenance": {
          "const": "caller_declared_complete_named_scope_not_independently_authenticated"
        }
      }
    },
    "cache": {
      "type": "object",
      "additionalProperties": false,
      "required": ["status", "key_sha256"],
      "properties": {
        "status": {"const": "not_used"},
        "key_sha256": {"type": "null"}
      }
    },
    "content_handling": {
      "type": "object",
      "additionalProperties": false,
      "required": ["contains_external_text", "sharing_scope", "rights_basis"],
      "properties": {
        "contains_external_text": {"type": "boolean"},
        "sharing_scope": {"enum": ["session_only", "user_confirmed_shareable"]},
        "rights_basis": {"enum": ["not_assessed", "user_declared_authorized"]}
      },
      "allOf": [
        {
          "if": {
            "properties": {"sharing_scope": {"const": "user_confirmed_shareable"}},
            "required": ["sharing_scope"]
          },
          "then": {
            "properties": {"rights_basis": {"const": "user_declared_authorized"}}
          }
        },
        {
          "if": {
            "properties": {"rights_basis": {"const": "user_declared_authorized"}},
            "required": ["rights_basis"]
          },
          "then": {
            "properties": {"sharing_scope": {"const": "user_confirmed_shareable"}}
          }
        }
      ]
    },
    "no_external_text_handling": {
      "type": "object",
      "properties": {
        "contains_external_text": {"const": false},
        "sharing_scope": {"const": "session_only"},
        "rights_basis": {"const": "not_assessed"}
      }
    },
    "evidence_slot": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "logical_role",
        "source",
        "document_locator",
        "evidence_state",
        "anchor",
        "excerpt",
        "checked_scope",
        "cache",
        "content_handling"
      ],
      "properties": {
        "logical_role": {
          "enum": [
            "abstract",
            "results",
            "discussion",
            "methods",
            "reported_analyses",
            "manuscript_report",
            "preregistration",
            "disclosure_scope"
          ]
        },
        "source": {"$ref": "#/$defs/source"},
        "document_locator": {"$ref": "#/$defs/document_locator"},
        "evidence_state": {
          "enum": [
            "agent_extracted",
            "checked_no_match",
            "not_checked",
            "source_missing",
            "access_failed",
            "retrieval_failed"
          ]
        },
        "anchor": {"$ref": "#/$defs/anchor"},
        "excerpt": {"$ref": "#/$defs/excerpt"},
        "checked_scope": {
          "oneOf": [{"$ref": "#/$defs/checked_scope"}, {"type": "null"}]
        },
        "cache": {"$ref": "#/$defs/cache"},
        "content_handling": {"$ref": "#/$defs/content_handling"}
      },
      "allOf": [
        {
          "if": {
            "properties": {"logical_role": {"const": "preregistration"}},
            "required": ["logical_role"]
          },
          "then": {
            "properties": {
              "source": {
                "properties": {"document_kind": {"const": "preregistration"}}
              }
            }
          },
          "else": {
            "properties": {
              "source": {
                "properties": {"document_kind": {"const": "manuscript"}}
              }
            }
          }
        },
        {
          "if": {
            "properties": {"evidence_state": {"const": "agent_extracted"}},
            "required": ["evidence_state"]
          },
          "then": {
            "properties": {
              "source": {"$ref": "#/$defs/source_present"},
              "anchor": {"$ref": "#/$defs/quote_anchor"},
              "excerpt": {"$ref": "#/$defs/quote_excerpt"},
              "checked_scope": {"type": "null"},
              "content_handling": {
                "properties": {"contains_external_text": {"const": true}}
              }
            }
          }
        },
        {
          "if": {
            "properties": {"evidence_state": {"const": "checked_no_match"}},
            "required": ["evidence_state"]
          },
          "then": {
            "properties": {
              "source": {"$ref": "#/$defs/source_present"},
              "anchor": {"$ref": "#/$defs/empty_anchor"},
              "excerpt": {"$ref": "#/$defs/null_excerpt"},
              "checked_scope": {"$ref": "#/$defs/checked_scope"},
              "content_handling": {"$ref": "#/$defs/no_external_text_handling"}
            }
          }
        },
        {
          "if": {
            "properties": {"evidence_state": {"const": "not_checked"}},
            "required": ["evidence_state"]
          },
          "then": {
            "properties": {
              "source": {"$ref": "#/$defs/source_present"},
              "anchor": {"$ref": "#/$defs/empty_anchor"},
              "excerpt": {"$ref": "#/$defs/null_excerpt"},
              "checked_scope": {"type": "null"},
              "content_handling": {"$ref": "#/$defs/no_external_text_handling"}
            }
          }
        },
        {
          "if": {
            "properties": {"evidence_state": {"enum": ["source_missing", "access_failed", "retrieval_failed"]}},
            "required": ["evidence_state"]
          },
          "then": {
            "properties": {
              "source": {"$ref": "#/$defs/source_unavailable"},
              "anchor": {"$ref": "#/$defs/empty_anchor"},
              "excerpt": {"$ref": "#/$defs/null_excerpt"},
              "checked_scope": {"type": "null"},
              "content_handling": {"$ref": "#/$defs/no_external_text_handling"}
            }
          }
        }
      ]
    },
    "slot_abstract": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "abstract"}}}
      ]
    },
    "slot_results": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "results"}}}
      ]
    },
    "slot_discussion": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "discussion"}}}
      ]
    },
    "slot_methods": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "methods"}}}
      ]
    },
    "slot_reported_analyses": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "reported_analyses"}}}
      ]
    },
    "slot_manuscript_report": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "manuscript_report"}}}
      ]
    },
    "slot_preregistration": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "preregistration"}}}
      ]
    },
    "slot_disclosure_scope": {
      "allOf": [
        {"$ref": "#/$defs/evidence_slot"},
        {"properties": {"logical_role": {"const": "disclosure_scope"}}}
      ]
    },
    "two_slot_failure": {
      "contains": {
        "type": "object",
        "properties": {"evidence_state": {"$ref": "#/$defs/failure_state"}},
        "required": ["evidence_state"]
      },
      "minContains": 1
    },
    "three_slot_failure": {
      "contains": {
        "type": "object",
        "properties": {"evidence_state": {"$ref": "#/$defs/failure_state"}},
        "required": ["evidence_state"]
      },
      "minContains": 1
    },
    "abstract_results_slots": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2,
      "prefixItems": [
        {"$ref": "#/$defs/slot_abstract"},
        {"$ref": "#/$defs/slot_results"}
      ],
      "items": false,
      "oneOf": [
        {
          "prefixItems": [
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "agent_extracted"}}}
          ]
        },
        {"$ref": "#/$defs/two_slot_failure"}
      ]
    },
    "discussion_results_slots": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2,
      "prefixItems": [
        {"$ref": "#/$defs/slot_discussion"},
        {"$ref": "#/$defs/slot_results"}
      ],
      "items": false,
      "oneOf": [
        {
          "prefixItems": [
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "agent_extracted"}}}
          ]
        },
        {"$ref": "#/$defs/two_slot_failure"}
      ]
    },
    "methods_reported_analyses_slots": {
      "type": "array",
      "minItems": 2,
      "maxItems": 2,
      "prefixItems": [
        {"$ref": "#/$defs/slot_methods"},
        {"$ref": "#/$defs/slot_reported_analyses"}
      ],
      "items": false,
      "oneOf": [
        {
          "prefixItems": [
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "agent_extracted"}}}
          ]
        },
        {
          "prefixItems": [
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "checked_no_match"}}}
          ]
        },
        {
          "prefixItems": [
            {"properties": {"evidence_state": {"const": "checked_no_match"}}},
            {"properties": {"evidence_state": {"const": "agent_extracted"}}}
          ]
        },
        {"$ref": "#/$defs/two_slot_failure"}
      ]
    },
    "manuscript_preregistration_slots": {
      "type": "array",
      "minItems": 3,
      "maxItems": 3,
      "prefixItems": [
        {"$ref": "#/$defs/slot_manuscript_report"},
        {"$ref": "#/$defs/slot_preregistration"},
        {"$ref": "#/$defs/slot_disclosure_scope"}
      ],
      "items": false,
      "oneOf": [
        {
          "prefixItems": [
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "checked_no_match"}}}
          ]
        },
        {
          "prefixItems": [
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "agent_extracted"}}},
            {"properties": {"evidence_state": {"const": "agent_extracted"}}}
          ]
        },
        {"$ref": "#/$defs/three_slot_failure"}
      ]
    }
  }
}
add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks.Stars: 115kUpdated Claude CodeCodexVerifiedInstall