The Social Wire — an ATProto publication reader. thesocialwire.app
the-social-wire CONTRIBUTING.md
3.0 kB · 71 lines
Markdown
at dev

Contributing #

Thank you for contributing to The Social Wire.

Getting started #

  1. Clone the canonical Tangled repository and install dependencies: bun install
  2. Pick the surface you are changing — see docs/test-plans/README.md
  3. Copy the relevant .env.example to .env / .env.local
  4. Run tests for affected packages before opening a PR

Where tests live #

Tests must live inside the owning package, not in a root-level tests/ folder:

Package Test location
Web apps/web/src/__tests__/
Go AppView colocated *_test.go under services/appview/
Native ReadStateCore apps/apple/Packages/ReadStateCore/Tests/
iOS apps/apple/SocialWireTests/
Lexicons packages/lexicons/__tests__/
OpenAPI spec packages/spec/__tests__/

Pull requests #

  • Use conventional commit messages (fix:, feat:, docs:, test:, etc.)
  • Include tests for logic changes in the same PR
  • Keep diffs focused — avoid drive-by refactors
  • Update docs/test-plans/ when adding new test surfaces or commands

Wiki edits #

Edit wiki content only under docs/wiki/ in the canonical Tangled repository. The historical GitHub publishing workflow is not part of the Tangled release path. The public Lichen wiki is currently published separately from the same source; see docs/wiki/Contributing.md. Edits made only on either hosted wiki can drift or be overwritten, so make the source change here first.

Documentation #

Out of scope for automated CI #

  • Playwright / browser E2E
  • Authenticated hosted-environment mutation tests
  • Native Apple CI/CD (Xcode Cloud setup is deferred; run native checks locally)

Branch protection #

Tangled Spindle verifies Web, Go AppView, Lexicons, OpenAPI and portable runtime images through .tangled/workflows/. Direct Vercel deployment requires successful verification at the exact repository commit; Production also requires Development-before-Production patch parity. Native Apple CI/CD is deferred to Xcode Cloud.

One retained Vercel project hosts seven Services: Next.js Web and six Go AppView services. It uses main for Production and the dev branch Preview for Development. Verify Development before promoting the same source to Production. Preserve the disabled historical GitHub link and frozen branch used solely for Vercel branch-binding compatibility; see the Tangled migration runbook.

License #

By contributing, you agree that your contributions will be licensed under the MIT License.