flonat-research 0.1.0
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/.claude/agents/domain-reviewer.md +336 -0
- package/.claude/agents/fixer.md +226 -0
- package/.claude/agents/paper-critic.md +370 -0
- package/.claude/agents/peer-reviewer.md +289 -0
- package/.claude/agents/proposal-reviewer.md +215 -0
- package/.claude/agents/referee2-reviewer.md +367 -0
- package/.claude/agents/references/journal-referee-profiles.md +354 -0
- package/.claude/agents/references/paper-critic/council-personas.md +77 -0
- package/.claude/agents/references/paper-critic/council-prompts.md +198 -0
- package/.claude/agents/references/peer-reviewer/report-template.md +199 -0
- package/.claude/agents/references/peer-reviewer/sa-prompts.md +260 -0
- package/.claude/agents/references/peer-reviewer/security-scan.md +188 -0
- package/.claude/agents/references/proposal-reviewer/report-template.md +144 -0
- package/.claude/agents/references/proposal-reviewer/sa-prompts.md +149 -0
- package/.claude/agents/references/referee-config.md +114 -0
- package/.claude/agents/references/referee2-reviewer/audit-checklists.md +287 -0
- package/.claude/agents/references/referee2-reviewer/report-template.md +334 -0
- package/.claude/rules/design-before-results.md +52 -0
- package/.claude/rules/ignore-agents-md.md +17 -0
- package/.claude/rules/ignore-gemini-md.md +17 -0
- package/.claude/rules/lean-claude-md.md +45 -0
- package/.claude/rules/learn-tags.md +99 -0
- package/.claude/rules/overleaf-separation.md +67 -0
- package/.claude/rules/plan-first.md +175 -0
- package/.claude/rules/read-docs-first.md +50 -0
- package/.claude/rules/scope-discipline.md +28 -0
- package/.claude/settings.json +125 -0
- package/.context/current-focus.md +33 -0
- package/.context/preferences/priorities.md +36 -0
- package/.context/preferences/task-naming.md +28 -0
- package/.context/profile.md +29 -0
- package/.context/projects/_index.md +41 -0
- package/.context/projects/papers/nudge-exp.md +22 -0
- package/.context/projects/papers/uncertainty.md +31 -0
- package/.context/resources/claude-scientific-writer-review.md +48 -0
- package/.context/resources/cunningham-multi-analyst-agents.md +104 -0
- package/.context/resources/cunningham-multilang-code-audit.md +62 -0
- package/.context/resources/google-ai-co-scientist-review.md +72 -0
- package/.context/resources/karpathy-llm-council-review.md +58 -0
- package/.context/resources/multi-coder-reliability-protocol.md +175 -0
- package/.context/resources/pedro-santanna-takeaways.md +96 -0
- package/.context/resources/venue-rankings/abs_ajg_2024.csv +1823 -0
- package/.context/resources/venue-rankings/abs_ajg_2024_econ.csv +356 -0
- package/.context/resources/venue-rankings/cabs_4_4star_theory.csv +40 -0
- package/.context/resources/venue-rankings/core_2026.csv +801 -0
- package/.context/resources/venue-rankings.md +147 -0
- package/.context/workflows/README.md +69 -0
- package/.context/workflows/daily-review.md +91 -0
- package/.context/workflows/meeting-actions.md +108 -0
- package/.context/workflows/replication-protocol.md +155 -0
- package/.context/workflows/weekly-review.md +113 -0
- package/.mcp-server-biblio/formatters.py +158 -0
- package/.mcp-server-biblio/pyproject.toml +11 -0
- package/.mcp-server-biblio/server.py +678 -0
- package/.mcp-server-biblio/sources/__init__.py +14 -0
- package/.mcp-server-biblio/sources/base.py +73 -0
- package/.mcp-server-biblio/sources/formatters.py +83 -0
- package/.mcp-server-biblio/sources/models.py +22 -0
- package/.mcp-server-biblio/sources/multi_source.py +243 -0
- package/.mcp-server-biblio/sources/openalex_source.py +183 -0
- package/.mcp-server-biblio/sources/scopus_source.py +309 -0
- package/.mcp-server-biblio/sources/wos_source.py +508 -0
- package/.mcp-server-biblio/uv.lock +896 -0
- package/.scripts/README.md +161 -0
- package/.scripts/ai_pattern_density.py +446 -0
- package/.scripts/conf +445 -0
- package/.scripts/config.py +122 -0
- package/.scripts/count_inventory.py +275 -0
- package/.scripts/daily_digest.py +288 -0
- package/.scripts/done +177 -0
- package/.scripts/extract_meeting_actions.py +223 -0
- package/.scripts/focus +176 -0
- package/.scripts/generate-codex-agents-md.py +217 -0
- package/.scripts/inbox +194 -0
- package/.scripts/notion_helpers.py +325 -0
- package/.scripts/openalex/query_helpers.py +306 -0
- package/.scripts/papers +227 -0
- package/.scripts/query +223 -0
- package/.scripts/session-history.py +201 -0
- package/.scripts/skill-health.py +516 -0
- package/.scripts/skill-log-miner.py +273 -0
- package/.scripts/sync-to-codex.sh +252 -0
- package/.scripts/task +213 -0
- package/.scripts/tasks +190 -0
- package/.scripts/week +206 -0
- package/CLAUDE.md +197 -0
- package/LICENSE +21 -0
- package/MEMORY.md +38 -0
- package/README.md +269 -0
- package/docs/agents.md +44 -0
- package/docs/bibliography-setup.md +55 -0
- package/docs/council-mode.md +36 -0
- package/docs/getting-started.md +245 -0
- package/docs/hooks.md +38 -0
- package/docs/mcp-servers.md +82 -0
- package/docs/notion-setup.md +109 -0
- package/docs/rules.md +33 -0
- package/docs/scripts.md +303 -0
- package/docs/setup-overview/setup-overview.pdf +0 -0
- package/docs/skills.md +70 -0
- package/docs/system.md +159 -0
- package/hooks/block-destructive-git.sh +66 -0
- package/hooks/context-monitor.py +114 -0
- package/hooks/postcompact-restore.py +157 -0
- package/hooks/precompact-autosave.py +181 -0
- package/hooks/promise-checker.sh +124 -0
- package/hooks/protect-source-files.sh +81 -0
- package/hooks/resume-context-loader.sh +53 -0
- package/hooks/startup-context-loader.sh +102 -0
- package/package.json +51 -0
- package/packages/cli-council/.github/workflows/claude-code-review.yml +44 -0
- package/packages/cli-council/.github/workflows/claude.yml +50 -0
- package/packages/cli-council/README.md +100 -0
- package/packages/cli-council/pyproject.toml +43 -0
- package/packages/cli-council/src/cli_council/__init__.py +19 -0
- package/packages/cli-council/src/cli_council/__main__.py +185 -0
- package/packages/cli-council/src/cli_council/backends/__init__.py +8 -0
- package/packages/cli-council/src/cli_council/backends/base.py +81 -0
- package/packages/cli-council/src/cli_council/backends/claude.py +25 -0
- package/packages/cli-council/src/cli_council/backends/codex.py +27 -0
- package/packages/cli-council/src/cli_council/backends/gemini.py +26 -0
- package/packages/cli-council/src/cli_council/checkpoint.py +212 -0
- package/packages/cli-council/src/cli_council/config.py +51 -0
- package/packages/cli-council/src/cli_council/council.py +391 -0
- package/packages/cli-council/src/cli_council/models.py +46 -0
- package/packages/llm-council/.github/workflows/claude-code-review.yml +44 -0
- package/packages/llm-council/.github/workflows/claude.yml +50 -0
- package/packages/llm-council/README.md +453 -0
- package/packages/llm-council/pyproject.toml +42 -0
- package/packages/llm-council/src/llm_council/__init__.py +23 -0
- package/packages/llm-council/src/llm_council/__main__.py +259 -0
- package/packages/llm-council/src/llm_council/checkpoint.py +193 -0
- package/packages/llm-council/src/llm_council/client.py +253 -0
- package/packages/llm-council/src/llm_council/config.py +232 -0
- package/packages/llm-council/src/llm_council/council.py +482 -0
- package/packages/llm-council/src/llm_council/models.py +46 -0
- package/packages/mcp-bibliography/MEMORY.md +31 -0
- package/packages/mcp-bibliography/_app.py +226 -0
- package/packages/mcp-bibliography/formatters.py +158 -0
- package/packages/mcp-bibliography/log/2026-03-13-2100.md +35 -0
- package/packages/mcp-bibliography/pyproject.toml +15 -0
- package/packages/mcp-bibliography/run.sh +20 -0
- package/packages/mcp-bibliography/scholarly_formatters.py +83 -0
- package/packages/mcp-bibliography/server.py +1857 -0
- package/packages/mcp-bibliography/tools/__init__.py +28 -0
- package/packages/mcp-bibliography/tools/_registry.py +19 -0
- package/packages/mcp-bibliography/tools/altmetric.py +107 -0
- package/packages/mcp-bibliography/tools/core.py +92 -0
- package/packages/mcp-bibliography/tools/dblp.py +52 -0
- package/packages/mcp-bibliography/tools/openalex.py +296 -0
- package/packages/mcp-bibliography/tools/opencitations.py +102 -0
- package/packages/mcp-bibliography/tools/openreview.py +179 -0
- package/packages/mcp-bibliography/tools/orcid.py +131 -0
- package/packages/mcp-bibliography/tools/scholarly.py +575 -0
- package/packages/mcp-bibliography/tools/unpaywall.py +63 -0
- package/packages/mcp-bibliography/tools/zenodo.py +123 -0
- package/packages/mcp-bibliography/uv.lock +711 -0
- package/scripts/setup.sh +143 -0
- package/skills/beamer-deck/SKILL.md +199 -0
- package/skills/beamer-deck/references/quality-rubric.md +54 -0
- package/skills/beamer-deck/references/review-prompts.md +106 -0
- package/skills/bib-validate/SKILL.md +261 -0
- package/skills/bib-validate/references/council-mode.md +34 -0
- package/skills/bib-validate/references/deep-verify.md +79 -0
- package/skills/bib-validate/references/fix-mode.md +36 -0
- package/skills/bib-validate/references/openalex-verification.md +45 -0
- package/skills/bib-validate/references/preprint-check.md +31 -0
- package/skills/bib-validate/references/ref-manager-crossref.md +41 -0
- package/skills/bib-validate/references/report-template.md +82 -0
- package/skills/code-archaeology/SKILL.md +141 -0
- package/skills/code-review/SKILL.md +265 -0
- package/skills/code-review/references/quality-rubric.md +67 -0
- package/skills/consolidate-memory/SKILL.md +208 -0
- package/skills/context-status/SKILL.md +126 -0
- package/skills/creation-guard/SKILL.md +230 -0
- package/skills/devils-advocate/SKILL.md +130 -0
- package/skills/devils-advocate/references/competing-hypotheses.md +83 -0
- package/skills/init-project/SKILL.md +115 -0
- package/skills/init-project-course/references/memory-and-settings.md +92 -0
- package/skills/init-project-course/references/organise-templates.md +94 -0
- package/skills/init-project-course/skill.md +147 -0
- package/skills/init-project-light/skill.md +139 -0
- package/skills/init-project-research/SKILL.md +368 -0
- package/skills/init-project-research/references/atlas-pipeline-sync.md +70 -0
- package/skills/init-project-research/references/atlas-schema.md +81 -0
- package/skills/init-project-research/references/confirmation-report.md +39 -0
- package/skills/init-project-research/references/domain-profile-template.md +104 -0
- package/skills/init-project-research/references/interview-round3.md +34 -0
- package/skills/init-project-research/references/literature-discovery.md +43 -0
- package/skills/init-project-research/references/scaffold-details.md +197 -0
- package/skills/init-project-research/templates/field-calibration.md +60 -0
- package/skills/init-project-research/templates/pipeline-manifest.md +63 -0
- package/skills/init-project-research/templates/run-all.sh +116 -0
- package/skills/init-project-research/templates/seed-files.md +337 -0
- package/skills/insights-deck/SKILL.md +151 -0
- package/skills/interview-me/SKILL.md +157 -0
- package/skills/latex/SKILL.md +141 -0
- package/skills/latex/references/latex-configs.md +183 -0
- package/skills/latex-autofix/SKILL.md +230 -0
- package/skills/latex-autofix/references/known-errors.md +183 -0
- package/skills/latex-autofix/references/quality-rubric.md +50 -0
- package/skills/latex-health-check/SKILL.md +161 -0
- package/skills/learn/SKILL.md +220 -0
- package/skills/learn/scripts/validate_skill.py +265 -0
- package/skills/lessons-learned/SKILL.md +201 -0
- package/skills/literature/SKILL.md +335 -0
- package/skills/literature/references/agent-templates.md +393 -0
- package/skills/literature/references/bibliometric-apis.md +44 -0
- package/skills/literature/references/cli-council-search.md +79 -0
- package/skills/literature/references/openalex-api-guide.md +371 -0
- package/skills/literature/references/openalex-common-queries.md +381 -0
- package/skills/literature/references/openalex-workflows.md +248 -0
- package/skills/literature/references/reference-manager-sync.md +36 -0
- package/skills/literature/references/scopus-api-guide.md +208 -0
- package/skills/literature/references/wos-api-guide.md +308 -0
- package/skills/multi-perspective/SKILL.md +311 -0
- package/skills/multi-perspective/references/computational-many-analysts.md +77 -0
- package/skills/pipeline-manifest/SKILL.md +226 -0
- package/skills/pre-submission-report/SKILL.md +153 -0
- package/skills/process-reviews/SKILL.md +244 -0
- package/skills/process-reviews/references/rr-routing.md +101 -0
- package/skills/project-deck/SKILL.md +87 -0
- package/skills/project-safety/SKILL.md +135 -0
- package/skills/proofread/SKILL.md +254 -0
- package/skills/proofread/references/quality-rubric.md +104 -0
- package/skills/python-env/SKILL.md +57 -0
- package/skills/quarto-deck/SKILL.md +226 -0
- package/skills/quarto-deck/references/markdown-format.md +143 -0
- package/skills/quarto-deck/references/quality-rubric.md +54 -0
- package/skills/save-context/SKILL.md +174 -0
- package/skills/session-log/SKILL.md +98 -0
- package/skills/shared/concept-validation-gate.md +161 -0
- package/skills/shared/council-protocol.md +265 -0
- package/skills/shared/distribution-diagnostics.md +164 -0
- package/skills/shared/engagement-stratified-sampling.md +218 -0
- package/skills/shared/escalation-protocol.md +74 -0
- package/skills/shared/external-audit-protocol.md +205 -0
- package/skills/shared/intercoder-reliability.md +256 -0
- package/skills/shared/mcp-degradation.md +81 -0
- package/skills/shared/method-probing-questions.md +163 -0
- package/skills/shared/multi-language-conventions.md +143 -0
- package/skills/shared/paid-api-safety.md +174 -0
- package/skills/shared/palettes.md +90 -0
- package/skills/shared/progressive-disclosure.md +92 -0
- package/skills/shared/project-documentation-content.md +443 -0
- package/skills/shared/project-documentation-format.md +281 -0
- package/skills/shared/project-documentation.md +100 -0
- package/skills/shared/publication-output.md +138 -0
- package/skills/shared/quality-scoring.md +70 -0
- package/skills/shared/reference-resolution.md +77 -0
- package/skills/shared/research-quality-rubric.md +165 -0
- package/skills/shared/rhetoric-principles.md +54 -0
- package/skills/shared/skill-design-patterns.md +272 -0
- package/skills/shared/skill-index.md +240 -0
- package/skills/shared/system-documentation.md +334 -0
- package/skills/shared/tikz-rules.md +402 -0
- package/skills/shared/validation-tiers.md +121 -0
- package/skills/shared/venue-guides/README.md +46 -0
- package/skills/shared/venue-guides/cell_press_style.md +483 -0
- package/skills/shared/venue-guides/conferences_formatting.md +564 -0
- package/skills/shared/venue-guides/cs_conference_style.md +463 -0
- package/skills/shared/venue-guides/examples/cell_summary_example.md +247 -0
- package/skills/shared/venue-guides/examples/medical_structured_abstract.md +313 -0
- package/skills/shared/venue-guides/examples/nature_abstract_examples.md +213 -0
- package/skills/shared/venue-guides/examples/neurips_introduction_example.md +245 -0
- package/skills/shared/venue-guides/journals_formatting.md +486 -0
- package/skills/shared/venue-guides/medical_journal_styles.md +535 -0
- package/skills/shared/venue-guides/ml_conference_style.md +556 -0
- package/skills/shared/venue-guides/nature_science_style.md +405 -0
- package/skills/shared/venue-guides/reviewer_expectations.md +417 -0
- package/skills/shared/venue-guides/venue_writing_styles.md +321 -0
- package/skills/split-pdf/SKILL.md +172 -0
- package/skills/split-pdf/methodology.md +48 -0
- package/skills/sync-notion/SKILL.md +93 -0
- package/skills/system-audit/SKILL.md +157 -0
- package/skills/system-audit/references/sub-agent-prompts.md +294 -0
- package/skills/task-management/SKILL.md +131 -0
- package/skills/update-focus/SKILL.md +204 -0
- package/skills/update-project-doc/SKILL.md +194 -0
- package/skills/validate-bib/SKILL.md +242 -0
- package/skills/validate-bib/references/council-mode.md +34 -0
- package/skills/validate-bib/references/deep-verify.md +71 -0
- package/skills/validate-bib/references/openalex-verification.md +45 -0
- package/skills/validate-bib/references/preprint-check.md +31 -0
- package/skills/validate-bib/references/report-template.md +62 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Interview Round 3 — Research Content Questions
|
|
2
|
+
|
|
3
|
+
> Paper-type-specific questions for Phase 1, Round 3 of `/init-project-research`. Adapted from Lopez-Lira's idea evaluation template.
|
|
4
|
+
|
|
5
|
+
## Common Questions (all types)
|
|
6
|
+
|
|
7
|
+
1. **Paper type** — Empirical / Theoretical / Methodological / Mixed
|
|
8
|
+
2. **Abstract / elevator pitch** — 1-2 sentences
|
|
9
|
+
3. **Key research questions** — up to 3
|
|
10
|
+
|
|
11
|
+
## If Empirical
|
|
12
|
+
|
|
13
|
+
4. **Identification strategy** — How will you establish causality? What is your source of exogenous variation? Name the specific shock, instrument, or natural experiment. (If unknown, note "TBD — pipeline will help identify")
|
|
14
|
+
5. **Data sources** — List every dataset. Be specific: name the database, key variables, and sample period. (e.g., "CRSP Monthly Stock File (1970-2025): returns, market cap")
|
|
15
|
+
6. **Proposed specification** — Write the main regression equation if possible, or describe the empirical test in words.
|
|
16
|
+
|
|
17
|
+
## If Theoretical
|
|
18
|
+
|
|
19
|
+
4. **Model setup** — Key agents, frictions, or market failures. Which assumptions drive results? Which are new vs standard?
|
|
20
|
+
5. **Key predictions** — 2-3 testable predictions or comparative statics that distinguish this model from existing ones.
|
|
21
|
+
6. **Relation to existing models** — Which models are closest? What friction/agent/structure is added or changed? Why does this matter?
|
|
22
|
+
|
|
23
|
+
## If Methodological
|
|
24
|
+
|
|
25
|
+
4. **The problem** — What existing method fails, and in what setting? What bias, inconsistency, or limitation is addressed?
|
|
26
|
+
5. **Proposed method** — What is the new estimator, test, or procedure? Key properties (consistency, efficiency, robustness)?
|
|
27
|
+
6. **Demonstration plan** — Monte Carlo, analytical proofs, empirical application to a known setting? What existing results would change?
|
|
28
|
+
|
|
29
|
+
## If Mixed
|
|
30
|
+
|
|
31
|
+
Ask the relevant subset of the above based on which types apply.
|
|
32
|
+
|
|
33
|
+
## Storing the Answers
|
|
34
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Literature & Discovery — Phase 8 Details
|
|
2
|
+
|
|
3
|
+
> Referenced from: `init-project-research/SKILL.md` Phase 8
|
|
4
|
+
|
|
5
|
+
After scaffolding and syncing, automatically run a literature review and scout novelty assessment. These run in parallel via sub-agents to save time.
|
|
6
|
+
|
|
7
|
+
## 8a. Literature Review
|
|
8
|
+
|
|
9
|
+
Launch `/literature` targeting the project's research topic. Uses the working title, abstract, key research questions, and any references from the Atlas topic file as search seeds.
|
|
10
|
+
|
|
11
|
+
1. Spawn a sub-agent (`Task` tool) that runs the literature skill:
|
|
12
|
+
- Search query: derived from the working title + key concepts from the interview
|
|
13
|
+
- Sources: OpenAlex + Scopus (or multi-source if available)
|
|
14
|
+
- Output: `docs/literature-review/YYYY-MM-DD-initial-review.md` — structured literature map with verified citations
|
|
15
|
+
- Also generate: `docs/literature-review/references.bib` — verified BibTeX entries for discovered papers
|
|
16
|
+
2. Scope: foundational papers + recent work (last 3 years) + closest competitors
|
|
17
|
+
3. Target: 15-25 papers for an initial literature map
|
|
18
|
+
|
|
19
|
+
## 8b. Scout Discovery Audit
|
|
20
|
+
|
|
21
|
+
Launch `/scout` in novelty mode to assess the topic's competitive landscape.
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
scout novelty "<working-title-or-research-question>" --source multi
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
1. Save the scout report to `docs/YYYY-MM-DD-scout-novelty.md`
|
|
28
|
+
2. If the novelty score is **below 5/10**, flag in the confirmation report: "Low novelty score — consider reframing before investing further"
|
|
29
|
+
3. If the novelty score is **above 7/10**, note as a positive signal
|
|
30
|
+
|
|
31
|
+
## 8c. Results Integration
|
|
32
|
+
|
|
33
|
+
After both complete:
|
|
34
|
+
|
|
35
|
+
1. Update the Atlas topic file's `## Key References` section with the top 5-8 foundational papers discovered
|
|
36
|
+
2. Add the novelty score to the Atlas topic file: `## Novelty Assessment\n\n**Score: X/10** (scouted YYYY-MM-DD). [one-line summary]`
|
|
37
|
+
3. If scout identifies specific competitors, add them to `## Key References` with differentiation notes
|
|
38
|
+
|
|
39
|
+
## Error Handling
|
|
40
|
+
|
|
41
|
+
- If literature search returns no results: note in report, continue (topic may be too novel or too niche for API coverage)
|
|
42
|
+
- If scout CLI is not installed or fails: skip with warning, suggest running `/scout` manually later
|
|
43
|
+
- These phases should NOT block project creation — if they fail, the project is still fully scaffolded
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
# Scaffold Details
|
|
2
|
+
|
|
3
|
+
> Templates, directory structures, and reference material used by `/init-project-research`. The SKILL.md has pointers here — read this when executing the relevant phase.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Venues & Correspondence Structure
|
|
8
|
+
|
|
9
|
+
When a target venue is known from the interview, seed the venue folder and correspondence directory:
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
docs/venues/<venue-slug>/ # e.g., docs/venues/ejor/, docs/venues/mcdm-2026/
|
|
13
|
+
└── submission/ # .gitkeep — for initial submission materials
|
|
14
|
+
|
|
15
|
+
correspondence/
|
|
16
|
+
└── referee-reviews/ # .gitkeep — for review rounds (seeded by /process-reviews)
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
As the project progresses through submission and revision cycles, material splits across two locations:
|
|
20
|
+
|
|
21
|
+
**`docs/venues/`** — submission and venue material only:
|
|
22
|
+
```
|
|
23
|
+
docs/venues/<venue-slug>/
|
|
24
|
+
├── submission/ # Original submission
|
|
25
|
+
│ ├── <Paper Title>.pdf # Compiled PDF as submitted
|
|
26
|
+
│ └── source/ # LaTeX source snapshot (optional)
|
|
27
|
+
└── camera-ready/ # Final accepted version
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
**`correspondence/referee-reviews/`** — reviewer exchanges per round:
|
|
31
|
+
```
|
|
32
|
+
correspondence/referee-reviews/<venue>-round<N>/
|
|
33
|
+
├── reviews-original.pdf # What reviewers sent
|
|
34
|
+
├── rebuttal.md # What we send back
|
|
35
|
+
└── analysis/ # Our work on their feedback
|
|
36
|
+
├── comment-tracker.md
|
|
37
|
+
├── review-analysis.md
|
|
38
|
+
└── reviewer-comments-verbatim.tex
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
**`docs/<venue>/internal-reviews/`** — internal review work (not round-specific):
|
|
42
|
+
```
|
|
43
|
+
docs/<venue>/internal-reviews/
|
|
44
|
+
├── referee2-report.md # Referee2 agent analysis
|
|
45
|
+
└── referee2-deck.tex # Summary deck
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Conference Submission Checklist Template
|
|
51
|
+
|
|
52
|
+
For **conference venues**, seed a `submission-checklist.md` inside the venue folder:
|
|
53
|
+
|
|
54
|
+
```markdown
|
|
55
|
+
# <Conference Name> Submission Checklist
|
|
56
|
+
|
|
57
|
+
## Venue Details
|
|
58
|
+
- **Conference:** <name> (<acronym>)
|
|
59
|
+
- **CORE ranking:** <ranking>
|
|
60
|
+
- **Page limit:** <N pages + refs>
|
|
61
|
+
- **Format:** <template>
|
|
62
|
+
- **Review type:** <type>
|
|
63
|
+
- **Anonymisation:** <yes/no>
|
|
64
|
+
|
|
65
|
+
## Key Dates
|
|
66
|
+
- [ ] Submission deadline: <date>
|
|
67
|
+
- [ ] Notification: <date>
|
|
68
|
+
- [ ] Camera-ready: <date>
|
|
69
|
+
- [ ] Conference: <dates>
|
|
70
|
+
|
|
71
|
+
## Pre-Submission
|
|
72
|
+
- [ ] Page count within limit
|
|
73
|
+
- [ ] Correct LaTeX template used
|
|
74
|
+
- [ ] Anonymisation applied (if required) — use `/replication-package` Blind mode
|
|
75
|
+
- [ ] All figures render correctly
|
|
76
|
+
- [ ] Bibliography complete — run `/bib-validate`
|
|
77
|
+
- [ ] Proofread — run `/proofread`
|
|
78
|
+
- [ ] AI traces removed — use `/replication-package` Assemble mode
|
|
79
|
+
|
|
80
|
+
## Submission
|
|
81
|
+
- [ ] Paper uploaded to submission system
|
|
82
|
+
- [ ] Supplementary materials attached (if any)
|
|
83
|
+
- [ ] Author information entered correctly
|
|
84
|
+
- [ ] Conflicts of interest declared
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Papers Context File Template
|
|
90
|
+
|
|
91
|
+
Used in Phase 6 when creating `.context/projects/papers/<short-name>.md`:
|
|
92
|
+
|
|
93
|
+
```markdown
|
|
94
|
+
# <Working Title>
|
|
95
|
+
|
|
96
|
+
## Overview
|
|
97
|
+
<Abstract/elevator pitch>
|
|
98
|
+
|
|
99
|
+
## Status
|
|
100
|
+
<Stage> — project just initialised
|
|
101
|
+
|
|
102
|
+
## Key Details
|
|
103
|
+
- **Authors:** <names>
|
|
104
|
+
- **Affiliation:** <institution>
|
|
105
|
+
- **Target:** <venue> (<deadline>)
|
|
106
|
+
- **Design:** <methodology>
|
|
107
|
+
|
|
108
|
+
## Links
|
|
109
|
+
- **Overleaf:** <external link>
|
|
110
|
+
- **GitHub:** <URL or "local-only">
|
|
111
|
+
- **Vault:** <vault path auto-populated>
|
|
112
|
+
- **Project folder:** <relative path>
|
|
113
|
+
|
|
114
|
+
## Research Questions
|
|
115
|
+
1. <RQ1>
|
|
116
|
+
2. <RQ2>
|
|
117
|
+
3. <RQ3>
|
|
118
|
+
|
|
119
|
+
## Key Decisions
|
|
120
|
+
<empty — to be populated>
|
|
121
|
+
|
|
122
|
+
## Completed
|
|
123
|
+
- [x] Project folder structure + Overleaf symlink
|
|
124
|
+
- [x] Git initialised
|
|
125
|
+
- [x] Context library entries created
|
|
126
|
+
- [x] vault research pipeline entry
|
|
127
|
+
|
|
128
|
+
## Action Items
|
|
129
|
+
- [ ] Literature review
|
|
130
|
+
- [ ] <First concrete next step based on project type>
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Expected Post-Init Growth
|
|
136
|
+
|
|
137
|
+
Projects naturally grow beyond the initial scaffold. These items are **not** created by `/init-project-research` but are recognized as valid by `/audit-project-research`:
|
|
138
|
+
|
|
139
|
+
| Growth item | When it appears | Purpose |
|
|
140
|
+
|-------------|----------------|---------|
|
|
141
|
+
| `experiments/` | Computational projects with parameter sweeps | Experiment configs, sweep logs, results |
|
|
142
|
+
| `experiments/configs/` | Sub-directory for sweep YAML/JSON files | Parameter sweep definitions |
|
|
143
|
+
| `scripts/` | When utility scripts accumulate | One-off data processing, plotting scripts |
|
|
144
|
+
| `legacy/` | After refactoring or restructuring | Preserves old code/data safely (per `/project-safety`) |
|
|
145
|
+
| `correspondence/referee-reviews/<venue>-roundN/` | After receiving R&R | Reviewer comments, rebuttal, analysis |
|
|
146
|
+
| `docs/<venue>/internal-reviews/` | After running referee2 agent | Internal review reports (not round-specific) |
|
|
147
|
+
| `docs/venues/<venue>/camera-ready/` | After acceptance | Final camera-ready version |
|
|
148
|
+
| `notes.md` | Early research phase | Quick research notes, meeting summaries |
|
|
149
|
+
| `SETUP.md` | Computational projects with dependencies | Environment setup for collaborators |
|
|
150
|
+
| `pyproject.toml` / `.venv/` | Python-heavy projects | Package management |
|
|
151
|
+
| `.planning/` | After running `/init-project-orchestration` | Project roadmap and state tracking |
|
|
152
|
+
| `.claude/agents/` | After running `/init-project-orchestration` | Project-level role-specific agents |
|
|
153
|
+
| `.claude/commands/` | After running `/init-project-orchestration` | Project-level repeatable task commands |
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## Overleaf Symlink Commands (Phase 4)
|
|
158
|
+
|
|
159
|
+
### 4a. Create symlink
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
OVERLEAF_PATH="$HOME/Library/CloudStorage/YOUR-CLOUD/Apps/Overleaf/<overleaf-name>"
|
|
163
|
+
PROJECT_PATH="<project-path>"
|
|
164
|
+
|
|
165
|
+
# Verify Overleaf directory exists
|
|
166
|
+
ls "$OVERLEAF_PATH"
|
|
167
|
+
|
|
168
|
+
# Create symlink
|
|
169
|
+
ln -s "$OVERLEAF_PATH" "$PROJECT_PATH/paper"
|
|
170
|
+
|
|
171
|
+
# Verify it resolves
|
|
172
|
+
ls "$PROJECT_PATH/paper/"
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
If the Overleaf directory doesn't exist, warn the user but still create the symlink (it will resolve once Overleaf creates the folder).
|
|
176
|
+
|
|
177
|
+
### 4b. Seed template files
|
|
178
|
+
|
|
179
|
+
If a template was selected in Round 2 (not "None"):
|
|
180
|
+
|
|
181
|
+
1. Check whether the Overleaf folder already has `.tex` files
|
|
182
|
+
2. If existing content, ask: "The Overleaf folder already has files. Overwrite with template, or skip?"
|
|
183
|
+
3. If empty or overwrite confirmed:
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
TEMPLATE_PATH="<Task Management>/templates/<template-slug>"
|
|
187
|
+
rsync -av --exclude='.git' --exclude='.gitignore' --exclude='out/' "$TEMPLATE_PATH/" "$PROJECT_PATH/paper/"
|
|
188
|
+
```
|
|
189
|
+
|
|
190
|
+
### 4c. Ensure `.latexmkrc` exists
|
|
191
|
+
|
|
192
|
+
Check whether `paper/.latexmkrc` exists. If not, create it:
|
|
193
|
+
|
|
194
|
+
```perl
|
|
195
|
+
$out_dir = 'out';
|
|
196
|
+
END { system("cp $out_dir/*.pdf . 2>/dev/null") if defined $out_dir; }
|
|
197
|
+
```
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# Field Calibration — <Working Title>
|
|
2
|
+
|
|
3
|
+
> Per-project domain profile. Agents read this to calibrate reviews to the field's norms.
|
|
4
|
+
> Populated by `/interview-me` Phase 7 or manually. Distinct from `profile.md` (personal identity).
|
|
5
|
+
|
|
6
|
+
## Field & Subfields
|
|
7
|
+
|
|
8
|
+
- **Primary field:** <e.g., Operations Research, Organisational Behaviour, Computer Science>
|
|
9
|
+
- **Subfield(s):** <e.g., Multi-Criteria Decision Making, Category D>
|
|
10
|
+
- **Adjacent fields:** <fields reviewers might draw from>
|
|
11
|
+
|
|
12
|
+
## Target Venues (ranked)
|
|
13
|
+
|
|
14
|
+
| Venue | Type | Ranking | Fit | Notes |
|
|
15
|
+
|-------|------|---------|-----|-------|
|
|
16
|
+
| <venue 1> | journal/conference | <CABS/CORE> | Primary | |
|
|
17
|
+
| <venue 2> | journal/conference | <CABS/CORE> | Fallback | |
|
|
18
|
+
|
|
19
|
+
## Common Data Sources
|
|
20
|
+
|
|
21
|
+
| Source | Type | Access | Notes |
|
|
22
|
+
|--------|------|--------|-------|
|
|
23
|
+
| <source 1> | <survey/admin/experimental/simulation> | <open/restricted/to-collect> | |
|
|
24
|
+
|
|
25
|
+
## Identification Strategies Typical in This Field
|
|
26
|
+
|
|
27
|
+
| Strategy | When used | Key assumptions | Common critiques |
|
|
28
|
+
|----------|-----------|-----------------|------------------|
|
|
29
|
+
| <e.g., RCT, DiD, simulation> | <context> | <assumptions> | <what reviewers attack> |
|
|
30
|
+
|
|
31
|
+
## Notation Conventions
|
|
32
|
+
|
|
33
|
+
| Symbol | Meaning | Field standard | Anti-pattern |
|
|
34
|
+
|--------|---------|---------------|--------------|
|
|
35
|
+
| <e.g., $D_i$> | <treatment indicator> | <standard in field> | <common mistake> |
|
|
36
|
+
|
|
37
|
+
## Seminal References
|
|
38
|
+
|
|
39
|
+
> Papers a reviewer in this field would expect to see cited.
|
|
40
|
+
|
|
41
|
+
- <Author (Year)> — <one-line contribution>
|
|
42
|
+
- <Author (Year)> — <one-line contribution>
|
|
43
|
+
- <Author (Year)> — <one-line contribution>
|
|
44
|
+
|
|
45
|
+
## Common Referee Concerns
|
|
46
|
+
|
|
47
|
+
> Typical objections reviewers raise in this subfield.
|
|
48
|
+
|
|
49
|
+
1. <e.g., "External validity of lab experiments to real organisations">
|
|
50
|
+
2. <e.g., "Endogeneity of AI adoption decisions">
|
|
51
|
+
3. <e.g., "Sensitivity to weight specification in MCDM">
|
|
52
|
+
|
|
53
|
+
## Quality Thresholds
|
|
54
|
+
|
|
55
|
+
| Dimension | Field expectation | Notes |
|
|
56
|
+
|-----------|------------------|-------|
|
|
57
|
+
| Sample size | <e.g., N > 200 for survey, N > 30 per cell for experiment> | |
|
|
58
|
+
| Effect size reporting | <e.g., Cohen's d expected, partial eta-squared for ANOVA> | |
|
|
59
|
+
| Robustness | <e.g., at least 3 alternative specifications> | |
|
|
60
|
+
| Replication | <e.g., pre-registration expected for experiments> | |
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Pipeline Manifest
|
|
2
|
+
|
|
3
|
+
**Project:** <!-- Project title -->
|
|
4
|
+
**Last Updated:** <!-- Date -->
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## Script Status
|
|
9
|
+
|
|
10
|
+
| Step | Script | Language | Status | Notes |
|
|
11
|
+
|------|--------|----------|--------|-------|
|
|
12
|
+
<!-- | 01 | code/python/01_import.py | Python | Done | Imports raw data, cleans IDs | -->
|
|
13
|
+
<!-- | 05 | code/R/05_merge.R | R | Done | Merges datasets | -->
|
|
14
|
+
<!-- | 10 | code/R/10_summary_stats.R | R | Done | Summary statistics table | -->
|
|
15
|
+
<!-- | 20 | code/python/20_estimate.py | Python | In progress | Main estimation | -->
|
|
16
|
+
|
|
17
|
+
**Naming convention:** Step numbers use gaps (01, 05, 10, 20...) to allow insertion. Letter suffixes (10a, 10b) for variants of the same step.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Data Files
|
|
22
|
+
|
|
23
|
+
| File | Purpose | Created by | Used by |
|
|
24
|
+
|------|---------|------------|---------|
|
|
25
|
+
<!-- | data/processed/clean_data.csv | Cleaned import | Step 01 | Step 05 | -->
|
|
26
|
+
<!-- | data/processed/analysis_file.parquet | Analysis-ready | Step 05 | Steps 10, 20 | -->
|
|
27
|
+
|
|
28
|
+
**Rule:** `data/raw/` is READ-ONLY. All processed data goes to `data/processed/`.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Manuscript Figure Manifest
|
|
33
|
+
|
|
34
|
+
This table maps every figure and table in the manuscript back to its source script and input data. Use it to trace any output upstream to its code, or to identify which outputs need regeneration when a script or dataset changes.
|
|
35
|
+
|
|
36
|
+
| Manuscript ref | Filename | Source script | Step | Input data |
|
|
37
|
+
|---------------|----------|---------------|------|------------|
|
|
38
|
+
<!-- | Figure 1 | descriptive_plot.pdf | code/R/10_summary_stats.R | 10 | analysis_file.parquet | -->
|
|
39
|
+
<!-- | Figure 2 | event_study.pdf | code/python/20_estimate.py | 20 | analysis_file.parquet | -->
|
|
40
|
+
<!-- | Table 1 | summary_stats.tex | code/R/10_summary_stats.R | 10 | analysis_file.parquet | -->
|
|
41
|
+
<!-- | Table 2 | main_results.tex | code/python/20_estimate.py | 20 | analysis_file.parquet | -->
|
|
42
|
+
|
|
43
|
+
### Tracing Workflow
|
|
44
|
+
|
|
45
|
+
**Figure → Source (downstream to upstream):**
|
|
46
|
+
1. Find the `\includegraphics{filename}` or `\input{filename}` in your paper
|
|
47
|
+
2. Look up the filename in the manifest above to find the source script and step
|
|
48
|
+
3. Read the source script to find its input data file
|
|
49
|
+
4. Check the Script Status table to find what upstream step creates that data
|
|
50
|
+
|
|
51
|
+
**Script change → Affected figures (upstream to downstream):**
|
|
52
|
+
1. Identify which step's script was changed
|
|
53
|
+
2. Look up that step in the manifest to find all figures/tables it produces
|
|
54
|
+
3. Rerun the script (via `./run_all.sh "script_name"` if available)
|
|
55
|
+
4. Output goes to `output/figures/` or `output/tables/`, which the paper picks up
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## Notes
|
|
60
|
+
|
|
61
|
+
- All outputs go to `output/` — figures in `output/figures/`, tables in `output/tables/`
|
|
62
|
+
- The Script Status table must stay in sync with actual scripts in `code/`
|
|
63
|
+
- Uncomment and fill in rows as you add scripts and outputs to the project
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# run_all.sh — Multi-language pipeline executor
|
|
3
|
+
# Usage:
|
|
4
|
+
# ./run_all.sh "script_name" Run a single script (auto-detects language)
|
|
5
|
+
# ./run_all.sh --all Run all pipeline steps in order
|
|
6
|
+
#
|
|
7
|
+
# Supported languages: Python (via uv), R, Stata
|
|
8
|
+
# Logs saved to: output/logs/<script>_<timestamp>.log
|
|
9
|
+
|
|
10
|
+
set -euo pipefail
|
|
11
|
+
|
|
12
|
+
# --- Configuration ---
|
|
13
|
+
PROJECT_ROOT="$(cd "$(dirname "$0")" && pwd)"
|
|
14
|
+
LOG_DIR="$PROJECT_ROOT/output/logs"
|
|
15
|
+
mkdir -p "$LOG_DIR"
|
|
16
|
+
|
|
17
|
+
# --- Language runners ---
|
|
18
|
+
|
|
19
|
+
run_python() {
|
|
20
|
+
local script="$1"
|
|
21
|
+
local logfile="$2"
|
|
22
|
+
echo "Running Python: $script"
|
|
23
|
+
uv run python "$script" 2>&1 | tee "$logfile"
|
|
24
|
+
return "${PIPESTATUS[0]}"
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
run_r() {
|
|
28
|
+
local script="$1"
|
|
29
|
+
local logfile="$2"
|
|
30
|
+
echo "Running R: $script"
|
|
31
|
+
Rscript "$script" 2>&1 | tee "$logfile"
|
|
32
|
+
return "${PIPESTATUS[0]}"
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
run_stata() {
|
|
36
|
+
local script="$1"
|
|
37
|
+
local logfile="$2"
|
|
38
|
+
echo "Running Stata: $script"
|
|
39
|
+
local script_name
|
|
40
|
+
script_name=$(basename "$script" .do)
|
|
41
|
+
stata-mp -b do "$script" 2>&1 | tee "$logfile"
|
|
42
|
+
# Stata writes its own log; append it
|
|
43
|
+
if [ -f "${script_name}.log" ]; then
|
|
44
|
+
cat "${script_name}.log" >> "$logfile"
|
|
45
|
+
rm "${script_name}.log"
|
|
46
|
+
fi
|
|
47
|
+
return "${PIPESTATUS[0]}"
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
# --- Dispatcher ---
|
|
51
|
+
|
|
52
|
+
run_script() {
|
|
53
|
+
local script="$1"
|
|
54
|
+
local script_name
|
|
55
|
+
script_name=$(basename "$script")
|
|
56
|
+
local timestamp
|
|
57
|
+
timestamp=$(date +"%Y-%m-%d_%H%M%S")
|
|
58
|
+
local logfile="$LOG_DIR/${script_name}_${timestamp}.log"
|
|
59
|
+
|
|
60
|
+
echo "========================================"
|
|
61
|
+
echo " Script: $script_name"
|
|
62
|
+
echo " Log: $logfile"
|
|
63
|
+
echo " Time: $(date)"
|
|
64
|
+
echo "========================================"
|
|
65
|
+
|
|
66
|
+
local exit_code=0
|
|
67
|
+
|
|
68
|
+
case "$script" in
|
|
69
|
+
*.py) run_python "$script" "$logfile" || exit_code=$? ;;
|
|
70
|
+
*.R) run_r "$script" "$logfile" || exit_code=$? ;;
|
|
71
|
+
*.do) run_stata "$script" "$logfile" || exit_code=$? ;;
|
|
72
|
+
*)
|
|
73
|
+
echo "ERROR: Unknown file type: $script"
|
|
74
|
+
echo "Supported: .py, .R, .do"
|
|
75
|
+
return 1
|
|
76
|
+
;;
|
|
77
|
+
esac
|
|
78
|
+
|
|
79
|
+
echo ""
|
|
80
|
+
if [ $exit_code -eq 0 ]; then
|
|
81
|
+
echo "SUCCESS: $script_name completed (exit code 0)"
|
|
82
|
+
else
|
|
83
|
+
echo "FAILED: $script_name (exit code $exit_code)"
|
|
84
|
+
fi
|
|
85
|
+
echo "Log saved: $logfile"
|
|
86
|
+
|
|
87
|
+
# Open log on macOS
|
|
88
|
+
if command -v open &> /dev/null; then
|
|
89
|
+
open "$logfile"
|
|
90
|
+
fi
|
|
91
|
+
|
|
92
|
+
return $exit_code
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
# --- Main ---
|
|
96
|
+
|
|
97
|
+
if [ $# -eq 0 ]; then
|
|
98
|
+
echo "Usage:"
|
|
99
|
+
echo " ./run_all.sh \"script_name\" Run a single script"
|
|
100
|
+
echo " ./run_all.sh --all Run all pipeline steps"
|
|
101
|
+
exit 1
|
|
102
|
+
fi
|
|
103
|
+
|
|
104
|
+
if [ "$1" = "--all" ]; then
|
|
105
|
+
echo "Running full pipeline..."
|
|
106
|
+
echo ""
|
|
107
|
+
# Add pipeline steps here in order, e.g.:
|
|
108
|
+
# run_script "code/python/01_import.py"
|
|
109
|
+
# run_script "code/R/05_merge.R"
|
|
110
|
+
# run_script "code/R/10_summary_stats.R"
|
|
111
|
+
# run_script "code/python/20_estimate.py"
|
|
112
|
+
echo "No pipeline steps configured yet. Add them to run_all.sh."
|
|
113
|
+
exit 0
|
|
114
|
+
else
|
|
115
|
+
run_script "$1"
|
|
116
|
+
fi
|