TeamForge 0.5.1 · Early Public Preview

Contributing

Help with Unity review, networking, failure-case testing, documentation and the contributor workflow.

Canonical source .github/CONTRIBUTING.md · plain-text mirror

Generated from the same maintained repository documentation used by the public project records and machine-readable mirrors.

Thanks for being interested in helping TeamForge.

TeamForge is still experimental, and help is useful even if you do not consider yourself an expert programmer.

Ways to help

Testers

You can help by trying TeamForge in disposable Unity projects and reporting what breaks.

Useful testing areas include:

Please do not use irreplaceable projects for experimental testing.

Unity / C# reviewers

Useful review areas include:

Networking reviewers

Useful review areas include:

Security reviewers

Security review is especially welcome around:

For potentially exploitable vulnerabilities, please read SECURITY.md before posting details publicly.

Documentation / UX / translations

You can also help by:

For non-trivial documentation changes, start with docs/DOCUMENTATION_GUIDE.md instead of editing every related file. It defines which document owns each kind of changing fact and how to plan the smallest safe update.

Good bug and test reports

A useful report usually includes:

  1. What you were trying to do.
  2. The steps you took.
  3. What you expected to happen.
  4. What actually happened.
  5. Relevant logs, screenshots, diagnostics, or a minimal reproduction when safe to share.
  6. The Unity Editor version and operating-system/environment details that materially affect the result.
  7. The TeamForge identity that was actually tested.

For a source checkout, record the Git commit when practical. For a packaged candidate, record the product version, release ID, exact artifact filename, and SHA-256 when available. Product version alone is not enough to prove that two testers used the same packaged bytes. The current source-controlled candidate identity is defined by ../release-contract.json, while ../builds/README.md explains packaged-artifact identity.

Please remove private IP addresses, access tokens, passwords, invite secrets, API keys, and other credentials before posting logs publicly.

Pull requests

Pull requests should:

For a normal public source checkout, use npm run validate (or scripts/teamforge.ps1 verify on Windows) for the source/document contract. npm run validate:release / verify-release is for a fully staged release-candidate tree containing generated Runtime/Launcher/release evidence; it is intentionally not a fresh-clone completeness test. See docs/SOURCE.md for the current validation split.

Passing a source validator or automated test suite is evidence for those checks only. It does not by itself close Unity/two-PC manual field gates or prove that an arbitrary packaged ZIP is the exact candidate artifact.

Documentation changes

Documentation should be planned as part of the change rather than generated after the fact.

For a non-trivial documentation update:

  1. Read docs/DOCUMENTATION_GUIDE.md.
  2. Identify the reader, question, document type and canonical owner of the changing fact.
  3. Identify the evidence supporting the new claim.
  4. Update the smallest required set of current documents; prefer links over duplicating volatile values.
  5. Preserve dated historical evidence rather than rewriting old records to match current behavior.
  6. Keep current state, roadmap, architecture, source workflow and code navigation in their separate document roles.
  7. Run npm run validate:docs.
  8. Run npm run validate as well when source/document-contract files changed.

The optional documentation plan template is useful for larger changes and AI-assisted documentation work.

Comments and source readability

TeamForge does not require a target comment percentage. A high comment count can make code harder to maintain when prose merely repeats syntax or drifts away from tested behavior.

Add comments when they preserve information that is difficult to express through names and structure alone, especially:

Prefer a short durable comment near the relevant boundary plus an automated test. Avoid narrating obvious control flow, duplicating large README sections inside source files, or adding comments only to satisfy a density metric.

For AI/coding-agent readability, keep CODEMAP.md and docs/SOURCE.md accurate when a major responsibility moves between files. The current focused comment/readability review is recorded in docs/AI_COMMENT_AUDIT.md.

AI-assisted contributions are welcome

Using AI does not make a contribution less welcome in TeamForge. AI tools may be used for code, tests, documentation, translations, debugging, review, research, refactoring, or other parts of development.

TeamForge itself has been developed with substantial AI assistance, so contributors are not expected to hide or apologize for using similar tools.

Contributions are judged by their correctness, safety, maintainability, testing, and usefulness rather than by whether every line was typed manually.

However, AI assistance does not remove contributor responsibility. If you submit AI-assisted work, please:

For substantial AI-generated changes, mentioning that AI was used in the pull request is encouraged for transparency, especially when it helps reviewers understand how the change was produced or verified. AI disclosure by itself is not a reason to reject a contribution.

Automated or agent-generated pull requests are also welcome when a human contributor is willing to own the submission, respond to review, and help verify the result.

Generated code should never be accepted solely because it looks plausible or passes a single happy-path test.

Low-effort AI-generated submissions are not welcome

AI use is welcome; unreviewed, low-effort AI output is not.

TeamForge does not want contributions that are effectively a raw model response pasted into the repository with little or no human review, testing, understanding, or adaptation. This applies to code, tests, documentation, translations, issues, pull requests, security reports, and other project content.

Examples that may be rejected include:

This is not a requirement to write everything by hand, and it is not intended to exclude beginners. A small AI-assisted contribution that has been carefully checked and tested is far more valuable than a huge hand-written or AI-generated change that nobody has verified.

What matters is that someone has put real effort into defining the problem, checking the result, testing important behavior, responding thoughtfully to review, and taking responsibility for the contribution.

Licensing of contributions

By intentionally submitting a contribution for inclusion in TeamForge, you agree that your contribution may be distributed as part of TeamForge under the GNU Affero General Public License version 3 (AGPLv3) together with the reasonable attribution/origin terms described in NOTICE, to the extent those terms lawfully apply.

You retain credit for your own contribution. TeamForge does not ask contributors to pretend that somebody else wrote their work.

If you do not have the right to submit code or other material under these terms, please do not submit it.

Project origin and attribution

Forks are welcome. Renaming a fork is allowed. Commercial use is not prohibited by TeamForge's chosen open-source license.

However, please preserve accurate project history. Do not remove the original TeamForge origin information and then present pre-existing TeamForge work as if a later fork author independently created it.

See AUTHORS.md, NOTICE, and LICENSE for details.

Be constructive

Technical criticism, negative test results, and disagreement are welcome. Focus criticism on the software, design, evidence, and reproducible behavior rather than attacking contributors or users.

On this page
Ways to helpGood bug and test reportsPull requestsAI-assisted contributions are welcomeLicensing of contributionsProject origin and attributionBe constructive