# Contributing, questions, and requests I want the input. Questions, requests, and contributions have three lanes. ## Where to reach me | Lane | Use it for | | --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [GitHub Issues](https://github.com/sylin-org/ghostlight/issues) | Bugs, defects, anything reproducible. | | [GitHub Discussions](https://github.com/sylin-org/ghostlight/discussions) | Questions, ideas, feature requests, policy patterns, show-and-tell. | | hello@sylin.org | Anything that cannot be public: security reports (see [SECURITY.md](SECURITY.md)), licensing questions, or a compliance team that cannot post publicly. | Use a public lane where you can: an answered question becomes documentation, and a discussed request becomes a visible roadmap decision. Everyone gets my best effort. ## How requests are evaluated Every request gets a disposition and the reasoning behind it: accepted (and roughly when), deferred (and what would change that), or declined (and why). The filter is the project's recorded vision, not taste of the day: - **User delight first; governance that never punishes the ungoverned.** All-open stays first-class. The free path is the only path, and features must make it better. - **One meaningful 1.0 language.** Tool names, schemas, defaults, terminal truth, and recovery language are owned by the orchestrator and recorded in [docs/1.0/LANGUAGE.md](docs/1.0/LANGUAGE.md). Requests are evaluated as user jobs, not as client-specific aliases or low-level browser commands. - **Stable fringes.** Product and journey evolution belongs in the orchestrator. The edge, the relay, and the extension change only when their actual edge mechanisms or versioned contracts must change. - **Never phone home.** Telemetry, activation servers, and update pings are permanently out ([ADR-0028](docs/adr/0028-tripwire-licensing-and-continuity-promise.md)). - **Lean engine.** Fewer, more meaningful moving parts win over feature count. No generic event bus, actor framework, workflow engine, CQRS split, reflection registry, or microservice is added without a demonstrated boundary that the current modular monolith cannot express. A request that fits the vision and comes with a concrete use case (especially from a team running Ghostlight governed in anger) carries real weight. ## Contributing code The whole repository is Apache-2.0 OR MIT ([ADR-0140](docs/adr/0140-fully-open-source-licensing.md)). Contributions are accepted under the [Developer Certificate of Origin](https://developercertificate.org/); sign off your commits (`git commit -s`). Inbound = outbound, everywhere, including `crates/orchestrator/src/governance/`. Practical expectations for PRs: CI (.github/workflows/ci.yml) green -- it runs the layers listed under Running tests locally plus formatting, clippy -D warnings and JavaScript syntax checks; ASCII source and documentation; match the surrounding code's style; and protect each distinct contract once at its narrowest seam. For anything larger than a small fix, open a Discussion or Issue first so nobody builds the wrong thing. ### The dev loop: seeing your changes live Ghostlight runs one service with independently reconnecting MCP and browser shores. A service, workbench, or bundled-UI change rebuilds and restarts `ghostlight-service`; it does not require a relay or adapter edit. A privileged browser-mechanism change requires an explicit reload of the affected browser adapter. [docs/DEV-LOOP.md](docs/DEV-LOOP.md) has the exact refresh matrix and isolated process journey. ### Running tests locally CI runs these commands: - `cargo fmt --all -- --check` - `cargo clippy --workspace --all-targets --locked -- -D warnings` - `cargo test --workspace` - `npm test --prefix extension` - `node --test "crates/orchestrator/src/browser/adapter/chromium/protocol4/assets/tests/*.test.js"` (the page assets; no `npm install` needed) The process journeys in `tests/` use the executables in `.target-ghostlight-1.0`. If you built into another directory, set `GHOSTLIGHT_BIN_DIR`, or they pass against stale binaries and tell you nothing. `node tests/hardening-suite.mjs` with `GHOSTLIGHT_TEST_BROWSER` set runs every lane and fails on missing browser prerequisites. Journey details are in [docs/DEV-LOOP.md](docs/DEV-LOOP.md). Visible browser journeys and native tray/notification smoke tests remain release gates because a green unit suite cannot substitute for the user's actual desktop and browser. The [pre-release integration guide](docs/testing/pre-release-integration.md) includes the opt-in installed Windows journey and the Linux release matrix. That journey briefly removes owned native registrations and crashes the installed processes while keeping Chrome open; run it only on an idle development or dedicated acceptance installation. The [coverage and execution guide](docs/tasks/security-hardening/regression-suite.md) maps every implemented session feature to its tests. A browser or governance change must preserve allowed work as well as refusals; verify retained values and actual effects independently of the returned receipt. ## What not to report publicly Suspected vulnerabilities go to hello@sylin.org with "SECURITY" in the subject, per [SECURITY.md](SECURITY.md). Everything else is fair game in the open.