Commit Graph

29 Commits

Author SHA1 Message Date
a9c4995c5c docs: allow agents to manage PRs while keeping main push-protected
Clarify in docs/agent_collaboration.md, AGENTS.md, and CONTRIBUTING.md
that agents may open, change, merge, and close pull requests on separate
branches, while keeping the strict rule that nobody (human or agent)
ever pushes directly to main.
2026-12-01 11:37:19 -05:00
64ec184069 docs: prohibit direct pushes to main
Document clearly in CONTRIBUTING.md, AGENTS.md, and
docs/agent_collaboration.md that contributors, maintainers, and coding
agents must never push directly to main and must always use a separate
branch and pull request so every change goes through CI and review.
2026-12-01 11:27:57 -05:00
8246772326 docs: deduplicate AGENTS/CONTRIBUTING and consolidate descriptor_lookup docs 2026-12-01 07:53:33 -05:00
457735ca8a docs: fix stale repo references and add coding-agent engineering bar 2026-12-01 07:44:31 -05:00
6239a99170 docs: ask for a negative control and a checked instrument in AGENTS.md
The guide asks an agent to measure, count over the corpus and quote where a
claim comes from. It does not ask for the two things that decide whether a
measurement means anything, and this repository's pull requests have been
reviewed with green tests that proved nothing as a result:

- a new test must be shown to FAIL without the fix - on main, or with only the
  changed source reverted - and the reply should say which of the two was done;
- the instrument must be checked: rebuild before ctest after switching branches,
  compare the change between branches rather than the file, and read the test's
  own header before describing what it proves.

Written with an AI assistant.
2026-11-30 12:02:09 +01:00
589b2d28fa docs: how to measure the D3D12 runtime's frame rates, and its LEONIDA_* variables
d3d12/docs/findings.md was reachable from d3d12/README.md alone, so a night of
runs repeated measurements it already holds. Index it, point AGENTS.md at it,
say how to measure (a switch by turns inside one run), and list the variables
the runtime names from its own sources: 415 of 669 were in no Markdown file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-30 10:29:56 +01:00
18936010df chore: remove dead Tier 1 files, wire 5 unwired C++ tests, and fix play.ps1 path 2026-11-29 20:00:40 -05:00
e890d0a101 docs: fix inaccurate doc paths/flags/env vars and add recommended variables to running.md
- docs/running.md: add Recommended variables (all platforms) table covering async submit/compile, compile-pool sizing, warm-up throttling, heap sizing, input, and telemetry/fault variables on main; update RX 7900 XTX RADV recipe and Reporting section
- runtime/README.md: document LEONIDA_CLWB_PATCH (runtime/src/cpu_emulation.h)
- AGENTS.md: add port_ctl.py (scripts/port_ctl.py) to numpy/Pillow exception list
- d3d12/docs/replay.md: fix nonexistent --looks flag reference to --flow
- docs/port_plan.md, docs/port_status.md, docs/ultrawide.md, docs/victory_gap_gpu.md, docs/victory_gap_media.md: fix typos (chad_dsp.cpp -> chad.cpp, VIctory tests/fidelityfx.rs -> crates/victory-hle/tests/fidelityfx.rs) and clearly mark unmerged-branch paths (runtime/ ultrawide, frame_step.h, media_foundation.cpp, gameinput_xinput.cpp, d3d12_xs_exports_test.cpp, pipeline_queue.h -> pipeline_wait.h)
- tests/test_docs_cli_flags.py: scan .rs sources and clap #[arg(long)] struct fields for d3d12/docs/*.md flags, treat cargo/git-filter-repo flags as foreign, and add docs/port_plan.md to OTHER_PROJECTS

AI-assisted: Antigravity (Gemini 4 Neon). Verified: 13/13 tests/test_docs_*.py pass and scripts/check_no_game_data.py clean.
2026-11-28 09:09:23 -05:00
b87abdef57 Merge mandy's main into port/d3d12-nvidia
Brings the D3D12 runtime branch (d3d12/, its launcher scripts and notes, and the pull requests reviewed and applied
on it) together with mandy's main.

Conflicts (67 files, none under d3d12/): docs/, make_game.py, runtime/, scripts/build_runtime.ps1, tests/ and
tools/. Every one takes main's side: main is where that code is maintained, and this branch's copies were older
states of the same files or the same pull requests in another form. tests/test_fspx_unpack.py is main's too, as it
tests main's tools/fspx_unpack.py. Nothing under d3d12/ is changed by the merge.

Checked before pushing: python -m compileall over make_game.py, tools and tests; make_game.py --help;
scripts/check_no_game_data.py over the files this adds to main; tests/test_text_write_line_endings.py. The
translator suite, the C++ runtime build and CI have not run on the result.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 17:50:37 -05:00
801c3601d9 docs: how contributors' agents work together (DOC-AGENT-COLLAB)
One page, docs/agent_collaboration.md, linked from AGENTS.md and the docs
index: GitHub as the shared memory of the agents, five machine profiles and
the work each is best placed for, three blocks with fixed fields (AGENT-MSG,
RUN, TEST-WANTED), evidence tags and what an unattended agent may do.
Adds to CONTRIBUTING.md and AGENTS.md; no existing rule changes.

AI-assisted.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-27 01:14:32 +01:00
690b531a46 docs: DirectStorage merged; next blocker is console device slot 26
AGENTS.md gets two runtime traps found on the real title: a thread_local
with a destructor in gta6rt.exe aborts the title (0xC0000409), and console
methods returning a struct by value take a hidden return pointer in RCX.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 17:06:36 -05:00
d517d8af9d docs: give the translator suite times measured on today's suite
AGENTS.md said 433 files and 5 821 tests in 224 s on 16 cores.
tests/semantic/README.md said 26 s, or 253 s one file at a time, on 16
cores. The two disagree, and both count an older suite.

Measured on main 3d3770c (the suite is unchanged at a289278), Windows 11,
Ryzen 7 7435HS with 16 threads: 465 files and 6 108 tests, 0 failed, in
297 s with the default 16 jobs and 2 401 s with -j 1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 23:46:00 +08:00
bbfacade3e docs: contributor guidance points at this repository, not the private original
CONTRIBUTING.md, AGENTS.md, the French contributing page and the issue
template's build link sent contributors to ItsNotRexed/Leonida, which went
private on 23 November 2026: the claims search, the gh command an agent is
told to run, #166 and #313 all led nowhere.

They now use ubiquitarianism/leonida, say that older #N numbers are from the
original tracker, and name what replaces them here (#18, #17,
gpu-test-results/, docs/d3d12_vulkan.md). Adds the done: line and the main
target from the coordination issue.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-23 21:08:34 -05:00
30752b9bd5 AGENTS.md: the suite's real runtime, the ctest step, and the rules an agent breaks (#6732)
Squash-merged after diff review of PR #6732 - AGENTS.md: the translator suite's real runtime, the ctest step, and the rules an agent breaks
2026-11-23 10:00:06 -06:00
c2cc4bfe7f scripts/run_semantic_tests.py: run tests/semantic one process per file, in parallel (253 s -> 26 s) (#4961)
Squash-merged after review of PR #4961 - scripts/run_semantic_tests.py: run tests/semantic one process per file, in parallel (253 s -> 26 s)
2026-11-23 08:10:57 -06:00
6bf3b7d281 Revert #3920 (held for the maintainer): it makes docs/design.md a file generated from docs/contracts/*.json
The generated page was already out of step with this round's rows (test_design_contracts), and the PR also
changes AGENTS.md, the PR template, ci.yml and adds an agent skill. docs/design.md keeps its current rows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 04:16:51 -05:00
96612b65fb Merge pull request #4353 from Mast3rL
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:13:56 -05:00
c3b541264a world_grid_atlas: place the water grid tiles and check zInflation
The four GridAtlasInfo grids are water data: water height (R16), shoreline
(BGRA) and two water fog textures (BC6H). Their tiles are named only by the
grid's suffix. The tool places them by matching each tile with the grid's
fallback mosaic and checks archive order: the tile dictionaries are stored
in text order of the decimal cell index.

zInflation is checked against the world's height data: all heightmap Z
ranges and the water heights lie inside origin z +- 1,000. The water-height
scale (about 41 units per metre) and the north-up row order come from a fit
against the MHIU terrain.

Tests: stdlib logic tests plus a synthetic forward check (numpy/Pillow).
docs/gamedata.md "Grid atlases" is updated from the tool's output.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:39:17 -05:00
16ab807ab4 docs(agents): add Rule -> Enforcer table, preflight entry point, and PR premise check 2026-11-23 02:27:42 +04:00
c9299376b0 docs: AGENTS.md lists every numpy/Pillow tool, CONTRIBUTING.md mentions pytest-based tests; test pins both 2026-11-22 14:57:45 -05:00
4d9dd204c1 docs: explain the pytest workflow in AGENTS.md 2026-11-22 12:42:31 -03:00
1465675b16 AGENTS.md: name the numpy/Pillow exceptions, add the omitted smoke tests; design.md: drop duplicated contract rows 2026-11-22 10:03:51 +03:00
cf25a277ba Docs: a finding: command for work you found but won't do
Contributors and their agents often come across bugs, missing methods or
stale docs while working on something else. Ask them to post those in
the coordination issue as "finding: <one line>" with where, why and
what it needs, so the coordinator can list them for others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:13:08 +01:00
e0d68c8bb2 Docs: link the coordination issue by its title, not its number
The coordination issue (#156) will move to a successor when its thread
gets long. CONTRIBUTING.md, AGENTS.md, the PR template and the testing
guide now find it as the open issue titled "Coordinating who works on
what" (a search link, and a gh command for agents), so they stay right
without an edit each time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:11:59 +01:00
c17cdd8b6b Docs: point CONTRIBUTING.md and AGENTS.md at #313 for the D3D12 layer
The D3D12 -> Vulkan layer is tracked in #313 (critical path, who builds
what, open D3D12 methods); say so next to #156 and #166.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:57:45 +01:00
949dd28aa5 Merge pull request #221 from Koert Lichtendonk 2026-11-21 16:37:30 -05:00
8a7e5dce94 Docs: claim work in #156 before opening a pull request
@ItsNotRexed asked in #156 for claims to be made there before a PR is
opened. Say so where contributors and their agents look first:
CONTRIBUTING.md, AGENTS.md and the pull request template.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:33:56 +01:00
f35db03d8e CI: byte-compile tests/ too, as CONTRIBUTING.md says
CONTRIBUTING.md lists the tool check as `compileall make_game.py tools tests`, but the CI step and
AGENTS.md left out tests/. The pytest-based files are skipped by the Windows test loop, so a syntax
error in them only showed up in the Linux job.
2026-11-21 15:08:50 -06:00
4b7e7d34a0 Docs: add AGENTS.md for coding agents
Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-21 14:26:55 +01:00