From 8c3d8ff60a65e578b272f78ea296289007f68f1d Mon Sep 17 00:00:00 2001 From: Spark Date: Sat, 14 Nov 2026 13:23:02 +0700 Subject: [PATCH] docs: add contributor guidance and maintenance policies --- .github/ISSUE_TEMPLATE/bug_report.yml | 47 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 23 +++++++++++ .github/pull_request_template.md | 21 ++++++++++ CHANGELOG.md | 32 +++++++++++++++ CODE_OF_CONDUCT.md | 9 +++++ CONTRIBUTING.md | 25 ++++++++++++ README.md | 4 ++ SECURITY.md | 21 ++++++++++ desktop/RELEASE.md | 15 +++++++ docs/COMPATIBILITY.md | 11 +++++ docs/DEVELOPMENT.md | 6 +++ docs/SUPPORT.md | 23 +++++++++++ 13 files changed, 242 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 .github/pull_request_template.md create mode 100644 CHANGELOG.md create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 SECURITY.md create mode 100644 docs/SUPPORT.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..95a6f82 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,47 @@ +name: Bug report +description: Report a reproducible problem without private data. +title: "[Bug]: " +body: + - type: markdown + attributes: + value: "For security vulnerabilities, use https://github.com/eliophan/t3code-bar/security/advisories/new. Never attach personal databases, pairing keys, tokens, credentials, or unredacted logs." + - type: input + id: bar-version + attributes: + label: T3 Code Bar version + placeholder: "2.0.0-alpha.3, or an exact source commit" + validations: + required: true + - type: input + id: upstream-version + attributes: + label: T3 Code version or commit + description: Include the release channel. If unavailable, explain why. + validations: + required: true + - type: input + id: platform + attributes: + label: OS and architecture + description: On Linux, include the desktop or compositor and package format. + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + description: Include expected and actual behavior. Use synthetic examples. + validations: + required: true + - type: textarea + id: diagnostics + attributes: + label: Sanitized logs and screenshots + description: Remove credentials, prompts, private paths, remote addresses, and other sensitive data before posting. + - type: checkboxes + id: privacy + attributes: + label: Privacy check + options: + - label: I checked that this report contains no credentials or personal database exports. + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..735218f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: Report a security vulnerability privately + url: https://github.com/eliophan/t3code-bar/security/advisories/new + about: Do not disclose vulnerabilities or credentials in a public issue. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..74bf987 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,23 @@ +name: Feature request +description: Describe a user problem and a proposed improvement. +title: "[Feature]: " +body: + - type: textarea + id: problem + attributes: + label: What problem do you need to solve? + description: Describe your workflow and what is difficult today. Avoid private data. + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed behavior + description: Describe the smallest useful change in T3 Code Bar. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives and scope + description: Include workarounds, relevant platforms, and compatibility needs. Bar is independent and must not require changes to T3 Code. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..8bf8d13 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,21 @@ +## Purpose + +What user problem does this solve? Link the issue if one exists. + +## Changes + +Describe the final change and any compatibility or migration impact. + +## Validation + +List the checks run and their results. Name any checks not run and why. For compatibility changes, record the T3 Code version or commit. For native checks, name the OS, architecture, and package tested. + +## UI captures + +Include screenshots or a recording for UI changes, with private data removed. Otherwise write "Not applicable". + +## Contribution checks + +- [ ] No personal database, pairing key, token, credential, or unredacted private data is included. +- [ ] User-visible changes and compatibility limits are documented where applicable. +- [ ] New dependencies, copied code, and artwork have compatible licenses and required attribution. diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..7cb0685 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,32 @@ +# Changelog + +This log records user-visible changes. GitHub releases contain package downloads and release-specific installation notes. + +## Unreleased + +### Maintenance + +- Add contribution, security, support, community, and issue-reporting guidance. +- Add an upstream compatibility evidence record and a release-note checklist. + +## 2.0.0-alpha.3 - 2026-11-11 + +### Added + +- Environment selection and per-environment thread identity. +- Direct pairing and T3 Connect environment directory discovery. + +### Fixed + +- Exclude settled, snoozed, and delegated threads from the sidebar list. +- Improve Relay credential diagnostics and SSH test fixtures. + +### Compatibility and validation + +The published release notes record passing CI on macOS 15 and Ubuntu 24.04 for commit `21310daf0d310ed54bf41685ff149d403357f348`. They do not record an exact tested T3 Code version or commit. That upstream compatibility remains unverified in this log. + +### Migration and limitations + +This is a Tauri v2 alpha. Swift v1 settings and credentials are not migrated. Updates use manual installation. macOS packages target Apple Silicon and are ad hoc signed, without Apple notarization. Linux packages target x86_64 and require a StatusNotifier tray host. + +Source: [v2.0.0-alpha.3 release notes](https://github.com/eliophan/t3code-bar/releases/tag/v2.0.0-alpha.3). Earlier releases remain available in [GitHub releases](https://github.com/eliophan/t3code-bar/releases). diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..c35dfce --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,9 @@ +# Code of conduct + +Be respectful in issues, PRs, reviews, and other project spaces. Discuss the work and provide evidence. Do not harass, threaten, discriminate, publish private information, or make personal attacks. + +Respect contributors' time and privacy. Disagreement about a technical decision is welcome. Repeated pressure, abusive language, and retaliation are not. + +[@eliophan](https://github.com/eliophan), the primary maintainer, handles moderation. The maintainer may edit or remove harmful content, close discussions, or restrict participation. The response depends on the behavior and its impact. + +Report public misconduct with GitHub's Report content control. For a private report, use GitHub's reporting channels rather than posting personal details. Security vulnerabilities belong in the repository's [private vulnerability reporting channel](https://github.com/eliophan/t3code-bar/security/advisories/new), not a public conduct report. Reports are handled as time permits, without an SLA. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..4ab565e --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,25 @@ +# Contributing + +T3 Code Bar is an independent companion to T3 Code. Read the [support policy](docs/SUPPORT.md) before proposing a feature. + +## Set up and check your change + +Follow [Development](docs/DEVELOPMENT.md) for prerequisites, setup, native builds, and the repository layout. Run `bash scripts/check.sh` from the repository root before submitting a PR. Report checks you could not run, including the reason. + +Use synthetic fixtures. Never submit personal databases, pairing keys, tokens, credentials, environment files, or unredacted logs and screenshots. Follow [Security](SECURITY.md) for sensitive reports. + +## Submit a change + +1. Search existing issues and PRs. Discuss large features or compatibility changes in an issue first. +2. Create a focused branch from current `main`. Keep unrelated cleanup in a separate PR. +3. Add regression coverage for changed behavior. Record the exact T3 Code version or commit when changing an upstream adapter. +4. Update affected documentation and the Unreleased section of [CHANGELOG.md](CHANGELOG.md) for user-visible changes. +5. Open a PR describing the problem, change, and validation. Include UI captures when relevant, with private data removed. + +Both macOS and Linux CI checks must pass before merge. A passing build does not replace native acceptance. For platform changes, name the actual package, OS, and architecture tested. + +## Licenses and review + +Contributions are provided under the repository's [MIT license](LICENSE). Only submit material you have permission to contribute. When adding dependencies, copied code, fonts, or artwork, check the license, preserve copyright notices, and update [Third-party notices](THIRD_PARTY_NOTICES.md) where required. Identify the source and license in the PR. + +The primary maintainer, [@eliophan](https://github.com/eliophan), decides whether a PR fits the product, compatibility requirements, and maintenance budget. Reviews happen as time permits. There is no response or merge SLA. Follow the [Code of conduct](CODE_OF_CONDUCT.md). diff --git a/README.md b/README.md index f0d6043..aca660e 100644 --- a/README.md +++ b/README.md @@ -67,3 +67,7 @@ Reads local T3 Code data without modifying it. No telemetry or direct provider A [Usage](docs/USAGE.md) · [Development](docs/DEVELOPMENT.md) · [Compatibility](docs/COMPATIBILITY.md) · [Release guide](desktop/RELEASE.md) [MIT](LICENSE) · [Third-party notices](THIRD_PARTY_NOTICES.md). Independent companion, not affiliated with T3 Tools. + +## Contributing and support + +Read [Contributing](CONTRIBUTING.md) for setup and PR guidance, [Support](docs/SUPPORT.md) for product scope, and [Changelog](CHANGELOG.md) for release changes. Community participation follows the [Code of conduct](CODE_OF_CONDUCT.md). Report vulnerabilities through the private channel in [Security](SECURITY.md). diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..3d266ac --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,21 @@ +# Security policy + +## Report a vulnerability privately + +Use [GitHub private vulnerability reporting](https://github.com/eliophan/t3code-bar/security/advisories/new). Do not disclose exploitable details, tokens, pairing keys, or personal data in public issues or PRs. + +Describe the affected Bar version, T3 Code version, OS, reproduction steps, expected access boundary, and impact. Use synthetic data and redact logs. Do not send working credentials or a personal database. If you exposed a credential, revoke it through its issuer. + +Reports are reviewed by the maintainer as time permits. There is no guaranteed response or fix deadline. Coordinate public disclosure through the private advisory. + +## Supported versions + +Security fixes target the latest published Tauri v2 alpha prerelease. At the time this policy was added, that release is `v2.0.0-alpha.3`. Older alpha builds and retired Swift v1 releases do not receive backported fixes. Update this policy when the supported release changes. + +An alpha is not a security certification. Supported platforms and compatibility limits are documented in [Support](docs/SUPPORT.md) and [Compatibility](docs/COMPATIBILITY.md). + +## Scope + +Relevant reports include unauthorized access to local thread data, credential disclosure, incorrect OS credential-store use, remote environment identity or authorization failures, unsafe destination routing, and installer or update verification bypasses. + +Bar reads T3 Code state without modifying its database. Bar-owned settings, caches, and grants are separate. Pairing tokens and remote grants require the same care as other credentials. A vulnerability in T3 Code or another dependency should also be reported privately to its owner when appropriate. Avoid public cross-linking that reveals the vulnerability before disclosure is agreed. diff --git a/desktop/RELEASE.md b/desktop/RELEASE.md index 53dd923..c3648c4 100644 --- a/desktop/RELEASE.md +++ b/desktop/RELEASE.md @@ -113,3 +113,18 @@ curl -fsSL https://eliophan.github.io/t3code-bar/install.sh | bash ``` This command becomes usable after the version in `tauri.conf.json` has matching GitHub Release assets. Changing that version before publishing its packages makes the installer stop at the missing release. + +## Write release notes + +Update [CHANGELOG.md](../CHANGELOG.md), [Compatibility](../docs/COMPATIBILITY.md), and the supported release in [Security](../SECURITY.md) before publishing. Verify that package versions, installer defaults, README links, and the Homebrew cask agree. + +Use this structure for every release. Describe behavior users can observe rather than pasting a commit list. + +- Added or changed behavior. +- Fixed user problems. +- Tested T3 Code version or commit and release channel. If not tested, say so. +- Exact Bar revision, package, OS, architecture, and checks completed. +- Breaking changes, migration steps, and known limitations. Write "None" only when verified. +- Download links, checksum instructions, and applicable signing or notarization limitations. + +Keep evidence claims bounded to the packages and environments actually tested. Do not turn source inspection or CI success into a native compatibility claim. diff --git a/docs/COMPATIBILITY.md b/docs/COMPATIBILITY.md index b9427c6..7009aea 100644 --- a/docs/COMPATIBILITY.md +++ b/docs/COMPATIBILITY.md @@ -106,3 +106,14 @@ offline retention and selection across a separate process. Real cloud consent, OpenSSH agent and host-key behavior, OS credential persistence, native notification destination navigation, and packaged multi-environment acceptance remain separate checks. + +## T3 Code version evidence + +Record exact upstream versions separately from build and native acceptance. An inspected source checkout is not a tested compatibility claim. + +| Bar revision or release | T3 Code version or commit | Evidence | Status | +| --- | --- | --- | --- | +| `v2.0.0-alpha.3` | Not recorded in the published release notes | [Release notes](https://github.com/eliophan/t3code-bar/releases/tag/v2.0.0-alpha.3) record macOS 15 and Ubuntu 24.04 CI for `21310daf0d310ed54bf41685ff149d403357f348` | Exact upstream compatibility not established | +| Documentation baseline, 2026-11-14 | Local desktop manifest `0.1.7`, source commit `60514be91175f648634a7b8dd00fe45a3483feee` | Local upstream revision and manifest inspected while adding this record | Source identification only; no compatibility tests run against this revision | + +For each compatibility validation, append the date, exact Bar revision, T3 Code release channel and version or commit, OS and architecture, tested features, evidence reference, and unresolved limits. Distinguish synthetic contract checks, native app checks, and packaged installation checks. Keep private captures outside the public repository. A passing row covers only its listed features and environment. diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 046a432..45a87fd 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -63,3 +63,9 @@ To install the local pre-push check, run `bash scripts/setup_hooks.sh`. Build ou ## Native verification Automated tests do not establish native GUI or release acceptance. Test the actual packaged app for tray actions, panel visibility, hover, pairing, relaunch/reconnect, disconnect, settings persistence and notification routing. On macOS include Spaces and fullscreen; on Linux include tray loss and compositor-specific behavior. Keep private captures and receipts locally. + +## Repository checks on main + +The active `main-protection` GitHub ruleset requires `test-and-build (macos-15)` and `test-and-build (ubuntu-24.04)` from GitHub Actions. Both checks must pass against a branch updated with the current base. Keep the required-check names in sync with the CI matrix when renaming jobs or runner targets. The ruleset also blocks branch deletion and force-pushes. + +These are GitHub repository settings, not rules installed by cloning the source. See [Contributing](../CONTRIBUTING.md) for the submission process. diff --git a/docs/SUPPORT.md b/docs/SUPPORT.md new file mode 100644 index 0000000..c150846 --- /dev/null +++ b/docs/SUPPORT.md @@ -0,0 +1,23 @@ +# Product scope and support + +T3 Code Bar is an independent, community-maintained companion. It is not affiliated with or endorsed by T3 Tools. Changes to Bar must work without requiring a modified T3 Code installation. + +## Product scope + +Bar provides thread attention and navigation, reply previews, usage estimates, provider limits, notifications, and environment discovery and pairing. It uses local read-only data and authorized remote reads. T3 Code remains responsible for running agents and managing their work. + +New features are evaluated for usefulness, read-access boundaries, upstream compatibility, native platform behavior, and maintenance cost. An issue or prototype does not establish support for a feature. + +## Platforms and compatibility + +macOS Apple Silicon and Linux x86_64 are the current distribution targets. macOS requires 14 or later. Apple Silicon is the primary tested Mac architecture. Linux packages build on Ubuntu 24.04; native journeys have been exercised on Omarchy. Build coverage on Ubuntu does not establish native acceptance on every Debian or Ubuntu desktop. + +Intel Mac, minimum-version macOS acceptance, other Linux desktops, and other CPUs require separate validation. Windows is deferred. See [Compatibility](COMPATIBILITY.md) for runtime requirements, remote access limitations, and the version evidence record. + +T3 Code's internal SQLite projections, cache formats, and RPC contracts can change. Bar does not promise compatibility with every upstream release or provider response. Report both product versions when a reader or connection fails. + +## Maintenance + +[@eliophan](https://github.com/eliophan) is the primary maintainer and makes scope and merge decisions. Support and reviews happen as time permits, without an SLA. Bug fixes and compatibility repairs take priority over expanding platform scope. Security fixes follow [Security](../SECURITY.md). + +Use public issues for sanitized bug reports and feature proposals. Use private vulnerability reporting for security problems. Follow [Contributing](../CONTRIBUTING.md) for patches and the [Code of conduct](../CODE_OF_CONDUCT.md) for community participation.