zrwangems/dsh-zrwang-plugin / ars/skills/academic-pipeline
academic-pipeline
Flagged学术研究总编排:研究→写作→诚信检查→评审→返修→复审→终检→定稿的十阶段流水线,每阶段停在用户确认点,含材料护照与 7 类 AI 研究失败模式检查。Triggers: academic pipeline, research to paper, full paper workflow, end-to-end paper | 完整论文流程, 从研究到论文, 端到端写论文, 论文流水线。
_shared/contracts/claim_standing/query_plan_v1_1.schema.json
View on GitHub{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/Imbad0202/academic-research-skills/shared/contracts/claim_standing/query_plan_v1_1.schema.json",
"title": "#655 claim-standing query plan v1.1 (stance-authorizable)",
"description": "Version 1.1 of the consent-bound query plan: identical to 1.0 except that the consent decision may authorize stance classification, in which case a top-level stance_plan names the exact stance provider/model surface the researcher consented to and the consent binds its hash. A 1.0 plan remains valid under its own schema; this file never replaces it.",
"type": "object",
"additionalProperties": false,
"required": [
"schema_version",
"probe_id",
"claim",
"queries",
"provider_roster",
"allowed_languages",
"allowed_document_types",
"authorized_content_classes",
"caps",
"consent",
"created_at",
"plan_sha256",
"stance_plan"
],
"properties": {
"schema_version": {
"const": "claim-standing-query-plan/1.1"
},
"probe_id": {
"$ref": "#/$defs/identifier"
},
"claim": {
"$ref": "#/$defs/claim"
},
"queries": {
"type": "array",
"minItems": 1,
"maxItems": 3,
"items": {
"$ref": "#/$defs/query"
}
},
"provider_roster": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"items": {
"$ref": "#/$defs/provider"
}
},
"allowed_languages": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/language"
}
},
"allowed_document_types": {
"type": "array",
"minItems": 1,
"maxItems": 20,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/identifier"
}
},
"authorized_content_classes": {
"oneOf": [
{
"const": [
"accepted_search_query"
]
},
{
"const": [
"accepted_search_query",
"claim_and_selected_evidence_to_stance_provider"
]
}
],
"description": "retrieval_only authorizes exactly the accepted search queries; retrieval_plus_stance additionally authorizes sending the exact claim and each selected candidate's evidence text to the named stance provider. No other content class exists in 1.1."
},
"caps": {
"type": "object",
"additionalProperties": false,
"required": [
"max_queries",
"max_indexes",
"max_hits_per_query_index",
"max_raw_hits",
"max_selected_work_families"
],
"properties": {
"max_queries": {
"const": 3
},
"max_indexes": {
"const": 4
},
"max_hits_per_query_index": {
"const": 20
},
"max_raw_hits": {
"const": 240
},
"max_selected_work_families": {
"const": 40
}
}
},
"consent": {
"$ref": "#/$defs/consent"
},
"created_at": {
"$ref": "#/$defs/rfc3339"
},
"plan_sha256": {
"$ref": "#/$defs/sha256"
},
"stance_plan": {
"oneOf": [
{
"type": "null"
},
{
"type": "object",
"additionalProperties": false,
"required": [
"provider_identity",
"model_identity",
"prompt_contract_version",
"abstracts_to_llm_authorized",
"session_held_full_text_to_llm_authorized",
"retention_state",
"retention_reference"
],
"properties": {
"provider_identity": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "\\S",
"description": "Exact stance provider named in the consent surface."
},
"model_identity": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "\\S",
"description": "Exact model identity named in the consent surface."
},
"prompt_contract_version": {
"$ref": "#/$defs/identifier"
},
"abstracts_to_llm_authorized": {
"const": true,
"description": "Stance classification necessarily sends the claim and selected abstracts to the named provider; 1.1 cannot authorize stance without it."
},
"session_held_full_text_to_llm_authorized": {
"type": "boolean"
},
"retention_state": {
"enum": [
"known",
"unknown"
]
},
"retention_reference": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 1000,
"pattern": "\\S"
}
},
"allOf": [
{
"if": {
"properties": {
"retention_state": {
"const": "known"
}
},
"required": [
"retention_state"
]
},
"then": {
"properties": {
"retention_reference": {
"type": "string"
}
}
}
},
{
"if": {
"properties": {
"retention_state": {
"const": "unknown"
}
},
"required": [
"retention_state"
]
},
"then": {
"properties": {
"retention_reference": {
"type": "null"
}
}
}
}
]
}
]
}
},
"$defs": {
"identifier": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,199}$"
},
"sha256": {
"type": "string",
"minLength": 64,
"maxLength": 64,
"pattern": "^[0-9a-f]{64}$"
},
"rfc3339": {
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T(?:[01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](?:\\.[0-9]+)?Z$"
},
"language": {
"type": "string",
"minLength": 2,
"maxLength": 35,
"pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$"
},
"claim": {
"type": "object",
"additionalProperties": false,
"required": [
"checkpoint",
"claim_id",
"claim_text",
"claim_sha256",
"registry_selection_tier",
"high_impact_basis",
"eligibility_confirmed_by_researcher"
],
"properties": {
"checkpoint": {
"enum": [
"stage_2_5",
"stage_4_5"
]
},
"claim_id": {
"$ref": "#/$defs/identifier"
},
"claim_text": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 4000,
"pattern": "\\S"
},
"claim_sha256": {
"$ref": "#/$defs/sha256"
},
"registry_selection_tier": {
"enum": [
"HIGH-IMPACT",
"RANDOM",
"TOP-UP",
"NOT-SELECTED",
"ALL"
]
},
"high_impact_basis": {
"type": "array",
"minItems": 1,
"maxItems": 5,
"uniqueItems": true,
"items": {
"enum": [
"headline_conclusion",
"numerical",
"causal",
"methods_critical",
"disputed"
]
}
},
"eligibility_confirmed_by_researcher": {
"const": true
}
},
"allOf": [
{
"if": {
"properties": {
"checkpoint": {
"const": "stage_2_5"
}
},
"required": [
"checkpoint"
]
},
"then": {
"properties": {
"registry_selection_tier": {
"const": "HIGH-IMPACT"
}
}
}
},
{
"if": {
"properties": {
"checkpoint": {
"const": "stage_4_5"
}
},
"required": [
"checkpoint"
]
},
"then": {
"properties": {
"registry_selection_tier": {
"const": "ALL"
}
}
}
}
]
},
"date_filter": {
"type": "object",
"additionalProperties": false,
"required": [
"from_year",
"through_year"
],
"properties": {
"from_year": {
"type": [
"integer",
"null"
],
"minimum": 1000,
"maximum": 9999
},
"through_year": {
"type": [
"integer",
"null"
],
"minimum": 1000,
"maximum": 9999
}
}
},
"query": {
"type": "object",
"additionalProperties": false,
"required": [
"query_id",
"original_query_text",
"accepted_query_text",
"construction",
"source_claim_sha256",
"language",
"date_filter",
"index_targets",
"query_sha256"
],
"properties": {
"query_id": {
"$ref": "#/$defs/identifier"
},
"original_query_text": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 4000,
"pattern": "\\S"
},
"accepted_query_text": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 4000,
"pattern": "\\S"
},
"construction": {
"enum": [
"exact_claim",
"researcher_authored",
"assisted_then_researcher_approved"
]
},
"source_claim_sha256": {
"$ref": "#/$defs/sha256"
},
"language": {
"$ref": "#/$defs/language"
},
"date_filter": {
"$ref": "#/$defs/date_filter"
},
"index_targets": {
"type": "array",
"minItems": 1,
"maxItems": 4,
"uniqueItems": true,
"items": {
"$ref": "#/$defs/identifier"
}
},
"query_sha256": {
"$ref": "#/$defs/sha256"
}
}
},
"provider": {
"type": "object",
"additionalProperties": false,
"required": [
"index_id",
"product_identity",
"purpose",
"query_capability",
"abstract_availability",
"pagination_behavior",
"adapter_version",
"retention_state",
"retention_reference"
],
"properties": {
"index_id": {
"$ref": "#/$defs/identifier"
},
"product_identity": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 300,
"pattern": "\\S"
},
"purpose": {
"const": "scholarly_discovery"
},
"query_capability": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S"
},
"abstract_availability": {
"enum": [
"available_when_returned",
"metadata_only",
"mixed"
]
},
"pagination_behavior": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 500,
"pattern": "\\S"
},
"adapter_version": {
"$ref": "#/$defs/identifier"
},
"retention_state": {
"enum": [
"known",
"unknown"
]
},
"retention_reference": {
"description": "When known, runtime requires NFKC text with a visible letter, number, or symbol and rejects any surrogate; unknown remains null.",
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 1000
}
},
"allOf": [
{
"if": {
"properties": {
"retention_state": {
"const": "known"
}
},
"required": [
"retention_state"
]
},
"then": {
"properties": {
"retention_reference": {
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "\\S"
}
}
},
"else": {
"properties": {
"retention_reference": {
"type": "null"
}
}
}
}
]
},
"consent": {
"type": "object",
"additionalProperties": false,
"required": [
"consent_receipt_id",
"decision",
"accepted_at",
"claim_sha256",
"provider_roster_sha256",
"caps_sha256",
"queries_sha256",
"consentable_plan_sha256",
"stance_classification_authorized",
"advisory_acknowledged",
"search_bounded_acknowledged",
"local_persistence",
"provider_retention_disclosed",
"deletion_boundary",
"export_boundary",
"receipt_sha256",
"stance_plan_sha256"
],
"properties": {
"consent_receipt_id": {
"$ref": "#/$defs/identifier"
},
"decision": {
"enum": [
"retrieval_only",
"retrieval_plus_stance"
]
},
"accepted_at": {
"$ref": "#/$defs/rfc3339"
},
"claim_sha256": {
"$ref": "#/$defs/sha256"
},
"provider_roster_sha256": {
"$ref": "#/$defs/sha256"
},
"caps_sha256": {
"$ref": "#/$defs/sha256"
},
"queries_sha256": {
"$ref": "#/$defs/sha256"
},
"consentable_plan_sha256": {
"$ref": "#/$defs/sha256"
},
"stance_classification_authorized": {
"type": "boolean"
},
"advisory_acknowledged": {
"const": true
},
"search_bounded_acknowledged": {
"const": true
},
"local_persistence": {
"description": "CLI build refuses every output path for session_only. A write requires this hash-bound receipt to say explicit_local_export.",
"enum": [
"session_only",
"explicit_local_export"
]
},
"provider_retention_disclosed": {
"const": true
},
"deletion_boundary": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "\\S"
},
"export_boundary": {
"description": "Portable schema uses \\S; runtime additionally requires NFKC text with a visible letter, number, or symbol and rejects any surrogate.",
"type": "string",
"minLength": 1,
"maxLength": 1000,
"pattern": "\\S"
},
"authorized_output_path": {
"description": "Exact absolute string form of the single operator-named CLI output path. Required and hash-bound for explicit_local_export; absent or null for session_only. Runtime rejects relative paths so the target cannot vary by working directory.",
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 4096,
"pattern": "\\S"
},
"receipt_sha256": {
"$ref": "#/$defs/sha256"
},
"stance_plan_sha256": {
"oneOf": [
{
"$ref": "#/$defs/sha256"
},
{
"type": "null"
}
],
"description": "Hash of the top-level stance_plan under retrieval_plus_stance; null under retrieval_only."
}
},
"allOf": [
{
"if": {
"properties": {
"local_persistence": {
"const": "explicit_local_export"
}
},
"required": [
"local_persistence"
]
},
"then": {
"required": [
"authorized_output_path"
],
"properties": {
"export_boundary": {
"const": "One local candidate-ledger export to the operator-named output path is authorized."
},
"authorized_output_path": {
"type": "string",
"pattern": "\\S"
}
}
},
"else": {
"properties": {
"authorized_output_path": {
"type": "null"
}
}
}
},
{
"if": {
"properties": {
"decision": {
"const": "retrieval_only"
}
}
},
"then": {
"properties": {
"stance_classification_authorized": {
"const": false
},
"stance_plan_sha256": {
"const": null
}
}
}
},
{
"if": {
"properties": {
"decision": {
"const": "retrieval_plus_stance"
}
}
},
"then": {
"properties": {
"stance_classification_authorized": {
"const": true
},
"stance_plan_sha256": {
"type": "string"
}
}
}
}
]
}
},
"allOf": [
{
"if": {
"properties": {
"consent": {
"properties": {
"decision": {
"const": "retrieval_only"
}
},
"required": [
"decision"
]
}
},
"required": [
"consent"
]
},
"then": {
"properties": {
"authorized_content_classes": {
"const": [
"accepted_search_query"
]
},
"stance_plan": {
"type": "null"
}
}
}
},
{
"if": {
"properties": {
"consent": {
"properties": {
"decision": {
"const": "retrieval_plus_stance"
}
},
"required": [
"decision"
]
}
},
"required": [
"consent"
]
},
"then": {
"properties": {
"authorized_content_classes": {
"const": [
"accepted_search_query",
"claim_and_selected_evidence_to_stance_provider"
]
},
"stance_plan": {
"type": "object"
}
}
}
}
]
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |