management-research-notes
CLAUDE.md2 starsChanged yesterdayMITView on GitHub
This folder is an academic knowledge base for management / business sustainability research. Read this file before doing anything in this folder. - notes/ is a Zettelkasten-style knowledge base — one Markdown file per academic paper, with YAML frontmatter for structured metadata and a markdown body for the analytic distillation (research question, mechanism, contribution, limitations, etc.). - library/{Source}/{Year-Month}/pdfs/ holds the original PDFs. Each has a sibling text/ folder with the extracted plain text. - index/synapse.db is a SQLite index derived…
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
Show its rules and text
We split this CLAUDE.md into the rules it gives an agent
18 rules. About 0 are common, 5 are distinctive, and 13 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 27
Before extraction, populate (Tier 3, mandatory): run python tools/populate_manifest.py library/<source>/<issue>/manifest.tsv --apply …
- Very specific: line 33
Before extraction, validate (mandatory): run python tools/lint_manifests.py --manifest library/<source>/<issue>/manifest.tsv to …
- Distinctive: line 49
Do not treat full-library CrossRef as a ritual.
- Very specific: line 74
Notes are the source of truth: If you need to fix a paper's metadata, re-run the ingestion pipeline for that paper (tools/ingest_batch.py …
- Very specific: line 78
Stable IDs: Every paper has a paper_id like nbs-2026-02-spoor-2026 that is derived from …
- Very specific: line 107
Validate before committing: After producing or editing a note, run python tools/validate_note.py notes/<id>.md and only proceed if it …
- Distinctive: line 110
One paper, one note: Never split a paper across multiple notes.
- Very specific: line 112
Faithfulness is checked, not assumed: Every v2 note must carry an evidence: frontmatter block whose quotes are verbatim substrings of the …
- Very specific: line 139
Run tools/pdf_to_text.py <pdf> to produce a plain-text version.
- Very specific: line 140
Run tools/prepare_paper.py <pdf> to look up the trusted bibliographic metadata from the manifest and produce an extraction bundle (text + …
- Very specific: line 143
Read the bundle, apply the extraction prompt to the text, and write the resulting note to notes/{paper_id}.md using the Write tool.
- Very specific: line 147
Run python tools/validate_note.py notes/{paper_id}.md.
- Very specific: line 152
Run the two-layer faithfulness audit with an independent Layer 2 auditor.
- Very specific: line 160
Follow the model assignments.
- Very specific: line 171
Follow docs/analysis-workflow.md and the runbook for selective releases.
- Distinctive: line 175
Use at most three active workers with the current four-slot Codex runtime, or a lower observed cap.
- Distinctive: line 178
Keep writing and auditing waves separate.
- Distinctive: line 181
Do not silently change models on dispatch failure.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Working in Management Research Notes
This folder is an academic knowledge base for management / business sustainability research. Read this file before doing anything in this folder.
What this project is
notes/is a Zettelkasten-style knowledge base — one Markdown file per academic paper, with YAML frontmatter for structured metadata and a markdown body for the analytic distillation (research question, mechanism, contribution, limitations, etc.).library/{Source}/{Year-Month}/pdfs/holds the original PDFs. Each has a siblingtext/folder with the extracted plain text.index/synapse.dbis a SQLite index derived fromnotes/. Same forindex/papers.csvandindex/library.bib. Never edit these by hand — they will be overwritten bytools/build_index.py.- The user is a researcher who will use these notes for literature reviews and theoretical development. Accuracy matters more than speed.
Hard rules
Never invent bibliographic fields. Title, authors, year, journal, DOI, volume/issue/pages — these come only from
library/.../manifest.tsv(the trusted source) or, if missing there, from CrossRef looked up by DOI. If a field is unknown, writeNot reported in paper. Never guess. The manifest is the trusted source but it is hand-entered and error-prone, so the project uses three CrossRef-based gates that bracket the pipeline:- Before extraction, populate (Tier 3, mandatory): run
python tools/populate_manifest.py library/<source>/<issue>/manifest.tsv --apply --fix-yearto upgrade the manifest withvolume,issue,pagescolumns from CrossRef and auto-correct any year mismatches againstpublished-print(APA 7 issue year). This is Step 0 of/synapse-ingestand prevents wrong-year/null-vol errors from ever propagating into note frontmatter. - Before extraction, validate (mandatory): run
python tools/lint_manifests.py --manifest library/<source>/<issue>/manifest.tsvto structurally audit each manifest row (heuristic checks onfirst_author_last,year,doi,saved_filename) and cross-checkfirst_author_lastagainst CrossRef's first-author family name. This is Step 0.5 of/synapse-ingestand catches the D'Amico bug class: a manifest row that is internally consistent but structurally wrong (e.g., full given+family name captured infirst_author_lastinstead of just the family name). v0.13.2 ran this linter for the first time and found 6 latent bugs that had been in the library since the original NBS-2026-02 ingestion. - After extraction (Tier 2, mandatory within the changed scope): run
python tools/verify_metadata.py --quiet --paper-id <PAPER_ID>for every changed note to cross-check bibliographic fields (year, title, journal, volume, issue, pages, authors) against CrossRef. For an issue or volume release, run the scoped check for every note in the changed scope. This is Step 4.5 of/synapse-ingest, the last gating step before commit. Do not treat full-library CrossRef as a ritual; reserve it for global metadata parsing/comparison changes, schema/indexer changes affecting metadata fields, batch migrations or global metadata transformations, suspected systemic metadata drift, stale or unreliable prior validation state, explicit user request, or a major public milestone where the network cost is justified. A narrow known-false-positive registry addition for a newly added paper is a scoped data exception, not a global logic change.
v0.11.1 fixed 48 issue-year mismatches (27% of the library) where the manifest had silently stored the online-first year — only an external cross-check surfaced this. v0.11.2 fixed 21 papers' missing volume/issue/pages by backfilling from CrossRef. v0.12.0 introduced Tier 3 (
populate_manifest.py) so future batches never need this kind of cleanup. v0.13.2 introducedlint_manifests.pyto catch structural manifest bugs that the other gates miss. All three required gates must exit 0 in their appropriate scope before committing new notes. The legacytools/verify_years.pyis preserved as a year-only alias and is equivalent toverify_metadata.py --field year.- Before extraction, populate (Tier 3, mandatory): run
- Verbatim means verbatim. The abstract must match the extracted PDF text under
the documented normalization. For layout interruptions, use the optional
PDF-derived abstract check, which reproduces a
hash-bound alternative from the same original PDF. Visually verify complete
boundaries and preserve original source files. Book reviews without standalone
abstracts retain the heading with
Not reported in paper. - Notes are the source of truth. If you need to fix a paper's metadata, re-run
the ingestion pipeline for that paper (
tools/ingest_batch.pyto rebuild its bundle, then re-extract the note). Don't editsynapse.dbdirectly. Don't edit a note's frontmatter by hand unless you are also planning to rebuild the index. Stable IDs. Every paper has a
paper_idlikenbs-2026-02-spoor-2026that is derived from{source-slug}-{year-month}-{first-author-slug}-{year}. Once assigned, it never changes. The note file isnotes/{paper_id}.md.Historical exception — the v0.13.x cleanup cohort (2026-05-12): 11 paper_ids were renamed in a single bounded cleanup pass after
slugify()was updated to fold diacritics and strip apostrophes (so "Soublière" →soubliereinstead ofsoubli-re, "D'Amico" →damicoinstead ofd-amico, etc.) AND aftertools/lint_manifests.pywas built and surfaced 6 additional manifest-population bugs of the same class. The cohort closed in two releases:- v0.13.1 (5 papers): renames surfaced by manual inspection during the slugify migration — Pérezts, Soublière, two Grégoire papers, D'Amico.
- v0.13.2 (6 papers): renames surfaced when
lint_manifests.pywas built and run for the first time — Anjier Chen, Chang Lu, Yuliya Snihur, Stella Seyb, Ahmed Sewaid, Nuno Clara (all had full given+family names captured in the manifest'sfirst_author_lastcolumn instead of just the family name).
This was a deliberate, bounded one-time cleanup pass taken when the library was small (197 notes) and had no known external citations by paper_id. The "cohort" framing matters: the right rule for future agents is "when you build a detector for a known bug class, run it once and fix everything it finds before declaring the cohort closed" — not "fix what you happened to notice manually." The 11-paper cohort is closed; future renames should be exceptional, well-justified, and explicitly documented. The rule's "once assigned, never changes" invariant remains in force for all post-v0.13.2 paper_ids.
- Validate before committing. After producing or editing a note, run
python tools/validate_note.py notes/<id>.mdand only proceed if it passes (or move the note toincoming/_flagged/with a.reason.txt). - One paper, one note. Never split a paper across multiple notes. Never merge two papers into one note.
- Faithfulness is checked, not assumed. Every v2 note must carry an
evidence:frontmatter block whose quotes are verbatim substrings of the PDF text (same two-pass normalization the abstract check uses). The Layer 1 substring check is mechanical and deterministic — fabricated anchors will failtools/validate_note.pyandtools/audit_note.pyidentically. Layer 2 uses a fresh, independent auditor context that scores the prose fields (research question, mechanism, theoretical contribution, practical implication, limitations, future research) against the PDF via the rubric atdocs/audit-rubric.md. The auditor must not be the same agent/session that wrote the note. When the audit is run by Codex or another external agent, write the Layer 2 verdict as provenance- checked JSON and assemble it withtools/audit_note.py --layer-2-json. v1 notes are exempt via anextraction_versiongate.
When the user asks "what's in the library?"
- For aggregate questions ("how many papers use stakeholder theory?"), query the SQLite
index:
sqlite3 index/synapse.db "SELECT theory, COUNT(*) FROM theories GROUP BY 1". - For specific lookups ("show me the Spoor 2026 paper"), use
Readonnotes/nbs-2026-02-spoor-2026.md. - For full-text search across abstracts and analytic fields, use the FTS5 virtual table
in SQLite, or
Grepovernotes/. - For literature-review work, pull the matching notes into context and synthesize from them. Always cite using the APA citation in each note's body — that's the trusted citation, with the DOI you can verify.
When ingesting a new PDF
- Run
tools/pdf_to_text.py <pdf>to produce a plain-text version. - Run
tools/prepare_paper.py <pdf>to look up the trusted bibliographic metadata from the manifest and produce an extraction bundle (text + bib + the canonical extraction prompt) inincoming/_bundles/. - Read the bundle, apply the extraction prompt to the text, and write the resulting
note to
notes/{paper_id}.mdusing theWritetool. The bundle tells you exactly whatpaper_idto use and what frontmatter is mandatory. Use the per-study source checks indocs/analysis-workflow.mdbefore drafting. - Run
python tools/validate_note.py notes/{paper_id}.md. If it fails, fix the note OR move it toincoming/_flagged/with a.reason.txtand report what went wrong. Before auditing, runpython tools/check_numbers.py notes/{paper_id}.mdand record parent raw-line verification of every advisory zero-hit token and every item markedrequires_raw_verification. - Run the two-layer faithfulness audit with an independent Layer 2 auditor.
Layer 1 substring-checks the
evidence:anchors against the PDF text. Layer 2 scores the prose fields (six on v1/v2 notes, nine on v3 — every AMJ note since the v3 backfill completed on 2026-09-10) againstdocs/audit-rubric.md. From v0.70.0 the writer is never a reader: use fresh blind holistic rubric-v3 and structured claims readers, with runtime-verified OpenAI model diversity when available, and parent raw-text adjudication before assembling every report before repairs (the Stage 1 exception follows the calibration rule). Follow the model assignments. Usegpt-6.2-astrafor writing and independent holistic review, andgpt-6.2-solfor claims verification. Use separate contexts atxhighand verify each worker's own runtime before analytical input. Stop on mismatch or unavailability. The independent holistic reader writesincoming/_audits/{paper_id}.layer2.jsonwith provenance fields. The parent assembles the official report withpython tools/audit_note.py notes/{paper_id}.md --layer-2-json incoming/_audits/{paper_id}.layer2.json --claims-json incoming/_audits/{paper_id}.claims.json --flag; the claims reader receives--claims-prompt-onlyand followsdocs/claims-verification.md. The old Claude CLI path remains an unused manual fallback in this OpenAI-only workflow. - Complete the hash-bound publication review in
docs/publication-readiness.md; then rebuild SQLite, CSV and BibTeX sequentially from the eligible note set. Followdocs/analysis-workflow.mdand the runbook for selective releases.
Parallel agent slot policy
Use at most three active workers with the current four-slot Codex runtime, or a lower observed cap. Writers own only their assigned note; readers own only their assigned Layer-2 or claims sidecar. The parent assembles reports and indexes. Keep writing and auditing waves separate. Record and re-read every return before dispatching another worker. This runtime has no close-agent operation: do not assume completed threads free a slot, and never reuse a writer context as a reader. Do not silently change models on dispatch failure.
Things that should make you stop and ask the user
- A field in the trusted manifest contradicts what the PDF text clearly says (e.g., the manifest year is 2025 but the PDF cover page says 2026). Don't silently pick one.
- The validator fails for the same reason on more than 3 papers in a single batch — this means the prompt or the validator needs to change, not the notes.
- A paper appears to be a dataset, a website snapshot, or otherwise not a peer-reviewed scholarly article. The pipeline is for scholarly articles only.
Things that are allowed without asking
- Re-running ingestion on a paper that already has a note (it should be deterministic;
the new note replaces the old one, and
extraction_versionis bumped if the prompt changed). - Updating
index/topics.jsonto add a new term to the controlled vocabulary, as long as the change is consistent with the user's research focus. - Creating new derived views in
index/(e.g., a CSV grouped by theory) — these are always rebuildable fromnotes/.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

