Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @lucbocahut
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Bug report
description: Report something in Forge that does not work as documented.
labels: [bug]
body:
- type: markdown
attributes:
value: |
**Do not paste secrets.** Remove API keys, GitHub App private keys, tokens, cookies and provider logins before submitting. Worker output and service logs can contain tokens: redact them, or share only the lines that matter.

Security vulnerabilities must not be reported here. Use **Report a vulnerability** on the repository's Security tab instead.
- type: textarea
id: what-happened
attributes:
label: What happened
description: What you did, what you expected, and what happened instead.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: The smallest sequence of steps that shows the problem.
placeholder: |
1.
2.
3.
validations:
required: true
- type: input
id: revision
attributes:
label: Forge revision
description: The commit or release you are running.
- type: dropdown
id: area
attributes:
label: Area
options:
- Installation or update
- Operator UI
- Workers and coding accounts
- GitHub publication and merging
- Other
- type: textarea
id: logs
attributes:
label: Relevant output
description: Redacted log lines or error messages. Check again that no tokens or keys are included.
render: text
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Feature request
description: Suggest a change or new capability for Forge.
labels: [enhancement]
body:
- type: textarea
id: problem
attributes:
label: Problem
description: What are you trying to do, and what gets in the way today?
validations:
required: true
- type: textarea
id: proposal
attributes:
label: Proposal
description: The change you would like to see.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives considered
description: Other approaches or workarounds you have tried.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,9 @@ runner-seccomp.json
!/ui/tests/e2e/fixtures/setup/
!/ui/tests/e2e/fixtures/setup/**
.superpowers/

# Build and OS artifacts
.DS_Store
*.egg-info/
build/
dist/
134 changes: 134 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, caste, color, religion, or sexual
identity and orientation.

We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that contributes to a positive environment for our
community include:

* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the overall
community

Examples of unacceptable behavior include:

* The use of sexualized language or imagery, and sexual attention or advances of
any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email address,
without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Enforcement Responsibilities

Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.

Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.

## Scope

This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement privately through
the repository's **Security** tab: choose **Report a vulnerability** to open a
private report that only the maintainers can see, and state that it is a Code of
Conduct report. Do not report conduct issues in public issues or discussions.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
reporter of any incident.

## Enforcement Guidelines

Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:

### 1. Correction

**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.

**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.

### 2. Warning

**Community Impact**: A violation through a single incident or series of
actions.

**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or permanent
ban.

### 3. Temporary Ban

**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.

**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.

### 4. Permanent Ban

**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.

**Consequence**: A permanent ban from any sort of public interaction within the
community.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.1, available at
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].

Community Impact Guidelines were inspired by
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].

For answers to common questions about this code of conduct, see the FAQ at
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
[https://www.contributor-covenant.org/translations][translations].

[homepage]: https://www.contributor-covenant.org
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2026 Forge contributors
Copyright (c) 2026 Luc Bocahut

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 5 additions & 8 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@

## Report a vulnerability

Use [GitHub's private vulnerability report](https://github.com/XRPL-Commons/forge/security/advisories/new)
when available. Private reporting availability has **not yet been verified for
this release**. If GitHub does not offer **Report a vulnerability**, open a
[Security contact request](https://github.com/XRPL-Commons/forge/issues/new?title=Security%20contact%20request)
asking the maintainers for a private channel. Include no vulnerability details
in that public request; wait for the private channel before sending them.
Report vulnerabilities privately through GitHub: open the repository's
**Security** tab and choose **Report a vulnerability**, or go directly to
[the private report form](https://github.com/XRPL-Commons/forge/security/advisories/new).
Do not open a public issue for a vulnerability.

Do not publish exploit details, credentials, private source or raw worker output.
A private report should identify the affected Forge revision, deployment type,
Expand Down Expand Up @@ -60,8 +58,7 @@ The mechanisms above are implemented contracts, not a claim that every host,
provider or repository has passed live qualification. Setup checks the installed
runner and provider; publication requires evidence for its current target and
App context. Synthetic tests and sandbox canaries do not prove a complete
production issue-to-merge journey. Track that acceptance separately in the
[onboarding release audit](docs/onboarding-release-audit.md).
production issue-to-merge journey.

Resource admission, timeouts and memory limits reduce resource exhaustion. They
do not isolate credentials or establish authorization. Do not weaken ownership,
Expand Down
1 change: 0 additions & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ The four operator Help guides (shown in the UI) are marked **Help**.
## Status and direction

- [Implementation status](implementation.md)
- [Current architecture target](target-architecture.md)
- Security boundaries: [SECURITY.md](../SECURITY.md)

## Operator UI
Expand Down
4 changes: 1 addition & 3 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Configuration refers to stored credentials by name (`private_key_env`, `provider

| Variable | Read by | Default | Purpose |
|---|---|---|---|
| `FORGE_ROOT` | `legacy/forge-status.py`, UI help route | `~/ops/forge-watchdog` (API); `/app` in the UI container | Runtime root: state, configuration, credentials |
| `FORGE_ROOT` | `legacy/forge-status.py`, UI help route | set by setup for the API; `/app` in the UI container | Runtime root: state, configuration, credentials |
| `FORGE_BIND_ADDRESS` | `legacy/forge-status.py` | none; must be `127.0.0.1` | Status API listen address. The API refuses to start otherwise |
| `FORGE_PORT` | `legacy/forge-status.py` | `8787` in code; setup writes `8788` | Status API port (the UI takes 8787) |
| `FORGE_UPSTREAM_SECRET_FILE` | `legacy/forge-status.py` | `<root>/state/ui-upstream.secret` | Secret proving requests came through the UI proxy |
Expand Down Expand Up @@ -42,5 +42,3 @@ Forge sets these itself. Do not set them by hand.
| `FORGE_EGRESS_IMAGE`, `FORGE_EGRESS_USER` | `forge/host_update.py` | Egress proxy build inputs |
| `FORGE_ASSIGNMENT`, `FORGE_RESULT`, `FORGE_HARNESS_AUTH`, `FORGE_AUTH_DIGEST`, `FORGE_PROBE_SECRET`, `GH_TOKEN` | runner → worker container | Per-job assignment, result path, provider login and scoped GitHub token |
| `FORGE_REQUIRED_SERVICES` | runner (full tier) | Services `forge-services` starts for a job; see `docs/job-environments.md` |

The legacy tmux supervisor's `MAX_SESSIONS*`, `FORGE_*_BIN` and triage variables were removed with it (#110) and are no longer read.
19 changes: 0 additions & 19 deletions docs/dependency-review.md

This file was deleted.

8 changes: 0 additions & 8 deletions docs/implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,3 @@ structured results and active/pinned evidence. See [schema upgrades](store-migra
Implemented behavior is distinct from release qualification. Synthetic lifecycle,
restart and boundary tests and real sandbox canaries provide specific evidence;
they do not prove an authenticated production workflow for every deployment.

The release acceptance batch must follow the public setup instructions on a clean
supported host, recover interrupted consent and login, complete the first-merge
test, and finish ordinary and combined work with the intended approval policy.
Measure the full operator journey separately from the saved installation timer,
which currently starts after the interview. Track receipts and remaining gaps in
the [onboarding release audit](onboarding-release-audit.md). This document does not
claim that those live acceptance runs or the historical latency target have passed.
Loading
Loading