griot 0.0.2__tar.gz

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.
Files changed (52) hide show
  1. griot-0.0.2/.gitattributes +1 -0
  2. griot-0.0.2/.gitignore +120 -0
  3. griot-0.0.2/LICENSE +21 -0
  4. griot-0.0.2/PKG-INFO +78 -0
  5. griot-0.0.2/README.md +51 -0
  6. griot-0.0.2/griot/__init__.py +79 -0
  7. griot-0.0.2/griot/__main__.py +38 -0
  8. griot-0.0.2/griot/data/skills/griot/SKILL.md +85 -0
  9. griot-0.0.2/griot/data/style/README.md +33 -0
  10. griot-0.0.2/griot/data/style/anti-platitude-checklist.md +19 -0
  11. griot-0.0.2/griot/data/style/commentary-voice-guide.md +196 -0
  12. griot-0.0.2/griot/data/style/voices/_style-groups.md +66 -0
  13. griot-0.0.2/griot/data/style/voices/amanda-dobbins.md +26 -0
  14. griot-0.0.2/griot/data/style/voices/david-sims.md +26 -0
  15. griot-0.0.2/griot/data/style/voices/griffin-newman.md +25 -0
  16. griot-0.0.2/griot/data/style/voices/helen-molesworth.md +24 -0
  17. griot-0.0.2/griot/data/style/voices/hrishikesh-hirway.md +25 -0
  18. griot-0.0.2/griot/data/style/voices/jason-mantzoukas.md +25 -0
  19. griot-0.0.2/griot/data/style/voices/john-mcwhorter.md +28 -0
  20. griot-0.0.2/griot/data/style/voices/jon-caramanica.md +26 -0
  21. griot-0.0.2/griot/data/style/voices/june-diane-raphael.md +25 -0
  22. griot-0.0.2/griot/data/style/voices/karina-longworth.md +27 -0
  23. griot-0.0.2/griot/data/style/voices/katy-hessel.md +24 -0
  24. griot-0.0.2/griot/data/style/voices/louis-theroux.md +27 -0
  25. griot-0.0.2/griot/data/style/voices/mallory-rubin.md +28 -0
  26. griot-0.0.2/griot/data/style/voices/melvyn-bragg.md +29 -0
  27. griot-0.0.2/griot/data/style/voices/michael-barbaro.md +28 -0
  28. griot-0.0.2/griot/data/style/voices/nate-sloan-charlie-harding.md +25 -0
  29. griot-0.0.2/griot/data/style/voices/paul-scheer.md +25 -0
  30. griot-0.0.2/griot/data/style/voices/sean-fennessey.md +26 -0
  31. griot-0.0.2/griot/data/style/voices/talk-art.md +24 -0
  32. griot-0.0.2/griot/data/style/voices/yasi-salek.md +26 -0
  33. griot-0.0.2/griot/data/writers/general.md +23 -0
  34. griot-0.0.2/griot/data/writers/song.md +25 -0
  35. griot-0.0.2/griot/data/writers/technical.md +24 -0
  36. griot-0.0.2/griot/dossier.py +200 -0
  37. griot-0.0.2/griot/gates.py +152 -0
  38. griot-0.0.2/griot/research/__init__.py +159 -0
  39. griot-0.0.2/griot/research/genius.py +223 -0
  40. griot-0.0.2/griot/research/lrclib.py +100 -0
  41. griot-0.0.2/griot/research/wikipedia.py +166 -0
  42. griot-0.0.2/griot/style.py +55 -0
  43. griot-0.0.2/griot/tools.py +144 -0
  44. griot-0.0.2/griot/writers.py +599 -0
  45. griot-0.0.2/pyproject.toml +192 -0
  46. griot-0.0.2/tests/__init__.py +0 -0
  47. griot-0.0.2/tests/conftest.py +79 -0
  48. griot-0.0.2/tests/test_cli.py +49 -0
  49. griot-0.0.2/tests/test_gates.py +53 -0
  50. griot-0.0.2/tests/test_packaging.py +50 -0
  51. griot-0.0.2/tests/test_research.py +109 -0
  52. griot-0.0.2/tests/test_writers.py +148 -0
@@ -0,0 +1 @@
1
+ *.ipynb linguist-documentation
griot-0.0.2/.gitignore ADDED
@@ -0,0 +1,120 @@
1
+ .claude/handoffs/
2
+ .claude/scratch/
3
+
4
+ # Byte-compiled / optimized / DLL files
5
+ __pycache__/
6
+ *.py[cod]
7
+ *$py.class
8
+
9
+
10
+ .DS_Store
11
+ # C extensions
12
+ *.so
13
+
14
+ # TLS certificates
15
+ ## Ignore all PEM files anywhere
16
+ *.pem
17
+ ## Also ignore any certs directory
18
+ certs/
19
+
20
+ # Distribution / packaging
21
+ .Python
22
+ build/
23
+ develop-eggs/
24
+ dist/
25
+ downloads/
26
+ eggs/
27
+ .eggs/
28
+ lib/
29
+ lib64/
30
+ parts/
31
+ sdist/
32
+ var/
33
+ wheels/
34
+ *.egg-info/
35
+ .installed.cfg
36
+ *.egg
37
+ MANIFEST
38
+ _build
39
+
40
+ # PyInstaller
41
+ # Usually these files are written by a python script from a template
42
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
43
+ *.manifest
44
+ *.spec
45
+
46
+ # Installer logs
47
+ pip-log.txt
48
+ pip-delete-this-directory.txt
49
+
50
+ # Unit test / coverage reports
51
+ htmlcov/
52
+ .tox/
53
+ .coverage
54
+ .coverage.*
55
+ .cache
56
+ nosetests.xml
57
+ coverage.xml
58
+ *.cover
59
+ .hypothesis/
60
+ .pytest_cache/
61
+
62
+ # Translations
63
+ *.mo
64
+ *.pot
65
+
66
+ # Django stuff:
67
+ *.log
68
+ local_settings.py
69
+ db.sqlite3
70
+
71
+ # Flask stuff:
72
+ instance/
73
+ .webassets-cache
74
+
75
+ # Scrapy stuff:
76
+ .scrapy
77
+
78
+ # Sphinx documentation
79
+ docs/_build/
80
+ docs/*
81
+
82
+ # PyBuilder
83
+ target/
84
+
85
+ # Jupyter Notebook
86
+ .ipynb_checkpoints
87
+
88
+ # pyenv
89
+ .python-version
90
+
91
+ # celery beat schedule file
92
+ celerybeat-schedule
93
+
94
+ # SageMath parsed files
95
+ *.sage.py
96
+
97
+ # Environments
98
+ .env
99
+ .venv
100
+ env/
101
+ venv/
102
+ ENV/
103
+ env.bak/
104
+ venv.bak/
105
+
106
+ # Spyder project settings
107
+ .spyderproject
108
+ .spyproject
109
+
110
+ # Rope project settings
111
+ .ropeproject
112
+
113
+ # mkdocs documentation
114
+ /site
115
+
116
+ # mypy
117
+ .mypy_cache/
118
+
119
+ # PyCharm
120
+ .idea
griot-0.0.2/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Thor Whalen
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
griot-0.0.2/PKG-INFO ADDED
@@ -0,0 +1,78 @@
1
+ Metadata-Version: 2.5
2
+ Name: griot
3
+ Version: 0.0.2
4
+ Summary: Research a subject and write a spoken commentary script for it — reusable writers for braidio productions
5
+ Project-URL: Homepage, https://github.com/thorwhalen/griot
6
+ Project-URL: Repository, https://github.com/thorwhalen/griot
7
+ Project-URL: Documentation, https://thorwhalen.github.io/griot
8
+ Author: Thor Whalen
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ Keywords: braidio,commentary,podcast,research,script,tts,video-essay,writer
12
+ Requires-Python: >=3.10
13
+ Requires-Dist: beautifulsoup4
14
+ Requires-Dist: braidio
15
+ Requires-Dist: falaw
16
+ Requires-Dist: httpx
17
+ Provides-Extra: cli
18
+ Requires-Dist: cw<0.2,>=0.1.1; extra == 'cli'
19
+ Provides-Extra: dev
20
+ Requires-Dist: pytest-cov>=4.0; extra == 'dev'
21
+ Requires-Dist: pytest>=7.0; extra == 'dev'
22
+ Requires-Dist: ruff>=0.1.0; extra == 'dev'
23
+ Provides-Extra: docs
24
+ Requires-Dist: sphinx-rtd-theme>=1.0; extra == 'docs'
25
+ Requires-Dist: sphinx>=6.0; extra == 'docs'
26
+ Description-Content-Type: text/markdown
27
+
28
+ # griot
29
+
30
+ Research a subject, then write the spoken commentary about it — reusable, parametrized **writers** for [braidio](https://github.com/thorwhalen/braidio) productions.
31
+
32
+ A griot knows the record and performs it. `griot` does the two halves that come *before* a production is voiced: **research** (free, tokenless fetchers that turn a topic into a dossier of sourced evidence) and **writing** (named writers that turn the dossier into a gated `braidio.Script`, plus one picture hint per beat for the film that goes over it).
33
+
34
+ ```bash
35
+ pip install griot
36
+ ```
37
+
38
+ ```python
39
+ import griot
40
+
41
+ w = griot.get_writer("song") # general | technical | song
42
+ dossier = griot.research(
43
+ "The Sound of Silence by Simon & Garfunkel", researchers=w.researchers
44
+ )
45
+ q = griot.quote(w, dossier, minutes=3) # priced before anything runs
46
+ draft = griot.write(
47
+ w, dossier, minutes=3
48
+ ) # one LLM call (+ one gated revision), cached
49
+ draft.script # a braidio.Script — voice it with braidio.weave_project
50
+ draft.picture_hints # one per beat, with why
51
+ draft.ok, draft.report # the gates' verdict and findings
52
+ ```
53
+
54
+ Or from the shell: `python -m griot write "Trinity Church Manhattan" --writer general --out draft.json` (`--fake` runs the whole path with no key and no spend).
55
+
56
+ ## Why writers
57
+
58
+ Three commentary films were written by a frontier model in a session, from Genius annotations, Wikipedia and LRCLIB timings, and rewritten after two complaints that each came with a measurement: too many designed turns of phrase reads as machine-written (*kitsch*), too few `[audio tags]` reads as flat (*somniferous*). A writer here is that craft, made reusable: a brief, a braidio format's own scripting guidance, two to four critic voices blended from a style library, the anti-platitude checklist, the house rules, and gates that send a draft back once before it is voiced.
59
+
60
+ | writer | for | researchers |
61
+ |---|---|---|
62
+ | `general` | any subject — a book, a film, a place, a person, an idea | wikipedia |
63
+ | `technical` | how a mechanism, method or result works | wikipedia |
64
+ | `song` | one song: what it says, how it is built, the recording's story | genius, wikipedia, lrclib |
65
+
66
+ A fourth writer is one Markdown file in `griot/data/writers/`, or `griot.register_writer(griot.Writer(...))`.
67
+
68
+ ## Research
69
+
70
+ Every fact carries its source URL. What could not be found is recorded and the writer is told — it never substitutes the nearest match. `wikipedia` needs nothing; `lrclib` needs `"<song> by <artist>"`; `genius` works through the official API when `GENIUS_ACCESS_TOKEN` is set and records a miss otherwise (its tokenless public API is refused by Cloudflare as of 2026-09-25 — lyrics then come from LRCLIB, annotations are unavailable).
71
+
72
+ ## Cost
73
+
74
+ `quote()` composes the exact falaw plan `write()` runs, so the price is known before the call, an unpriced model reads as *unknown* rather than free, and the call is content-cached — the same inputs never bill twice.
75
+
76
+ ## Where it sits
77
+
78
+ griot → `braidio.Script` → **braidio** voices it → **illustration** finds the pictures the hints ask for → **braidio**'s picture track cuts the film → **reelee** runs all of it as one job from the studio. griot imports braidio and falaw; nothing imports griot but the application layer.
griot-0.0.2/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # griot
2
+
3
+ Research a subject, then write the spoken commentary about it — reusable, parametrized **writers** for [braidio](https://github.com/thorwhalen/braidio) productions.
4
+
5
+ A griot knows the record and performs it. `griot` does the two halves that come *before* a production is voiced: **research** (free, tokenless fetchers that turn a topic into a dossier of sourced evidence) and **writing** (named writers that turn the dossier into a gated `braidio.Script`, plus one picture hint per beat for the film that goes over it).
6
+
7
+ ```bash
8
+ pip install griot
9
+ ```
10
+
11
+ ```python
12
+ import griot
13
+
14
+ w = griot.get_writer("song") # general | technical | song
15
+ dossier = griot.research(
16
+ "The Sound of Silence by Simon & Garfunkel", researchers=w.researchers
17
+ )
18
+ q = griot.quote(w, dossier, minutes=3) # priced before anything runs
19
+ draft = griot.write(
20
+ w, dossier, minutes=3
21
+ ) # one LLM call (+ one gated revision), cached
22
+ draft.script # a braidio.Script — voice it with braidio.weave_project
23
+ draft.picture_hints # one per beat, with why
24
+ draft.ok, draft.report # the gates' verdict and findings
25
+ ```
26
+
27
+ Or from the shell: `python -m griot write "Trinity Church Manhattan" --writer general --out draft.json` (`--fake` runs the whole path with no key and no spend).
28
+
29
+ ## Why writers
30
+
31
+ Three commentary films were written by a frontier model in a session, from Genius annotations, Wikipedia and LRCLIB timings, and rewritten after two complaints that each came with a measurement: too many designed turns of phrase reads as machine-written (*kitsch*), too few `[audio tags]` reads as flat (*somniferous*). A writer here is that craft, made reusable: a brief, a braidio format's own scripting guidance, two to four critic voices blended from a style library, the anti-platitude checklist, the house rules, and gates that send a draft back once before it is voiced.
32
+
33
+ | writer | for | researchers |
34
+ |---|---|---|
35
+ | `general` | any subject — a book, a film, a place, a person, an idea | wikipedia |
36
+ | `technical` | how a mechanism, method or result works | wikipedia |
37
+ | `song` | one song: what it says, how it is built, the recording's story | genius, wikipedia, lrclib |
38
+
39
+ A fourth writer is one Markdown file in `griot/data/writers/`, or `griot.register_writer(griot.Writer(...))`.
40
+
41
+ ## Research
42
+
43
+ Every fact carries its source URL. What could not be found is recorded and the writer is told — it never substitutes the nearest match. `wikipedia` needs nothing; `lrclib` needs `"<song> by <artist>"`; `genius` works through the official API when `GENIUS_ACCESS_TOKEN` is set and records a miss otherwise (its tokenless public API is refused by Cloudflare as of 2026-09-25 — lyrics then come from LRCLIB, annotations are unavailable).
44
+
45
+ ## Cost
46
+
47
+ `quote()` composes the exact falaw plan `write()` runs, so the price is known before the call, an unpriced model reads as *unknown* rather than free, and the call is content-cached — the same inputs never bill twice.
48
+
49
+ ## Where it sits
50
+
51
+ griot → `braidio.Script` → **braidio** voices it → **illustration** finds the pictures the hints ask for → **braidio**'s picture track cuts the film → **reelee** runs all of it as one job from the studio. griot imports braidio and falaw; nothing imports griot but the application layer.
@@ -0,0 +1,79 @@
1
+ """griot — research a subject, then write the spoken commentary about it.
2
+
3
+ A griot knows the record and performs it. This package does the two halves
4
+ that sit *before* a braidio production: **research** (tokenless fetchers that
5
+ turn a topic into a :class:`Dossier` of sourced evidence) and **writing**
6
+ (reusable, parametrized :class:`Writer` objects that turn a dossier into a
7
+ gated ``braidio.Script`` plus one picture hint per beat). The output is what
8
+ ``braidio.weave_project`` voices and what a picture track is planned over.
9
+
10
+ Shortest path::
11
+
12
+ import griot
13
+
14
+ w = griot.get_writer("song")
15
+ dossier = griot.research("The Sound of Silence by Simon & Garfunkel", researchers=w.researchers)
16
+ q = griot.quote(w, dossier, minutes=3) # priced before anything runs
17
+ draft = griot.write(w, dossier, minutes=3) # one LLM call (+ one gated revision), cached
18
+ draft.script # a braidio.Script
19
+ draft.picture_hints # one per beat, with why
20
+ draft.report # the gates' findings, empty when it passed
21
+
22
+ The LLM path is ``falaw`` (fal any-llm), so the price is on the plan and the
23
+ call is content-cached; ``write(..., complete=fake)`` replaces it for tests.
24
+ """
25
+
26
+ from .dossier import Annotation, Dossier, Fact, Source, TimedLine, merge
27
+ from .gates import Finding, GateReport, run_gates
28
+ from .research import RESEARCHERS, Http, HttpxHttp, register_researcher, research
29
+ from .style import checklist, list_voices, voice_card
30
+ from .writers import (
31
+ DEFAULT_MODEL,
32
+ WRITERS,
33
+ Draft,
34
+ PictureHint,
35
+ Quote,
36
+ Writer,
37
+ build_prompt,
38
+ draft_from_reply,
39
+ get_writer,
40
+ plan_write,
41
+ quote,
42
+ register_writer,
43
+ write,
44
+ writer_from_markdown,
45
+ )
46
+
47
+ __all__ = [
48
+ "Annotation",
49
+ "DEFAULT_MODEL",
50
+ "Dossier",
51
+ "Draft",
52
+ "Fact",
53
+ "Finding",
54
+ "GateReport",
55
+ "Http",
56
+ "HttpxHttp",
57
+ "PictureHint",
58
+ "Quote",
59
+ "RESEARCHERS",
60
+ "Source",
61
+ "TimedLine",
62
+ "WRITERS",
63
+ "Writer",
64
+ "build_prompt",
65
+ "checklist",
66
+ "draft_from_reply",
67
+ "get_writer",
68
+ "list_voices",
69
+ "merge",
70
+ "plan_write",
71
+ "quote",
72
+ "register_researcher",
73
+ "register_writer",
74
+ "research",
75
+ "run_gates",
76
+ "voice_card",
77
+ "write",
78
+ "writer_from_markdown",
79
+ ]
@@ -0,0 +1,38 @@
1
+ """``python -m griot`` — the CLI over :mod:`griot.tools`, via ``cw``.
2
+
3
+ python -m griot writers
4
+ python -m griot research "The Sound of Silence" --writer song
5
+ python -m griot quote "The Sound of Silence" --writer song --minutes 3
6
+ python -m griot write "The Sound of Silence" --writer song --minutes 3 --out draft.json
7
+ python -m griot write "Trinity Church Manhattan" --fake # no key, no spend
8
+ """
9
+
10
+ from __future__ import annotations
11
+
12
+ import json
13
+ import sys
14
+
15
+ from . import tools
16
+
17
+
18
+ def _print_json(result, *, out=None, err=None) -> None:
19
+ if result is not None:
20
+ print(json.dumps(result, ensure_ascii=False, indent=2), file=out or sys.stdout)
21
+
22
+
23
+ def main(argv: list[str] | None = None) -> int:
24
+ """Dispatch a verb; cw prints the JSON result and returns the exit code."""
25
+ try:
26
+ import cw
27
+ except ImportError: # pragma: no cover - cli extra not installed
28
+ print("install the CLI extra: pip install 'griot[cli]'", file=sys.stderr)
29
+ return 2
30
+ return cw.dispatch(
31
+ [tools.writers, tools.research, tools.quote, tools.write],
32
+ argv=argv,
33
+ egress=_print_json,
34
+ )
35
+
36
+
37
+ if __name__ == "__main__": # pragma: no cover
38
+ raise SystemExit(main())
@@ -0,0 +1,85 @@
1
+ ---
2
+ name: griot
3
+ description: >
4
+ Research a subject and write the spoken commentary script about it, with a
5
+ reusable writer (general, technical, song) — the step BEFORE a braidio
6
+ production is voiced. Use when someone wants a script written from a topic:
7
+ "write a commentary about <song/book/film/idea>", "research X and draft the
8
+ narration", "what would this cost to write and voice", "give me a dossier on
9
+ X", "which writer should do this", "add a writer". Free, tokenless research
10
+ (Wikipedia, Genius, LRCLIB) into a sourced dossier; one priced, cached LLM
11
+ call into a gated braidio.Script plus a picture hint per beat. Not for
12
+ voicing (braidio), pictures (illustration) or the film (braidio-commentary-video).
13
+ ---
14
+
15
+ # griot
16
+
17
+ A griot knows the record and performs it. This package does the two halves that come *before* braidio: **research** a topic into evidence, then **write** the commentary from that evidence with a named, reusable writer.
18
+
19
+ ```bash
20
+ pip install griot # braidio + falaw + httpx + bs4
21
+ python -m griot writers # the three shipped writers
22
+ ```
23
+
24
+ ## Shortest path
25
+
26
+ ```python
27
+ import griot
28
+
29
+ w = griot.get_writer("song") # general | technical | song
30
+ dossier = griot.research(
31
+ "The Sound of Silence by Simon & Garfunkel", researchers=w.researchers
32
+ )
33
+ q = griot.quote(
34
+ w, dossier, minutes=3
35
+ ) # priced BEFORE anything runs: q.total_usd, q.has_unknown_costs
36
+ draft = griot.write(
37
+ w, dossier, minutes=3
38
+ ) # one LLM call (+ at most one gated revision), content-cached
39
+ draft.script # a braidio.Script — hand it to braidio.weave_project / render_format
40
+ draft.picture_hints # one per beat: query, subject label, why — the picture track's provenance
41
+ draft.report # the gates' findings; empty when it passed
42
+ draft.ok # False means: read the report, do not voice it yet
43
+ ```
44
+
45
+ CLI: `python -m griot quote "<topic>" --writer song --minutes 3`, `python -m griot write "<topic>" --writer general --out draft.json`, and `--fake` to run the whole path with no key and no spend.
46
+
47
+ ## What a writer is
48
+
49
+ A `Writer` is **data**: a brief (how it writes and what it looks for), a braidio `format_id` whose `scripting` guidance it inherits, 2–4 critic voices it *blends* from the style library (never impersonates one), the researchers it sends out first, a word budget, a gate list, a model. The three shipped ones are `griot/data/writers/*.md` — front matter plus the brief. Another writer is one Markdown file, or `register_writer(Writer(...))` in process.
50
+
51
+ | writer | for | researchers | voices blended |
52
+ |---|---|---|---|
53
+ | `general` | any subject — a book, a film, a place, a person, an idea | wikipedia | Barbaro, Longworth, Bragg |
54
+ | `technical` | how a mechanism, method or result works | wikipedia | McWhorter, Bragg, Hirway |
55
+ | `song` | one song: what it says, how it is built, the recording's story | genius, wikipedia, lrclib | Sloan & Harding, Caramanica, Hirway, Rubin |
56
+
57
+ The prompt every writer assembles: its brief → the voice cards → the anti-platitude checklist → the format's scripting guidance → the house rules → the job (minutes, word budget, angle) → the dossier as a flat evidence brief → a strict JSON contract. The house rules are the ones real episodes were sent back for: ≤2 designed epigrams per 3 minutes; 2–5 varied `[audio tags]` per 100 words; documented fact to a second "record" voice; lyrics only as brief attributed fragments; never impersonate; every claim from the dossier or say it is unknown.
58
+
59
+ ## Research
60
+
61
+ `research(topic, researchers=(...))` runs named fetchers in order and merges. Each fact carries its source URL; what could not be found goes under `missing`, and the writer is *told* — it never substitutes the nearest match ("Actually Sweet" does not resolve to "Actually Romantic").
62
+
63
+ - **wikipedia** — search, summary, lead extract. Write a song as `"<song> by <artist>"`; the artist disambiguates the album from the song.
64
+ - **genius** — song search, lyrics, per-line annotations. Set `GENIUS_ACCESS_TOKEN` (a Client Access Token from genius.com/api-clients) to use the official API. **Without it, the tokenless public API is refused by Cloudflare as of 2026-09-25** and the researcher records the miss; annotations are then unavailable.
65
+ - **lrclib** — synced lyric timings *and* plain lyrics, so a song still has its lyric sheet when Genius is blocked. Needs `<song> by <artist>` or a prior resolution.
66
+
67
+ A researcher that fails (a 403, a timeout) is recorded under `missing`; the others still run.
68
+
69
+ ## The gates, and what to do when a draft fails
70
+
71
+ `draft.report.findings` names each failure in words the writer acts on, and `write` sends them back for one bounded revision by default (`Writer.max_revisions`). A draft that still fails is **returned with its report**, `draft.ok == False`. Read it: `platitudes` (braidio's tic audit), `expressiveness` (tag density band), `lyric_leak` (a whole lyric line verbatim), `length` (±30% of the budget the price was quoted on), `shape` (≥3 beats, a picture hint per beat). Voicing an `ok == False` draft is a choice, not an accident.
72
+
73
+ ## Cost
74
+
75
+ `quote()` composes the same falaw plan `write()` would run, so `llm_usd` is the plan's own ceiling × (1 + revisions), and `tts_usd` is braidio's TTS rate on the word budget. An unpriced model gives `llm_unknown=True` and `has_unknown_costs=True` — **unknown is never zero**; gate on the flag. The LLM call is content-cached by falaw: the same writer, dossier and minutes never bill twice.
76
+
77
+ ## Seams
78
+
79
+ - `write(..., complete=fn)` — any `(plan) -> (reply_text, cost_usd)`; tests and dry runs use it. `Writer.model` — any fal any-llm id in falaw's rate table.
80
+ - `research(..., http=obj)` — anything with `.json(url, params=, headers=)` / `.text(...)`; tests use an in-memory fake.
81
+ - `register_researcher(name)` / `register_writer(Writer)` — more sources, more writers.
82
+
83
+ ## Where this stops
84
+
85
+ griot hands over a `braidio.Script` and picture hints. Voicing is **braidio** (`weave_project`, `render_format`); finding the pictures is **illustration**; the film over them is the **braidio-commentary-video** skill; the studio flow that runs all of it is **reelee** (`commentary.create`).
@@ -0,0 +1,33 @@
1
+ # braidio commentary style library
2
+
3
+ Style guidance the writing agent routes to — so commentary avoids rhetorical
4
+ emptiness and can borrow real critical voices (each shaping BOTH *how* the host
5
+ writes and *what* it pays attention to).
6
+
7
+ - **[commentary-voice-guide.md](commentary-voice-guide.md)** — tics to avoid, style axes, how to route/mix voices
8
+ - **[anti-platitude-checklist.md](anti-platitude-checklist.md)** — paste-in DO-NOTs for a writer prompt
9
+ - **[voices/_style-groups.md](voices/_style-groups.md)** — domain style groups (fallback routing)
10
+
11
+ ## Per-voice reference files
12
+
13
+ - [Amanda Dobbins](voices/amanda-dobbins.md) — Film / pop-culture commentary
14
+ - [David Sims](voices/david-sims.md) — Film criticism
15
+ - [Griffin Newman](voices/griffin-newman.md) — Film podcasting / director-filmography deep dives
16
+ - [Helen Molesworth](voices/helen-molesworth.md) — Contemporary-art curation and criticism — feminist, labor-focused art
17
+ - [Hrishikesh Hirway](voices/hrishikesh-hirway.md) — Music / songwriting-craft podcasting
18
+ - [Jason Mantzoukas](voices/jason-mantzoukas.md) — Comedy podcasting / bad-movie criticism
19
+ - [John McWhorter](voices/john-mcwhorter.md) — Linguistics, language and cultural commentary, Broadway/American music
20
+ - [Jon Caramanica](voices/jon-caramanica.md) — Pop-music criticism
21
+ - [June Diane Raphael](voices/june-diane-raphael.md) — Comedy podcasting / bad-movie criticism
22
+ - [Karina Longworth](voices/karina-longworth.md) — Film history / narrative nonfiction podcasting
23
+ - [Katy Hessel](voices/katy-hessel.md) — Art history / broadcasting — recuperative history of women artists
24
+ - [Louis Theroux](voices/louis-theroux.md) — Immersive documentary filmmaking and interviewing; broadcasting; memoi
25
+ - [Mallory Rubin](voices/mallory-rubin.md) — Pop-culture criticism and podcasting — exuberant, literary close-readi
26
+ - [Melvyn Bragg](voices/melvyn-bragg.md) — Radio/broadcast host and cultural critic — erudite academic roundtable
27
+ - [Michael Barbaro](voices/michael-barbaro.md) — Narrative-interview audio journalism — host of The New York Times' "Th
28
+ - [Nate Sloan & Charlie Harding](voices/nate-sloan-charlie-harding.md) — Music / popular-music musicology
29
+ - [Paul Scheer](voices/paul-scheer.md) — Comedy podcasting / bad-movie criticism
30
+ - [Russell Tovey & Robert Diament (Talk Art)](voices/talk-art.md) — Podcast art conversation — actor + gallerist duo democratizing contemp
31
+ - [Sean Fennessey](voices/sean-fennessey.md) — Film / movie-industry commentary
32
+ - [Yasi Salek](voices/yasi-salek.md) — Music / band deep-dives & fandom
33
+
@@ -0,0 +1,19 @@
1
+ # Anti-platitude checklist (paste into writer prompts)
2
+
3
+ Crisp DO-NOTs distilled from the guide — drop straight into a writing-agent prompt.
4
+
5
+ 1. DO NOT open or pivot a beat with 'Listen to / notice / watch / catch how…' — just make the observation. Reserve an explicit audio cue for the 2–3 moments per episode where the clip plays BEFORE you interpret it, and never for something you're about to explain anyway.
6
+ 2. DO NOT use the chiasmus flip ('the X that did Y is the X that does Z') more than once per episode, and never let the same noun anchor it in adjacent episodes — hold the two facts side by side without the mirror and let the listener assemble the irony.
7
+ 3. DO NOT frame a point as 'It's not A — it's B' unless A is a reading someone actually holds. If deleting 'It's not A —' leaves the sentence just as clear, A is a straw man: cut it and state B directly.
8
+ 4. DO NOT assert compression ('that's the whole marriage in one line,' 'the thesis in seven words'). Quote the line, land ONE precise consequence, and let the listener supply the 'whole' — that click is the payoff.
9
+ 5. DO NOT end every episode on a hushed symmetrical aphorism or a terminal sentence fragment. Rotate exits across the series — a hard concrete fact, an unresolved question, the last clip with almost no words — and only crystallize something the episode hasn't already said.
10
+ 6. DO NOT use 'Here's…' as a default connective. Audit and cut or vary at least two-thirds; introduce book passages by what the author DOES, or quote cold with no runway.
11
+ 7. DO NOT name the rhetorical machinery out loud ('the turn,' 'the tell,' 'the button,' 'his trick'). Deliver the effect instead of labeling the mechanism; the listener feels the tell without the word.
12
+ 8. DO NOT pre-announce a close reading ('two meanings of one word, back to back'). Place the two uses next to each other and pause. Only spotlight a single word when it genuinely carries the double load — don't manufacture one every episode.
13
+ 9. DO NOT issue immersion commands ('Picture the room,' 'sit in their chairs'). Write the concrete sensory detail that makes the listener picture it involuntarily; if the detail is strong you never have to ask.
14
+ 10. DO NOT default to stacked sentence fragments for gravity — especially the terminal three-fragment cadence. Treat the fragment as spice: one per episode, surrounded by full sentences, so it actually spikes.
15
+ 11. DO NOT flag borrowed phrases with 'his word, not mine' or lean on 'Chernow calls it X' for your key formulation. Use the borrowed phrase clean, and make sure each episode's central insight is in your own words — the book supplies evidence, you supply the formulation.
16
+ 12. DO NOT weld two moments together by asserting 'same man, same gift / same instinct.' Lay the events side by side and let the sameness be the listener's inference — and actively hunt for the case where the through-line DOESN'T fit cleanly.
17
+ 13. DO NOT deliver every callback in the flat 'Earlier X, now Y' scaffold. Vary the reveal — sometimes drop the earlier line unflagged, sometimes play both clips back-to-back and say almost nothing.
18
+ 14. DO NOT spend an evaluative adjective ('brilliant,' 'masterful,' 'devastating,' 'stunning') where you can point to the exact line, chord, cut, or beat that provoked it. If you can't point to the particular, you don't have the observation yet — you have a placeholder.
19
+ 15. DO NOT let any move do the feeling FOR the listener. Show the mechanism, undersell rather than over-italicize, cut the pre-chewed takeaway, and stop one sentence earlier than feels safe.