Skip to content

Purge measured content from the knowledge base - #101

Merged
WDrijver merged 7 commits into
mainfrom
cleanup/purge-measured
Nov 28, 2026
Merged

WDrijver merged 7 commits into
mainfrom
cleanup/purge-measured

Conversation

@WDrijver

Copy link
Copy Markdown
Contributor

Why

The measurements in the knowledge base were made on older cores (mostly Core 12841, some 12830–12856) and are no longer representative of the current core. Everything that rests on them is removed, so AI agents and developers no longer follow outdated timings, bugs or behaviour.

What changed

  • Deleted 39 files whose only basis was measurement, or that had no claim of their own left once the measured facts were taken out (list below).
  • Stripped measured facts from 67 mixed files: every (M)-tagged fact, measured table row, untagged measured number, and the DO/DON'T rules, examples and sections that depended only on them. Facts from the core developer (G), official documentation and source code (SRC) are kept, and basis no longer lists measured. Status, owner and origin are unchanged.
  • Fixed all links to deleted files: related:, distilled_into:, body links, core/cpu-68080/index.md, os/apolloos-and-amigaos-on-v4.md, the apollo-build skill table, the starter C files and toolchain/compiler-variants.md.

This deliberately departs from AGENTS.md section 7 and CONTRIBUTING.md section 9 ("deprecate, don't delete"): it is a maintainer decision to purge rather than deprecate. Git history keeps the old text.

Not changed

  • core/saga-registers/maggie-3d.md still lists measured in basis. It is generated from sources/official/ and must not be edited by hand.
  • The (M) source tag and the measured basis value stay in AGENTS.md, CONTRIBUTING.md and tools/schema.json, so new measurements on the current core can be added.
  • tools/v4/ (V4 test harness and test programs) stays as infrastructure. Its comments still mention the deleted guides/benchmark-method.md.
  • .github/CODEOWNERS is regenerated by CI on merge.

Points for review

  • Toolchain claims backed by kb:compile / kb:expect CI checks were kept, with only the (M) tag dropped, because CI verifies them on the host and not on a V4 (gcc-bbb-shift-wrong-code, gcc-btst-memory-bit-number, gcc-mrtd-calling-convention, float-settings-mismatch, vasm-68080-encoding-issues, gcc-code-generation-for-68080).
  • gcc-double-indirect-stack-slot.md was deleted although the bug is documented in ApolloCrossDev issue I2C header: pinout #27. It could come back sourced as (SRC).
  • AttnFlags bit 10: the rule "gate 68080 code on AttnFlags bit 10" is still in os/apolloos-and-amigaos-on-v4.md and the starter C files, but its measured best-practice file is gone.
  • Untagged behavioural claims inside measured sections were treated as measured and removed. Untagged register documentation (for example ARNE) was kept.

Checks

check_frontmatter, check_links, check_saga_addresses, check_skills, the intake checks and markdownlint pass locally. check_owners (needs the GitHub API) and the snippet compile (needs ApolloCrossDev) run in CI.

Deleted files

  • core/best-practices/align-copy-destination.md
  • core/best-practices/ammx-where-it-wins.md
  • core/best-practices/fixed-point-and-bitstreams.md
  • core/best-practices/fpu-schedule-by-completion-slot.md
  • core/best-practices/fpu-when-it-pays.md
  • core/cpu-68080/core-bugs-by-revision.md
  • core/cpu-68080/measured-instruction-costs.md
  • core/pitfalls/alternating-branch-mispredicted.md
  • core/pitfalls/ammx-pc-relative-source.md
  • core/pitfalls/ammx-upper-32-bits.md
  • core/pitfalls/cacr-data-cache-bit-ignored.md
  • core/pitfalls/fpu-broken-instructions.md
  • core/pitfalls/fpu-exceptions-never-trap.md
  • core/pitfalls/fpu-float-to-integer-conversion.md
  • core/pitfalls/lowres-8-planes-ecsena-blank.md
  • core/pitfalls/maggie-depth-test-colour-write.md
  • core/pitfalls/maggie-span-tail.md
  • core/pitfalls/multiply-and-bfffo-block-both-pipes.md
  • core/pitfalls/return-address-patching.md
  • core/pitfalls/self-modifying-code-and-caches.md
  • core/pitfalls/tex-does-not-match-prm.md
  • core/pitfalls/turtle-mode-counters.md
  • guides/benchmark-method.md
  • guides/generators-and-verification.md
  • guides/writing-cpu-tests.md
  • hardware/pitfalls/ide-speed-cf-write-corruption.md
  • lessons/2026-11-v4-turtle-mode.md
  • os/best-practices/detect-68080-and-fpu-at-run-time.md
  • os/pitfalls/library-globals-shared-between-tasks.md
  • os/pitfalls/ramlib-reuses-library-by-name.md
  • os/pitfalls/stack-patches-hide-small-stack-bugs.md
  • os/pitfalls/stackcall-struct-return-a0.md
  • os/pitfalls/v4-rom-modules-and-reset.md
  • toolchain/pitfalls/calling-assembler-from-gcc.md
  • toolchain/pitfalls/gcc-double-indirect-stack-slot.md
  • toolchain/pitfalls/gcc-misc-traps.md
  • toolchain/pitfalls/gcc-stackswap-defer-pop.md
  • toolchain/pitfalls/gcc-variadic-taglist-address.md
  • toolchain/pitfalls/libnix-and-header-traps.md

Generated by Claude Code

Measurements were made on older cores and are no longer representative.
Remove the 28 files whose only basis is measured, and the links and
measured claims that pointed to them elsewhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLUW4nywzHdK1SsvZrrqaZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLUW4nywzHdK1SsvZrrqaZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLUW4nywzHdK1SsvZrrqaZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLUW4nywzHdK1SsvZrrqaZ
After stripping measured facts, 11 more files had no claim of their own
left. Remove them, and the related:, distilled_into: and body links that
pointed to any purged file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLUW4nywzHdK1SsvZrrqaZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KLUW4nywzHdK1SsvZrrqaZ
@WDrijver
WDrijver merged commit d0bf872 into main Nov 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants