Options of loom period-digest, reextract, reconcile-status and demote-activity-narration print no help text
Maintainers usually reply within 1 day
@VanshajPoonia is already working on this.
Since Dec 2, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
Research direction
Read the four command definitions in server/cli/maintenance.py and compare their existing help= strings with the options listed in the issue. Add descriptions that state each option’s purpose and relevant default. Regenerate tests/unit/snapshots/cli_tree.json and cli_help.json under Python 3.12, then run the CLI snapshot test and python scripts/codegen/docs_reference.py --check; done when both pass and snapshot changes contain only help text.
Written by the indexing model from the issue text.
Description
Company
ClickHouse
Component
CLI
Describe what's wrong
Four memory maintenance commands have options that print no description in --help. Each command's other options already have one:
| Command | Options with no help text |
|---|---|
loom demote-activity-narration |
--org, --namespace, --action |
loom reextract |
--org, --base-url, --concurrency |
loom reconcile-status |
--org, --limit |
loom period-digest |
--org, --namespace, --max-identities, --max-periods |
All of them are defined in server/cli/maintenance.py.
Does it reproduce on the latest release or main?
Yes
How to reproduce
loom period-digest --help
loom reextract --help
Expected behavior
Every option in the table has a short help= string in the lower-case style of the options beside it (--days on demote-activity-narration: "read-by-name protection window"), naming the default where it matters. What each option does, and where to confirm it:
--orgon all four, and--namespaceondemote-activity-narrationandperiod-digest: the org and the namespace the command reads and writes. Onreextract,--namespaceis already "Source namespace (read only)", so--orgthere is the org of both the source and--into.demote-activity-narration --action:demotelowers each matched fact's confidence to a quarter,labeltags it instead (defaultdemote; the command's own help andapplyinserver/memory/app/activity_trivia_cleanup.py).reextract --base-url: the running server the sessions are posted to (defaultLOOM_BASE_URL, elsehttp://127.0.0.1:7777).--concurrency: sessions posted at once (default 2;replayinserver/memory/app/reextract.py).reconcile-status --limit: the most diverged identity rows read per namespace (default 5000). Rows held back for the Postgres authority count against it (reconcile_embedding_statusinserver/memory/store/embeddings.py).period-digest --max-identities: the most identities planned in one run, those with the most session digests first (default 50;_fetch_namespacesinserver/memory/app/period_digest.py).--max-periods: the most periods written per identity (default 50).
Only the help strings change, not the options' names, defaults or behaviour.
How to make the change:
- Add the
help=strings inserver/cli/maintenance.py. - Regenerate the CLI snapshots under Python 3.12, the version CI runs (argparse output differs between versions):
LOOM_UPDATE_CLI_SNAPSHOT=1 python -m pytest tests/unit/test_cli_surface_snapshot.py. This rewritestests/unit/snapshots/cli_tree.jsonandcli_help.json; commit both, and check that every changed line is a help string. - Run
python -m pytest tests/unit/test_cli_surface_snapshot.pyandpython scripts/codegen/docs_reference.py --check. Both should pass.
Error message and logs
$ loom period-digest --help
...
--org ORG
--namespace NAMESPACE
--sessions SESSIONS digests per period (K)
--max-identities MAX_IDENTITIES
--max-periods MAX_PERIODS
Environment
main at d850bba919, Python 3.12
Related issues and pull requests
Related: https://github.com/ClickHouse/loom/issues/1941
Related: https://github.com/ClickHouse/loom/issues/1945
How this was found
An AI tool helped find it, and I reproduced it myself
Redaction
- I removed tokens, keys, passwords and personal or customer data from everything above.
- Dominant language
- Python
- Stars
- 263
- Forks
- 47
- Avg merge
- 14h 21m
- Merged PRs (30d)
- 873
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ClickHouse/loom
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
ClickHouse/loom#2014 ·
Maintainers usually reply within 1 day
-
A compiler-tier checkout fetch from a shallow mirror never records its headPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
ClickHouse/loom#2016 ·
Maintainers usually reply within 1 day
-
Delta workers fetch the compiler-tier checkout under a hard-coded 600 s limitPossibly taken @KaloyanNaumov claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
ClickHouse/loom#2012 ·
Maintainers usually reply within 1 day
-
loom participant retire cannot retire an orphaned participant after container replacement or host rebootPossibly taken @l0K1ngg claimed this today. Openbug help wanted up-for-grabs
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ClickHouse/loom#2007 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 40/100
ClickHouse/loom#2001 ·
Maintainers usually reply within 1 day
Similar issues
-
DMB documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ubuntu/ubuntu-project-docs#921 ·
Maintainers usually reply within 1 day
-
⏳ Pending feedback 🐛 Bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
jumpserver/jumpserver#18282 · 1 comment ·
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
future-agi/future-agi#5274 ·
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day