Skip to content

docs: Resolve contradictions between the policy documents - #1641

Merged
zackees merged 1 commit into
masterfrom
docs/policy-contradictions
Oct 21, 2026
Merged

zackees merged 1 commit into
masterfrom
docs/policy-contradictions

Conversation

@zackees

@zackees zackees commented Oct 21, 2026

Copy link
Copy Markdown
Member

Stacked: builds on #1636 (security two tiers); the new commit is "docs: Resolve contradictions between the policy documents". Retarget/rebase onto master once #1636 lands.

Documentation-only: no RED/GREEN tests. Where a doc disagreed with the code or repo settings, the code won.

  1. Local gate optional vs. "prove locally". ci-tooling.md rule 2 and "Before you push" now say the gate is optional; if you run it, push the stamped commit unchanged.
  2. Tier 2 summary. testing-policy: PR CI's Tier 2 jobs satisfy the requirement; paste a local run.sh summary only if you ran it.
  3. BUILD.md manual full build. Now only for cmake/common/, cmake/pch/ or a precompiled header itself; a ported-* group include doesn't trigger it. Describes what CI really does (checked with ci_scope.scope): cmake/common/ starts macOS/Windows Rust tests + Tier 2, cmake/pch/ starts only the Fast Gate, libobs/build/ starts Linux Tier 2; PR CI never builds the apps.
  4. Ported C deleted vs. kept. AGENTS.md and naming.md: C is deleted from the product tree; the one allowed copy is the Tier 3 oracle under rust/obs-c-oracle/legacy/. That directory does not exist yet (no C has been removed); the testing policy now says the first removal creates it.
  5. Coordinator "never open issues". Filing an already-agreed follow-up (§4) is allowed; new problems still go to the maintainer.
  6. Rebasing. coordination.md §4 lists the coordinator's exceptions (ejected, stacked, about-to-land, ledger conflicts), says it acts for the maintainer for rebases and mechanical fixups, and that a rebase drops the local-gate stamp. The skill says the same. CONTRIBUTING.md scopes "avoid force-pushes/rebasing" to the history reviewers read, not to keeping the branch current.
  7. Security. coordination.md §5 and bug.yml link to the SECURITY.md tiers instead of restating them and name credential leaks as high risk. Low-risk public bugs may carry security; never an undisclosed high-risk one (SECURITY.md updated). Title is bug: <component>: <symptom> with the class in the symptom (dropped the [crash] variant). ci/test_security_reporting.py passes.
  8. PR template. "libobs-with-rust" replaced with hybrid libobs / libobs-c-reference; the "cmake/ or build-aux/ runs the full builds" claim was false (no PR path runs app builds) and now points to gh workflow run ci.yml.
  9. ci-tooling.md contradictions. "Linux Rust tests and Tier 2 always run" was false (Tier 2 is a LANES row); "build-aux/ or submodule selects the full builds" was false (Linux-only compile).
  10. Master-push statements. Code (build-project.yaml check-event): a master push forces Qt and Tier 2, runs macOS/Windows Rust+Tier 2 by path, and full is never true, so no app build runs on master push. AGENTS.md said "builds macOS, Windows and Flatpak only for paths that select them" and ci-tooling.md said "every platform runs on master pushes"; both corrected. Note: build-project.yaml's own comments ("Tier 2 always run", "paths that need them: build-aux/") are also stale, but workflow files are out of scope here.
  11. ci-full label. No remaining mention on this base; the "no label changes what runs" wording is kept.
  12. libobs-with-rust names. Fixed in the ci_scope.py docstring and PR template. features.md: per the ledger rule ("update the text if the behavior changed"), the "Rust libobs (opt-in)" line now says hybrid is the default since build: make hybrid Rust/C libobs the application default #1588, and the build: make hybrid Rust/C libobs the application default #1588 line's "pending merge" became its merge date.
  13. Coordinator merges. Coordinator never merges outside the queue, even with --admin; the bypass belongs to the maintainer or a worker they explicitly authorize (coordination.md §8 and the skill).
  14. Lint/format failures are mechanical fixups the coordinator may push; logic failures go to the author.
  15. Merge method. The ruleset's queue merge method is SQUASH (repo allows all three). Fixed "while the project uses merge commits" in coordination.md §8. CONTRIBUTING.md keeps RED and GREEN separate instead of telling authors to squash.
  16. No-op host files. AGENTS.md and naming.md said hosts "build obs-host/noop/<capability>.c picked in os-.cmake"; the tree has libobs/obs-host/noop/*.hpp included at the end of obs-nix.c.h/obs-windows.c.h/obs-cocoa.m.h, as BUILD.md says. Docs now match.
  17. Websocket line. Tier 4 must pass against the unchanged C++ plugin on both libobs builds; never ported.
  18. Binary layout example. Shows obs-util/tests/suite.rs as the one Utilities binary with containers/main.rs as a module, matching the tree and the category table.
  19. RED/GREEN checklist. PR template: "N/A for docs-only"; focused CI fixes may push RED+GREEN together. CONTRIBUTING.md: a RED commit is the accepted exception to "no commit leaves the project broken".
  20. AppImage test path is build-aux/appimage/test-appimage.sh in AGENTS.md.
  21. troubleshooting.md removes only your own obs-rust-linux-validate-* volumes, forbids system/volume prune, and points to bosn per ci-tooling.md.
  22. Decisions format. Standardized on coordination.md's Decisions: in the claim/tracking comment; testing-policy points there instead of ## Decisions.

./lint: ok. uv run python -m unittest discover -s ci -p 'test_*.py': 852 tests OK (4 skipped).

@zackees
zackees enabled auto-merge October 21, 2026 18:32
@zackees
zackees force-pushed the docs/policy-contradictions branch from 3f40938 to e1f351a Compare October 21, 2026 18:42
@zackees
zackees added this pull request to the merge queue Oct 21, 2026
Merged via the queue into master with commit 01561bf Oct 21, 2026
22 checks passed
@vpacher vpacher mentioned this pull request Oct 21, 2026
5 tasks done
@zackees
zackees deleted the docs/policy-contradictions branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant