oliver-zehentleitner / maity

docs: the read cap for maity gh --body-file is 65536 bytes, not 10 MiB

Sign in to report

tsk-gd95ezf2w9ra Open

Found by 47me in A1034 (relayed by a4xv, seq 150452); already on main since 786d04c990, not from #1917.

docs/api.md:17450 and cli/context/runner.md:3157 (KTW 783e476c-3975-43de-9c4e-7c3a5da57be7) say every file maity reads for an agent is "at most 10 MiB". For maity gh pr create --body-file the cap is 65536 bytes (cli/src/maity/ghpr.py:33).

Fix the sentences so each states the cap that actually applies per read path (10 MiB in general; 65536 bytes for a gh body file), and check every other place that names a read cap (cli/README.md, docs/agents.md) against the code. Add a test that pins the gh body cap if none exists. Docs/KTW-only otherwise.