qiongli 1.2.2 → 1.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/payload/qiongli-workflow/SKILL.md +39 -3
- package/payload/qiongli-workflow/VERSION +1 -1
- package/payload/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/accounting/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/accounting/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/accounting/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/accounting/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/accounting/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/accounting/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/accounting/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/accounting/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/accounting/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/accounting/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/accounting/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/accounting/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/accounting/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/accounting/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/accounting/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/accounting/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/accounting/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/accounting/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/accounting/focused/qiongli-workflow/skills/registry.yaml +37 -37
- package/payload/subjects/accounting/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/business/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/business/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/business/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/business/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/business/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/business/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/business/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/business/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/business/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/business/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/business/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/business/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/business/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/business/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/business/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/business/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/business/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/business/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/business/focused/qiongli-workflow/skills/registry.yaml +37 -37
- package/payload/subjects/business/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/core/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/core/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/core/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/core/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/core/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/core/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/core/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/core/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/core/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/core/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/core/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/core/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/core/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/core/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/core/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/core/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/core/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/core/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/core/focused/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/core/focused/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/core/focused/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/core/focused/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/core/focused/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/core/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/economics/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/economics/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/economics/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/economics/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/economics/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/economics/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/economics/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/economics/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/economics/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/economics/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/economics/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/economics/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/economics/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/economics/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/economics/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/economics/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/economics/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/economics/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/economics/focused/qiongli-workflow/skills/registry.yaml +37 -37
- package/payload/subjects/economics/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/economics-accounting/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/skills/registry.yaml +37 -37
- package/payload/subjects/economics-accounting/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/finance/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/finance/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/finance/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/finance/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/finance/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/finance/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/finance/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/finance/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/finance/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/finance/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/finance/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/finance/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/finance/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/finance/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/finance/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/finance/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/finance/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/finance/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/finance/focused/qiongli-workflow/skills/registry.yaml +37 -37
- package/payload/subjects/finance/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/geoeconomics/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/skills/registry.yaml +37 -37
- package/payload/subjects/geoeconomics/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/political-economy/complete/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/political-economy/complete/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/political-economy/complete/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/political-economy/complete/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/political-economy/complete/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/political-economy/complete/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/political-economy/complete/qiongli-workflow/skills/I_code/code-planning.md +16 -2
- package/payload/subjects/political-economy/complete/qiongli-workflow/skills/I_code/code-specification.md +34 -5
- package/payload/subjects/political-economy/complete/qiongli-workflow/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/payload/subjects/political-economy/complete/qiongli-workflow/skills/Z_cross_cutting/self-critique.md +43 -0
- package/payload/subjects/political-economy/complete/qiongli-workflow/skills/registry.yaml +73 -73
- package/payload/subjects/political-economy/complete/qiongli-workflow/workflows/code-build.md +7 -0
- package/payload/subjects/political-economy/focused/qiongli-workflow/SKILL.md +2 -2
- package/payload/subjects/political-economy/focused/qiongli-workflow/VERSION +1 -1
- package/payload/subjects/political-economy/focused/qiongli-workflow/references/platform-routing.md +83 -2
- package/payload/subjects/political-economy/focused/qiongli-workflow/references/stage-I-code.md +28 -0
- package/payload/subjects/political-economy/focused/qiongli-workflow/references/stage-handoff-contract.md +6 -0
- package/payload/subjects/political-economy/focused/qiongli-workflow/skills/I_code/code-builder.md +18 -0
- package/payload/subjects/political-economy/focused/qiongli-workflow/skills/registry.yaml +37 -37
- package/payload/subjects/political-economy/focused/qiongli-workflow/workflows/code-build.md +7 -0
- package/python-runtime/qiongli/__init__.py +1 -1
- package/python-runtime/qiongli/bridges/orchestrator.py +10 -10
- package/python-runtime/qiongli/distribution_metadata.py +130 -0
- package/python-runtime/qiongli/source_layout.py +11 -12
- package/python-runtime/scripts/bootstrap_qiongli.ps1 +2 -2
- package/python-runtime/scripts/build_plugin_artifacts.py +248 -26
- package/python-runtime/scripts/materialize_distribution_payloads.py +16 -13
- package/python-runtime/scripts/release_automation.sh +3 -4
- package/python-runtime/scripts/release_ready.sh +1 -3
- package/python-runtime/scripts/sync_versions.py +0 -29
- package/python-runtime/scripts/validate_research_standard.py +32 -37
- package/python-runtime/scripts/verify_release_tag_version.sh +9 -9
- package/python-runtime/skills/I_code/code-builder.md +18 -0
- package/python-runtime/skills/I_code/code-planning.md +16 -2
- package/python-runtime/skills/I_code/code-specification.md +34 -5
- package/python-runtime/skills/Z_cross_cutting/boundary-interviewer.md +71 -2
- package/python-runtime/skills/Z_cross_cutting/self-critique.md +43 -0
- package/python-runtime/skills/registry.yaml +73 -73
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: qiongli
|
|
3
|
-
description: Qiongli version: v1.
|
|
3
|
+
description: Qiongli version: v1.4.0-beta.1. Cross-platform academic research workflow for Codex, Claude / Claude Code, Gemini, and CLI. Use for academic research lifecycle work: paper planning, literature review, paper reading, gap finding, study design, manuscript writing, statistics, analysis code, reproducibility, proofread, rebuttal, submission, presentation, and stage-aware grill / critique. Route natural academic requests even when the user does not explicitly invoke $qiongli or a slash command.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Qiongli Academic Workflow
|
|
@@ -9,7 +9,7 @@ Run a model-agnostic paper workflow using shared Task IDs and artifact contracts
|
|
|
9
9
|
|
|
10
10
|
This is a **self-contained skill package**. All assets needed for execution — workflows, skill specifications, output templates, standards, and agent roles — are bundled in subdirectories of this package. No external repo access is needed.
|
|
11
11
|
|
|
12
|
-
Installed Qiongli workflow version: `v1.
|
|
12
|
+
Installed Qiongli workflow version: `v1.4.0-beta.1`
|
|
13
13
|
|
|
14
14
|
## Quick Start
|
|
15
15
|
|
|
@@ -20,9 +20,45 @@ Installed Qiongli workflow version: `v1.2.2`
|
|
|
20
20
|
5. Apply quality gates before submission tasks (`H1`, `H2`).
|
|
21
21
|
6. For orchestrator `task-run`, declare controller ownership when relevant with `--execution-mode`, `--controller`, `--primary`, `--reviewer`, `--verifier`, and `--solo-role-gates`.
|
|
22
22
|
|
|
23
|
+
## Cross-Platform Trigger Contract
|
|
24
|
+
|
|
25
|
+
Qiongli should be considered whenever a request belongs to the academic research lifecycle. This does not require explicit `$qiongli`, `/paper`, `/lit-review`, or slash-command invocation. Natural requests like "read this paper and summarize the contribution", "revise the methods section", "check whether this result supports the claim", "modify this analysis script", or "prepare a rebuttal" should route through the relevant Qiongli stage when the task has scholarly claim, evidence, method, venue, citation, reproducibility, or reviewer-risk consequences.
|
|
26
|
+
|
|
27
|
+
Use Qiongli for:
|
|
28
|
+
|
|
29
|
+
- framing a research topic, research question, hypothesis, contribution, theory, or venue fit
|
|
30
|
+
- reading papers, PDFs, notes, citations, bibliographies, literature folders, or review matrices
|
|
31
|
+
- searching, screening, mapping, extracting, or synthesizing literature
|
|
32
|
+
- designing studies, variables, instruments, robustness checks, data plans, preregistration, or ethics materials
|
|
33
|
+
- writing or revising proposals, manuscript sections, abstracts, tables, figures, claims maps, or discussion text
|
|
34
|
+
- interpreting statistics, effect sizes, models, diagnostics, robustness checks, or analysis outputs
|
|
35
|
+
- reading or editing academic analysis code, notebooks, Stata scripts, R scripts, Python scripts, Quarto files, or replication packages
|
|
36
|
+
- checking PRISMA, reporting compliance, tone, citation support, originality, submission packages, rebuttals, peer review responses, or presentations
|
|
37
|
+
|
|
38
|
+
Do not force Qiongli for:
|
|
39
|
+
|
|
40
|
+
- generic software feature work unrelated to research analysis
|
|
41
|
+
- generic prose editing without scholarly claim, evidence, venue, citation, or reviewer risk
|
|
42
|
+
- file organization or format conversion without academic interpretation
|
|
43
|
+
- project maintenance tasks for the Qiongli repository itself unless the user is changing research workflow behavior
|
|
44
|
+
|
|
45
|
+
### Ambiguity Trigger
|
|
46
|
+
|
|
47
|
+
When the user appears unsure, underspecified, or asks for judgment in an academic context, run a light boundary/grill step before producing a final artifact. Trigger phrases include: "I don't know how to start", "not sure", "help me decide", "which direction", "is this reasonable", "what should I do next", "帮我判断", "不知道怎么做", "不确定", "方向不清楚", "帮我想想", and "这样是否合理".
|
|
48
|
+
|
|
49
|
+
The ambiguity response should inspect available artifacts first, then ask one blocking academic question with a recommended answer and rationale. Do not ask a broad questionnaire.
|
|
50
|
+
|
|
51
|
+
### Platform Routing
|
|
52
|
+
|
|
53
|
+
- Codex: skill or plugin discovery should route natural academic requests to Qiongli even without `$qiongli`; then load the relevant workflow or skill card.
|
|
54
|
+
- Claude / Claude Code: skill package and plugin metadata should route natural academic requests to the matching task ID or workflow wrapper.
|
|
55
|
+
- Gemini: extension and workflow prompts should preserve task IDs, artifact contracts, and stage-aware grill behavior.
|
|
56
|
+
- CLI / npm / Python: command wrappers remain available, but the same routing contract applies to task packets and orchestrator runs.
|
|
57
|
+
- Portable `qiongli-workflow`: synced skill packages must carry this trigger contract for non-plugin installs.
|
|
58
|
+
|
|
23
59
|
## Workflow Entry Points
|
|
24
60
|
|
|
25
|
-
In Codex, invoke this skill with `/skills` or `$qiongli`,
|
|
61
|
+
Explicit workflow commands are optional entry points. In Codex, users can invoke this skill with `/skills` or `$qiongli`, but natural academic requests should also route here. Claude Code and Gemini surfaces may expose the same workflows as slash-style command wrappers:
|
|
26
62
|
|
|
27
63
|
```
|
|
28
64
|
/paper [topic] [venue] # Master router — choose paper type + task ID
|
|
@@ -1 +1 @@
|
|
|
1
|
-
v1.
|
|
1
|
+
v1.4.0-beta.1
|
|
@@ -1,6 +1,64 @@
|
|
|
1
1
|
# Platform Routing
|
|
2
2
|
|
|
3
|
-
Use this mapping to keep behavior consistent across tools.
|
|
3
|
+
Use this mapping to keep behavior consistent across tools. Explicit workflow
|
|
4
|
+
commands are helpful shortcuts, but Qiongli routing does not require explicit
|
|
5
|
+
`$qiongli`, `/paper`, `/lit-review`, or slash-command invocation when the user is
|
|
6
|
+
doing academic research lifecycle work.
|
|
7
|
+
|
|
8
|
+
## Cross-Platform Trigger Contract
|
|
9
|
+
|
|
10
|
+
Route to Qiongli when the user request involves academic research artifacts,
|
|
11
|
+
judgment, or outputs:
|
|
12
|
+
|
|
13
|
+
- topic framing, research question narrowing, hypothesis, contribution, theory, or
|
|
14
|
+
venue fit
|
|
15
|
+
- paper/PDF/note reading, citation handling, bibliography work, literature search,
|
|
16
|
+
literature screening, extraction, synthesis, or gap mapping
|
|
17
|
+
- study design, variable construction, instruments, data management, robustness
|
|
18
|
+
checks, preregistration, ethics, or IRB text
|
|
19
|
+
- manuscript/proposal/abstract/table/figure/discussion/rebuttal/submission text
|
|
20
|
+
- statistical interpretation, effect sizes, diagnostics, model output, robustness,
|
|
21
|
+
meta-analysis, or evidence synthesis
|
|
22
|
+
- academic analysis code, notebooks, R/Stata/Python/Julia/MATLAB scripts, Quarto,
|
|
23
|
+
or replication packages when they affect data, models, tables, figures, results,
|
|
24
|
+
or reproducibility
|
|
25
|
+
- proofread, de-AI rewriting, citation-risk checking, reviewer response,
|
|
26
|
+
peer-review simulation, fatal-flaw analysis, or academic presentations
|
|
27
|
+
|
|
28
|
+
Do not route to Qiongli for generic software feature work, generic file cleanup,
|
|
29
|
+
format conversion without scholarly interpretation, or prose edits with no claim,
|
|
30
|
+
evidence, citation, venue, method, or reviewer-risk consequence.
|
|
31
|
+
|
|
32
|
+
## Ambiguity Trigger
|
|
33
|
+
|
|
34
|
+
When an academic request is vague or the user asks for judgment, run a light
|
|
35
|
+
boundary/grill pass before producing a final artifact. Trigger phrases include:
|
|
36
|
+
|
|
37
|
+
- English: "I don't know how to start", "not sure", "help me decide",
|
|
38
|
+
"which direction", "is this reasonable", "what should I do next"
|
|
39
|
+
- Chinese: "帮我判断", "不知道怎么做", "不确定", "方向不清楚", "帮我想想",
|
|
40
|
+
"这样是否合理"
|
|
41
|
+
|
|
42
|
+
The light pass must inspect available artifacts first, ask one blocking academic
|
|
43
|
+
question, and include a recommended answer with rationale. Escalate to a deep
|
|
44
|
+
stage-aware grill loop when the user explicitly asks to be grilled, stress-tested,
|
|
45
|
+
challenged like Reviewer 2, or checked for fatal flaws.
|
|
46
|
+
|
|
47
|
+
## Natural Request Routing Examples
|
|
48
|
+
|
|
49
|
+
| User intent | Route |
|
|
50
|
+
|---|---|
|
|
51
|
+
| "Read this paper / PDF / DOI" | `B2` or `/paper-read` |
|
|
52
|
+
| "Find gaps / I don't know where to start" | Stage A + ambiguity grill, then `A4` or `/find-gap` |
|
|
53
|
+
| "Run a literature review" | `B1` or `/lit-review` |
|
|
54
|
+
| "Improve related work" | `B4` or `/academic-write related-work` |
|
|
55
|
+
| "Design the study / variables / robustness" | `C1`, `C3`, `C3_5`, or `/study-design` |
|
|
56
|
+
| "Interpret these results" | `F3`, `F4`, `F5`, or `stats-engine` depending on artifact |
|
|
57
|
+
| "Modify this analysis script / notebook" | Stage I, usually `I5 -> I6 -> I7 -> I8` for claim-supporting code |
|
|
58
|
+
| "Proofread / make it less AI-like" | Stage J or `/proofread` |
|
|
59
|
+
| "Prepare submission / cover letter" | `H1` or `/submission-prep` |
|
|
60
|
+
| "Reply to reviewer comments" | `H2`, `H2_5`, or `/rebuttal` |
|
|
61
|
+
| "Make slides" | Stage K or `/academic-present` |
|
|
4
62
|
|
|
5
63
|
## Claude Code
|
|
6
64
|
|
|
@@ -22,10 +80,14 @@ Use this mapping to keep behavior consistent across tools.
|
|
|
22
80
|
- `I1–I8` -> `/code-build`
|
|
23
81
|
- `J1–J4` -> `/proofread`
|
|
24
82
|
- `K1–K4` -> `/academic-present`
|
|
83
|
+
- Natural academic requests should route to the same task IDs even when the user
|
|
84
|
+
does not type the command wrapper.
|
|
85
|
+
- If the request is ambiguous, use the Ambiguity Trigger before drafting.
|
|
25
86
|
|
|
26
87
|
## Codex
|
|
27
88
|
|
|
28
|
-
- Use `$qiongli`
|
|
89
|
+
- Use `$qiongli` when explicit invocation is available, but natural academic
|
|
90
|
+
requests should still route to Qiongli.
|
|
29
91
|
- Provide: `paper_type`, `task_id`, `topic`, and optional `venue`
|
|
30
92
|
- Follow artifact paths from workflow contract
|
|
31
93
|
- For multi-agent execution, apply `standards/mcp-agent-capability-map.yaml`:
|
|
@@ -34,6 +96,8 @@ Use this mapping to keep behavior consistent across tools.
|
|
|
34
96
|
- use `fallback_agent` when primary fails
|
|
35
97
|
- For proofread tasks (`J1`–`J4`), recommend `--triad` mode for iterative de-AI
|
|
36
98
|
- For presentation tasks (`K1`–`K4`), specify backend: `slidev`, `beamer`, or `pptx`
|
|
99
|
+
- For academic code, prioritize estimand, data lineage, diagnostics, manuscript
|
|
100
|
+
tables/figures, and reproducibility over generic software scaffolding.
|
|
37
101
|
|
|
38
102
|
## Gemini
|
|
39
103
|
|
|
@@ -42,3 +106,20 @@ Use this mapping to keep behavior consistent across tools.
|
|
|
42
106
|
- Keep task IDs and output file names unchanged
|
|
43
107
|
- For proofread: `Execute Task J2 for paper_type {paper_type} in RESEARCH/{topic} using multi-agent collaboration to de-AI rewrite.`
|
|
44
108
|
- For presentation: `Execute Task K1 for paper_type {paper_type} in RESEARCH/{topic} and prepare a conference talk using slidev backend.`
|
|
109
|
+
- Gemini extension prompts should preserve the same Cross-Platform Trigger
|
|
110
|
+
Contract and Ambiguity Trigger when the user describes academic work naturally.
|
|
111
|
+
|
|
112
|
+
## CLI / npm / Python
|
|
113
|
+
|
|
114
|
+
- Slash-style commands and `qiongli task-run` remain the stable entry points.
|
|
115
|
+
- Task packets from other platforms should preserve `paper_type`, `stage`,
|
|
116
|
+
`task_id`, `topic`, artifact paths, and open grill issues.
|
|
117
|
+
- Orchestrator runs should carry boundary decisions and stage handoff risks into
|
|
118
|
+
downstream agents rather than resetting context.
|
|
119
|
+
|
|
120
|
+
## Portable Skill Installs
|
|
121
|
+
|
|
122
|
+
- `qiongli-workflow` portable packages must include this routing contract.
|
|
123
|
+
- Desktop or web skill-only installs can route and write artifacts, but they
|
|
124
|
+
should not claim provider-connected literature search unless a provider MCPB or
|
|
125
|
+
platform-native search capability is available.
|
|
@@ -29,6 +29,32 @@ Use a low-freedom sequence for reliability:
|
|
|
29
29
|
4. **Independent review (`I8`)**: separate model reviews logic + stats validity + failure cases
|
|
30
30
|
5. **Audit (`I4`)**: seeds, versions, determinism, data provenance, rerun instructions
|
|
31
31
|
|
|
32
|
+
## Academic Analysis Code
|
|
33
|
+
|
|
34
|
+
Stage I code is academic analysis code, not application architecture. Start from
|
|
35
|
+
the estimand, hypothesis, analysis plan, or manuscript-facing table/figure that
|
|
36
|
+
the code must support. Only add abstractions that make the research pipeline more
|
|
37
|
+
auditable.
|
|
38
|
+
|
|
39
|
+
Required analysis-code constraints:
|
|
40
|
+
|
|
41
|
+
- Preserve dataset lineage: raw input, cleaning rules, exclusions, missingness,
|
|
42
|
+
joins, derived variables, and sample construction.
|
|
43
|
+
- Treat model diagnostics and robustness checks as first-class outputs, not
|
|
44
|
+
optional plots added after the fact.
|
|
45
|
+
- Write manuscript-facing tables, figures, and machine-readable result files to
|
|
46
|
+
predictable paths under `RESEARCH/[topic]/analysis/` or
|
|
47
|
+
`RESEARCH/[topic]/manuscript/`.
|
|
48
|
+
- Record seeds, dependency notes, command logs, and rerun instructions.
|
|
49
|
+
- Separate finding, interpretation, and implication in analysis reports.
|
|
50
|
+
- Prefer scripts, notebooks, Quarto files, or small modules readable by
|
|
51
|
+
researchers over service layers, controllers, framework scaffolding, or
|
|
52
|
+
unnecessary classes.
|
|
53
|
+
|
|
54
|
+
When exploratory analysis is requested, label outputs as exploratory and record
|
|
55
|
+
assumptions. Do not let exploratory code silently become claim-supporting
|
|
56
|
+
evidence without a Stage I specification, plan, execution record, and review.
|
|
57
|
+
|
|
32
58
|
## I8 — Academic Code Review
|
|
33
59
|
|
|
34
60
|
**Definition of done**
|
|
@@ -45,6 +71,8 @@ Use a low-freedom sequence for reliability:
|
|
|
45
71
|
- Contains runnable scripts/notebooks with clear entrypoints
|
|
46
72
|
- Includes a minimal dataset stub or synthetic data generator for verification
|
|
47
73
|
- Writes outputs to a predictable location (avoid hidden state)
|
|
74
|
+
- Records dataset lineage, model diagnostics, robustness checks, and
|
|
75
|
+
manuscript-facing output paths
|
|
48
76
|
|
|
49
77
|
### `code/container_config/`
|
|
50
78
|
- Optional but recommended when dependencies are fragile
|
|
@@ -10,15 +10,21 @@ Stage handoffs preserve what a downstream stage inherits and what remains uncert
|
|
|
10
10
|
|
|
11
11
|
- `Completed Artifacts`
|
|
12
12
|
- `Decision Summary`
|
|
13
|
+
- `Resolved Grill Decisions`
|
|
13
14
|
- `Unresolved Questions`
|
|
15
|
+
- `Open Grill Issues`
|
|
14
16
|
- `Evidence Dependencies`
|
|
15
17
|
- `Assumptions Passed Forward`
|
|
16
18
|
- `Risks For Next Stage`
|
|
19
|
+
- `Revisit Triggers`
|
|
17
20
|
- `Recommended Next Tasks`
|
|
18
21
|
|
|
19
22
|
## Rules
|
|
20
23
|
|
|
21
24
|
- Link every completed artifact using a concrete `RESEARCH/[topic]/...` path or project-relative path.
|
|
22
25
|
- Record unresolved questions explicitly; write `None` only when the stage has been checked.
|
|
26
|
+
- Record `Resolved Grill Decisions` when a boundary interview, stage-aware grill, or self-critique loop closed a question that affects downstream scope, claim strength, methods, evidence thresholds, code, submission, or presentation.
|
|
27
|
+
- Record `Open Grill Issues` when a light automatic grill or deep grill found a risk that cannot be resolved in the current stage.
|
|
23
28
|
- Evidence dependencies should point to the evidence ledger, bibliography, analysis output, or gap note.
|
|
29
|
+
- `Revisit Triggers` must state what new evidence, user decision, reviewer comment, diagnostic failure, or analysis result would reopen a resolved decision.
|
|
24
30
|
- Do not treat a stage as ready for downstream work when inherited assumptions are hidden.
|
|
@@ -30,6 +30,20 @@ Academic code generation with multi-discipline, multi-language, and 2-tier compl
|
|
|
30
30
|
|
|
31
31
|
Systematic conversion of academic methodologies into executable code (Python/R/Stata/MATLAB/Julia).
|
|
32
32
|
|
|
33
|
+
## Academic Analysis Code
|
|
34
|
+
|
|
35
|
+
Generated code must follow an academic analysis pipeline rather than a generic
|
|
36
|
+
software-engineering scaffold. Start from the estimand, hypothesis, analysis
|
|
37
|
+
plan, or manuscript-facing output that the code supports. Preserve dataset
|
|
38
|
+
lineage from raw input through cleaning, exclusions, missingness, joins, derived
|
|
39
|
+
variables, and sample construction. Make model diagnostics, robustness checks,
|
|
40
|
+
and manuscript-facing tables/figures first-class outputs.
|
|
41
|
+
|
|
42
|
+
Prefer scripts, notebooks, Quarto files, or small reusable functions that a
|
|
43
|
+
researcher can read during peer review. Avoid service layers, controllers,
|
|
44
|
+
framework scaffolding, unnecessary classes, or backend-style abstractions unless
|
|
45
|
+
the method itself requires a reusable package.
|
|
46
|
+
|
|
33
47
|
## Domain Profiles
|
|
34
48
|
|
|
35
49
|
Discipline-specific libraries, method templates, diagnostics, and pitfalls are defined in **`skills/domain-profiles/*.yaml`**. When `--domain` is specified, the corresponding profile is injected to guide library selection, method checklists, and common pitfalls.
|
|
@@ -126,6 +140,9 @@ Do NOT use high-level wrappers; implement from first principles."
|
|
|
126
140
|
4. **Validation**: Test case proving correctness
|
|
127
141
|
5. **Domain Checklist**: Pass/fail status for each domain-profile checklist item
|
|
128
142
|
6. **Visualization**: Key diagnostic/result plots per domain profile `visualization_templates`
|
|
143
|
+
7. **Dataset Lineage**: raw input, cleaning, exclusions, missingness, joins, derived variables, and sample construction
|
|
144
|
+
8. **Manuscript Outputs**: manuscript-facing tables, figures, and result files with stable paths
|
|
145
|
+
9. **Rerun Evidence**: seeds, dependency notes, exact commands, and rerun instructions
|
|
129
146
|
|
|
130
147
|
## Output Contract
|
|
131
148
|
|
|
@@ -141,6 +158,7 @@ Do NOT use high-level wrappers; implement from first principles."
|
|
|
141
158
|
- [ ] 随机种子已固定且有文档说明
|
|
142
159
|
- [ ] 核心函数有 docstring 和至少一个 assertion/test
|
|
143
160
|
- [ ] 输出与 analysis plan 中预期的 table/figure 一一对应
|
|
161
|
+
- [ ] dataset lineage、model diagnostics、robustness checks 和 manuscript-facing outputs 已明确写入产物
|
|
144
162
|
|
|
145
163
|
## Common Pitfalls
|
|
146
164
|
|
|
@@ -52,7 +52,8 @@ Transform code specifications into parallelizable, zero-decision execution plans
|
|
|
52
52
|
2. **Order** tasks by dependencies and risk (do the riskiest first).
|
|
53
53
|
3. **Define checkpoints** with concrete “pass/fail” criteria.
|
|
54
54
|
4. **Plan artifacts**: where code, data, plots, and reports will be written.
|
|
55
|
-
5. **Plan
|
|
55
|
+
5. **Plan Academic Analysis Code evidence**: dataset lineage checks, model diagnostics, robustness checks, manuscript-facing tables/figures, and rerun evidence.
|
|
56
|
+
6. **Plan commands**: exact commands to run for each checkpoint.
|
|
56
57
|
|
|
57
58
|
## Required plan format (`code/plan.md`)
|
|
58
59
|
|
|
@@ -83,7 +84,12 @@ primary_artifact: code/plan.md
|
|
|
83
84
|
"checkpoint": "<observable pass/fail rule>",
|
|
84
85
|
"rollback": "<recovery action>"
|
|
85
86
|
}
|
|
86
|
-
]
|
|
87
|
+
],
|
|
88
|
+
"dataset_lineage_checks": ["..."],
|
|
89
|
+
"diagnostics": ["..."],
|
|
90
|
+
"robustness_checks": ["..."],
|
|
91
|
+
"manuscript_outputs": ["..."],
|
|
92
|
+
"rerun_evidence": ["..."]
|
|
87
93
|
}
|
|
88
94
|
```
|
|
89
95
|
|
|
@@ -101,6 +107,14 @@ primary_artifact: code/plan.md
|
|
|
101
107
|
| --- | --- | --- | --- | --- |
|
|
102
108
|
| ... | ... | ... | ... | ... |
|
|
103
109
|
|
|
110
|
+
## Academic Analysis Code Evidence Plan
|
|
111
|
+
- Dataset lineage checks:
|
|
112
|
+
- Model diagnostics:
|
|
113
|
+
- Robustness checks:
|
|
114
|
+
- Manuscript-facing outputs:
|
|
115
|
+
- Rerun evidence:
|
|
116
|
+
- Anti-pattern guard: avoid service layers, controllers, framework scaffolding, and unnecessary classes unless the specification explicitly justifies them.
|
|
117
|
+
|
|
104
118
|
## Exact Run Commands
|
|
105
119
|
- ...
|
|
106
120
|
|
|
@@ -54,11 +54,17 @@ Generate strict constraint sets and requirement specifications before coding, fo
|
|
|
54
54
|
2. **Specify I/O contracts**:
|
|
55
55
|
- input files/columns/shapes
|
|
56
56
|
- output artifacts (paths + formats)
|
|
57
|
-
3. **
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
3. **Lock Academic Analysis Code context**:
|
|
58
|
+
- estimand or target claim
|
|
59
|
+
- analysis_plan_source
|
|
60
|
+
- dataset lineage and sample construction
|
|
61
|
+
- manuscript_outputs for tables, figures, and result files
|
|
62
|
+
- model diagnostics and robustness_checks
|
|
63
|
+
4. **List invariants**: properties that must always hold (e.g., probability sums to 1).
|
|
64
|
+
5. **Enumerate edge cases**: missing data, empty groups, small-k meta-analysis, non-convergence.
|
|
65
|
+
6. **Allowed dependencies**: language + libraries + version constraints.
|
|
66
|
+
7. **Determinism rules**: seeds, randomness sources, hardware nondeterminism notes.
|
|
67
|
+
8. **Validation plan**:
|
|
62
68
|
- synthetic data checks
|
|
63
69
|
- unit tests for core functions
|
|
64
70
|
- regression tests for known examples
|
|
@@ -82,12 +88,26 @@ primary_artifact: code/code_specification.md
|
|
|
82
88
|
"topic": "<topic>",
|
|
83
89
|
"method_or_pipeline": "<name>",
|
|
84
90
|
"primary_artifact": "code/code_specification.md",
|
|
91
|
+
"estimand": "<estimand-or-target-claim>",
|
|
92
|
+
"analysis_plan_source": "<path-or-summary>",
|
|
85
93
|
"inputs": [
|
|
86
94
|
{"path": "...", "schema": "..."}
|
|
87
95
|
],
|
|
88
96
|
"outputs": [
|
|
89
97
|
{"path": "...", "format": "..."}
|
|
90
98
|
],
|
|
99
|
+
"dataset_lineage": {
|
|
100
|
+
"raw_inputs": ["..."],
|
|
101
|
+
"cleaning_rules": ["..."],
|
|
102
|
+
"exclusions": ["..."],
|
|
103
|
+
"derived_variables": ["..."],
|
|
104
|
+
"sample_construction": "..."
|
|
105
|
+
},
|
|
106
|
+
"manuscript_outputs": [
|
|
107
|
+
{"path": "manuscript/tables/...", "supports_claim": "..."}
|
|
108
|
+
],
|
|
109
|
+
"diagnostics": ["..."],
|
|
110
|
+
"robustness_checks": ["..."],
|
|
91
111
|
"dependencies": {
|
|
92
112
|
"python": ["package>=version"]
|
|
93
113
|
},
|
|
@@ -114,6 +134,15 @@ primary_artifact: code/code_specification.md
|
|
|
114
134
|
## Outputs (Paths)
|
|
115
135
|
- ...
|
|
116
136
|
|
|
137
|
+
## Academic Analysis Code
|
|
138
|
+
- Estimand / target claim:
|
|
139
|
+
- Analysis plan source:
|
|
140
|
+
- Dataset lineage:
|
|
141
|
+
- Manuscript-facing outputs:
|
|
142
|
+
- Model diagnostics:
|
|
143
|
+
- Robustness checks:
|
|
144
|
+
- Disallowed engineering scaffolding: service layers, controllers, framework scaffolds, and unnecessary classes unless explicitly justified.
|
|
145
|
+
|
|
117
146
|
## Functional Requirements
|
|
118
147
|
1. ...
|
|
119
148
|
|
|
@@ -78,6 +78,76 @@ For Stage A idea-discovery, prefer questions that move from "interesting topic"
|
|
|
78
78
|
- What contribution type is primary, and which adjacent contribution is not being claimed?
|
|
79
79
|
- Who would cite this work if it succeeds, and why would they care?
|
|
80
80
|
|
|
81
|
+
## Stage-Aware Grill Contract
|
|
82
|
+
|
|
83
|
+
Use stage-aware grill as Qiongli's cross-platform academic judgment layer. The
|
|
84
|
+
same contract applies in Codex, Claude / Claude Code, Gemini, CLI, and portable
|
|
85
|
+
skill installs.
|
|
86
|
+
|
|
87
|
+
Run a light automatic grill when:
|
|
88
|
+
|
|
89
|
+
- a stage starts with vague or underdefined academic scope
|
|
90
|
+
- a stage handoff contains open risks, stale decisions, or unresolved reviewer
|
|
91
|
+
concerns
|
|
92
|
+
- a central claim, method, evidence threshold, analysis decision, submission
|
|
93
|
+
promise, or presentation claim changes
|
|
94
|
+
- the user expresses uncertainty or asks for judgment, for example "not sure",
|
|
95
|
+
"help me decide", "不知道怎么做", "不确定", or "帮我判断"
|
|
96
|
+
|
|
97
|
+
Run a deep grill when the user explicitly asks to be grilled, stress-tested,
|
|
98
|
+
challenged, reviewed like Reviewer 2, or checked for fatal flaws. Deep grill
|
|
99
|
+
continues the one-question loop until the key decision is resolved, blocked on
|
|
100
|
+
external information, or deliberately carried forward as an open issue.
|
|
101
|
+
|
|
102
|
+
Every grill question must:
|
|
103
|
+
|
|
104
|
+
- inspect existing artifacts before asking
|
|
105
|
+
- ask one blocking academic question at a time
|
|
106
|
+
- include a recommended answer with academic rationale
|
|
107
|
+
- state the likely evidence basis, claim-strength implication, reviewer or venue
|
|
108
|
+
consequence, and confidence
|
|
109
|
+
- record the decision or unresolved issue for downstream stages
|
|
110
|
+
|
|
111
|
+
### Stage-Specific Grill Lenses
|
|
112
|
+
|
|
113
|
+
- Stage A: scope, contribution, claim strength, audience, and venue fit
|
|
114
|
+
- Stage B: search bias, classic-paper deference, synthesis logic, rival
|
|
115
|
+
literatures, and inclusion/exclusion risk
|
|
116
|
+
- Stage C: identification, measurement validity, rival hypotheses, data
|
|
117
|
+
feasibility, and power or sensitivity logic
|
|
118
|
+
- Stage D: participant risk, privacy, consent clarity, governance, and dual-use
|
|
119
|
+
risk
|
|
120
|
+
- Stage E: heterogeneity, publication bias, pooling defensibility, null cases,
|
|
121
|
+
and contradictory evidence
|
|
122
|
+
- Stage F: claim-evidence alignment, causal language, interpretation depth,
|
|
123
|
+
alternative explanations, and limitation specificity
|
|
124
|
+
- Stage G: reporting completeness, logical transitions, tone calibration, and
|
|
125
|
+
checklist compliance
|
|
126
|
+
- Stage J: AI-trace risk, human scholarly voice, citation originality, and final
|
|
127
|
+
proofread integrity
|
|
128
|
+
- Stage H: reviewer empathy, response tone, impossible requests, contradictions
|
|
129
|
+
introduced by revisions, and fatal flaw exposure
|
|
130
|
+
- Stage I: estimand-to-code traceability, data lineage, diagnostic coverage,
|
|
131
|
+
reproducibility, computational assumptions, and analysis artifact outputs
|
|
132
|
+
- Stage K: audience fit, claim compression, visual evidence integrity, slide
|
|
133
|
+
narrative, and unsupported simplification
|
|
134
|
+
|
|
135
|
+
## Cross-Stage Grill Memory
|
|
136
|
+
|
|
137
|
+
Grill decisions and unresolved issues must survive stage boundaries. Use:
|
|
138
|
+
|
|
139
|
+
- `RESEARCH/[topic]/context/boundary_review.md` for locked scholarly boundaries
|
|
140
|
+
- `RESEARCH/[topic]/context/decision_log.md` for resolved grill decisions and
|
|
141
|
+
rejected alternatives
|
|
142
|
+
- `RESEARCH/[topic]/context/stage_handoff.md` for open grill issues, assumptions
|
|
143
|
+
passed forward, and revisit triggers
|
|
144
|
+
- `RESEARCH/[topic]/review/self_critique_log.md` for issue lineage across review
|
|
145
|
+
rounds
|
|
146
|
+
|
|
147
|
+
Downstream stages must inspect these artifacts before asking a new grill
|
|
148
|
+
question. If a prior issue remains open, the downstream stage must resolve it,
|
|
149
|
+
carry it forward, or explicitly mark why it is no longer relevant.
|
|
150
|
+
|
|
81
151
|
## When to Use
|
|
82
152
|
|
|
83
153
|
- Before high-risk framing, study design, writing, submission, research code, or handoff work when scope, claim strength, evidence threshold, validity risk, generalizability, or reviewer expectations remain unclear.
|
|
@@ -87,8 +157,7 @@ For Stage A idea-discovery, prefer questions that move from "interesting topic"
|
|
|
87
157
|
|
|
88
158
|
## Related Task IDs
|
|
89
159
|
|
|
90
|
-
-
|
|
91
|
-
- Future trigger stages: `B`, `D`, `E`, `G`, `J`, `K`
|
|
160
|
+
- Trigger stages: `A`, `B`, `C`, `D`, `E`, `F`, `G`, `J`, `H`, `I`, `K`
|
|
92
161
|
|
|
93
162
|
## Output (contract path)
|
|
94
163
|
|
|
@@ -64,6 +64,37 @@ Use `review/self_critique_log.md` as a compact register like:
|
|
|
64
64
|
|---|---|---|---|---|---|---|---|
|
|
65
65
|
| SC-01 | 0 | open | high | `manuscript/manuscript.md` / Discussion | Claim exceeds results evidence | Narrow causal language | Pending |
|
|
66
66
|
|
|
67
|
+
## Stage-Aware Grill Contract
|
|
68
|
+
|
|
69
|
+
When a task enters self-critique through a Qiongli grill request, use the same
|
|
70
|
+
light automatic grill and deep grill distinction as `boundary-interviewer`.
|
|
71
|
+
|
|
72
|
+
- Light automatic grill applies when the user is unsure, a stage starts with
|
|
73
|
+
vague scope, a handoff contains open risks, or a claim/method/evidence/code
|
|
74
|
+
decision changes.
|
|
75
|
+
- Deep grill applies when the user explicitly asks to be grilled, stress-tested,
|
|
76
|
+
challenged like Reviewer 2, or checked for fatal flaws.
|
|
77
|
+
- Every critique question must target the current stage lens, include a
|
|
78
|
+
recommended answer or required fix, and record whether the issue is open,
|
|
79
|
+
partial, resolved, or superseded.
|
|
80
|
+
- A deep grill may reopen prior-stage issues only when it records the evidence or
|
|
81
|
+
user decision that triggered the revisit.
|
|
82
|
+
|
|
83
|
+
## Cross-Stage Grill Memory
|
|
84
|
+
|
|
85
|
+
Self-critique issues are part of the cross-stage grill memory. Before starting a
|
|
86
|
+
new critique loop, inspect:
|
|
87
|
+
|
|
88
|
+
- `context/boundary_review.md`
|
|
89
|
+
- `context/decision_log.md`
|
|
90
|
+
- `context/stage_handoff.md`
|
|
91
|
+
- `review/self_critique_log.md`
|
|
92
|
+
|
|
93
|
+
If a prior issue affects the current artifact, keep the same issue ID and update
|
|
94
|
+
its status instead of creating a duplicate. Open issues that cannot be resolved in
|
|
95
|
+
the current stage must be copied into `context/stage_handoff.md` under `Open
|
|
96
|
+
Grill Issues` with a concrete `Revisit Trigger`.
|
|
97
|
+
|
|
67
98
|
## Stage-Specific Critique Questions
|
|
68
99
|
|
|
69
100
|
### Stage A: Framing & Positioning
|
|
@@ -134,6 +165,18 @@ Use `review/self_critique_log.md` as a compact register like:
|
|
|
134
165
|
- *Q3:* "Are the computational environment dependencies explicitly pinned (e.g., requirements.txt, Dockerfile) to prevent 'works on my machine' syndrome?"
|
|
135
166
|
- *Q4:* "Is there an unacknowledged O(N^2) or worse operation that will cause the code to hang if the dataset size scales 10x?"
|
|
136
167
|
|
|
168
|
+
### Stage K: Academic Presentation
|
|
169
|
+
- **Focus:** Audience fit, visual evidence integrity, and claim compression.
|
|
170
|
+
- *Q1:* "Which claim is likely to be oversimplified on slides, and what evidence or caveat must stay visible?"
|
|
171
|
+
- *Q2:* "Does every figure or table support the spoken argument, or is it decorative complexity?"
|
|
172
|
+
- *Q3:* "What would a skeptical audience member challenge first, and is the answer already on a backup slide or speaker note?"
|
|
173
|
+
|
|
174
|
+
### Stage J: Proofread & De-AI
|
|
175
|
+
- **Focus:** Human scholarly voice, originality, and final integrity.
|
|
176
|
+
- *Q1:* "Which sentences sound polished but empty, and what concrete claim or evidence should replace them?"
|
|
177
|
+
- *Q2:* "Does the humanized text preserve citations, hedging, and claim strength from the source draft?"
|
|
178
|
+
- *Q3:* "Could any rewrite change the meaning of methods, results, limitations, or author responsibility?"
|
|
179
|
+
|
|
137
180
|
## Usage
|
|
138
181
|
|
|
139
182
|
This skill is injected into tasks by the `mcp-agent-capability-map.yaml` and should be called:
|