Skip to content

Latest commit

 

History

History
93 lines (70 loc) · 4.51 KB

CONTRIBUTING.md

File metadata and controls

93 lines (70 loc) · 4.51 KB

Contributing to Tinycast

Check existing discussions, issues and pull requests first. Only maintainers open issues: start a discussion, and a maintainer turns it into an issue once it is clear and confirmed.

Read the Code of Conduct too. It covers notifications, spam and AI usage.

Don't hurry your code. Make sure it works well and is well designed. Don't worry about timing.

Non-negotiables

  • RAM. Under 100 MB, always. No feature is worth going over.
  • No leaks. Leak-test before you submit. Zero leaks, no retain cycles, memory back to baseline after the palette closes.
  • Design. New UI must look like it shipped with the app: spacing, type, radii and motion from the existing tokens (docs/ui.md). If you genuinely need a new one, justify it in the PR.
  • No bloat. Tinycast stays minimal on purpose: quality over quantity. A clean patch still gets declined if the feature isn't worth its weight, so start a discussion and settle that before you build.
  • Never break the Non-negotiables in AGENTS.md.

Setup

  • macOS 26+, Xcode 26. Do the one-time signing setup (docs/signing.md §1).
  • open Tinycast.xcodeproj → ⌘R. Debug builds are their own channel (Tinycast Dev.app).
  • After editing project.yml: xcodegen generate, commit the result. No SwiftPM.
  • Details: docs/development.md. Architecture: docs/architecture.md. Start at docs/.

Before submitting

  • Ask before you start. Open a Vouch Request discussion and wait for a maintainer to say yes.
  • A linked issue marked approved. Put Closes #<number> in the PR description. Anyone may open the PR, not only the issue's author. Docs-only changes (*.md, docs/, website/) need no approved issue.
  • The whole bar in docs/testing.md passes: tests, lint, purity, a clean build. Engine changes come with new cases. There is no CI, so run the tests (xcodebuild test), ./Scripts/lint.sh and a build locally.
  • Leak-tested and memory-measured. Numbers in the PR.
  • You actually used the app, on your path and the ones next to it.
  • Rebased on main, squashed into logical commits.
  • Anything in docs/ your change makes wrong is fixed.
  • Read your own diff top to bottom before you open the PR. Most review comments are things the author would have caught on a second pass.
  • AI usage is disclosed in the PR, and you understand every line. See AI usage.
  • You agree to the Contributor License and Feedback Agreement. Opening a PR is your acceptance.

Pull requests

  • Fill in the PR template: every section, or say why it doesn't apply.
  • Visual change → side-by-side before/after video. Mandatory. Same window size, same actions. An "after"-only clip doesn't count; stills don't substitute.
  • Non-visual → say what you tested.
  • Include the memory numbers, idle and peak.
  • Flag anything surprising, and any tradeoff you made on purpose.

Code style

Read AGENTS.md first: the posture, the Non-negotiables and the naming and comment rules are all there, and they apply to a human contributor exactly as they do to an agent. docs/standards.md is the full version: architecture, naming, Swift style, concurrency and the performance budgets. docs/ui.md before any new view or restyle. Look before "fixing" something that looks wrong; it may be deliberate.

Two things that are only about contributing, and so are not in those docs:

  • Commit messages imperative: Add per-app hotkey toggle.
  • Behaviour you didn't mean to change, didn't change. Say so explicitly in the PR if it did.

Spam

No pings, bumps or issue numbers in your fork's commits. The full list is in the Code of Conduct. Constant spamming leads to a block.

Bugs

macOS version, Tinycast version + channel, steps, expected vs actual. A recording beats a paragraph.

Security

Not in the issue tracker; see SECURITY.md.

License

AGPL-3.0. Contributions are licensed under the same terms.