diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 976780f2b05595fa56e22514ff56a0dc245c2df6..70b9b7c04b68c5719a3f05fa2ea84ecc7f1ae28a 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,7 +1,7 @@
{
// Runs the whole product in a GitHub Codespace (a cloud machine with 8 GB of memory), so full browser runs work
// without a laptop or a paid server. The application starts by itself; open the forwarded port 8800.
- "name": "Trio Co-Worker (demo)",
+ "name": "Patchwise (demo)",
"build": { "dockerfile": "../Dockerfile", "context": ".." },
"hostRequirements": { "cpus": 2, "memory": "8gb" },
// root inside this throwaway machine: avoids file-ownership differences between the image and the Codespace
@@ -18,7 +18,7 @@
},
"forwardPorts": [8800],
"portsAttributes": {
- "8800": { "label": "Trio Co-Worker", "onAutoForward": "openBrowser" }
+ "8800": { "label": "Patchwise", "onAutoForward": "openBrowser" }
},
"postStartCommand": "sh .devcontainer/start.sh"
}
diff --git a/.devcontainer/start.sh b/.devcontainer/start.sh
index 300cb14220b3b612df6b22ef1adb657ec362b746..a7b6af0f8392d2cfff5c840d0b5f17496c5c57de 100644
--- a/.devcontainer/start.sh
+++ b/.devcontainer/start.sh
@@ -27,7 +27,7 @@ else
fi
echo ""
-echo " Trio Co-Worker is running."
+echo " Patchwise is running."
echo " Open the PORTS tab, then the globe icon next to port 8800."
echo " Sign in with user: admin password: $(cat /data/demo-password.txt)"
echo ""
diff --git a/.env.example b/.env.example
index b81dfc6c665b69160ce0ad49be42efe73367dd47..dc3155c5291cdd2e521fa84671ebd3ec5cff0715 100644
--- a/.env.example
+++ b/.env.example
@@ -1,4 +1,4 @@
-# Trio Co-Worker settings. Copy to .env for local development; on a server set them as environment variables
+# Patchwise settings. Copy to .env for local development; on a server set them as environment variables
# (Hugging Face: Space variables and secrets; Render: environment group). Every setting has a safe default; the full
# list with types is coworker/config.py (class Settings). Settings are validated when the app starts and it refuses to
# start with a malformed value. Never commit a real .env (it is git-ignored).
@@ -13,7 +13,7 @@ FPT_COOKIE_SECURE=auto # auto | always (behind https) | never (plai
FPT_CORS_ORIGINS=["http://127.0.0.1:5173","http://localhost:5173"] # [] in production: the web app is same-origin
FPT_API_DOCS=1 # 0 on a public server: hides /api/docs and /api/openapi.json
FPT_EMBED_ORIGIN= # e.g. https://huggingface.co when the app is shown inside that site
-FPT_PRODUCT_NAME=Trio Co-Worker
+FPT_PRODUCT_NAME=Patchwise
FPT_ORG_NAME=
FPT_TZ=Asia/Kolkata # default time zone for new schedules
diff --git a/Dockerfile b/Dockerfile
index 7af05e4ef48e6fcbc575ec0da8fed4c1a7154d77..139e1d1d66802bf96ffcd38450d07b51ac6268d3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-# Trio Co-Worker: one application image (web app + API + workflow worker + test executor + practice pod).
+# Patchwise: one application image (web app + API + workflow worker + test executor + practice pod).
# Build from the project root: docker build -t patch-coworker:1.0.0 .
# Run with deploy/docker-compose.yml (adds Temporal and an HTTPS proxy). All customer data lives in the /data volume.
diff --git a/README.md b/README.md
index a1f99f01a3d81215190ca7c33ae370080883c204..c8605da1469314eccb7f422dd23c178d956eedf9 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
---
-title: Trio Co-Worker
+title: Patchwise
emoji: "๐งช"
colorFrom: indigo
colorTo: gray
@@ -8,9 +8,9 @@ app_port: 8800
pinned: false
---
-
+
-# Trio Co-Worker
+# Patchwise
A digital co-worker that tests Oracle Fusion Cloud business processes after the monthly and quarterly patches.
AI agents read what the patch changes and what the test environment has, choose test scenarios, run them in a real
diff --git a/config/coworker.yaml b/config/coworker.yaml
index aa21b79960e2dfe7fec0170d75f166f86e2c6d2a..907c17fdf4d7599747f285bc3086491da9c7abb8 100644
--- a/config/coworker.yaml
+++ b/config/coworker.yaml
@@ -1,4 +1,4 @@
-# Trio Co-Worker: NON-SECRET configuration (env vars and .env override every key; env wins).
+# Patchwise: NON-SECRET configuration (env vars and .env override every key; env wins).
# Secrets never go here: they live in the vault (var/secrets/vault.json or FPT_SECRET_* env).
# The only pod in this project is the LOCAL MOCK app (mock-app/, 127.0.0.1:3100). It is not Oracle Fusion.
diff --git a/coworker/README.md b/coworker/README.md
index ad8a35cce900338e464f18767bb4e46989cb2757..b98560fbe9dcfb3dc02a5a0febe46920dcfbb029 100644
--- a/coworker/README.md
+++ b/coworker/README.md
@@ -1,4 +1,4 @@
-# Trio Co-Worker (pilot)
+# Patchwise (pilot)
> **Mock app, not Oracle Fusion.** The only "pod" is the local mock (`mock-app/`, http://127.0.0.1:3100). No Oracle Fusion
> pod, credentials or client data exist in this project. Every report, the web app and the desktop app say so.
@@ -24,7 +24,7 @@ fpt.cmd down & rem stop what `up` started (
| `fpt.cmd up` / `down` | Temporal + worker (when `orchestrator: temporal`) + mock (if down) + backend (`/` = app, `/api` = API, `/api/docs` = OpenAPI UI). Builds `web/dist` if missing |
| `fpt.cmd web-dev` | Vite dev server on http://127.0.0.1:5173 proxying `/api` to :8800 (start the API with `fpt.cmd api`) |
| `fpt.cmd desktop` | Electron app in local mode (spawns the backend on a free port) |
-| `fpt.cmd package` | builds `web/dist`, then the NSIS installer `desktop\dist\Trio Co-Worker Setup 1.0.0.exe` (unsigned) |
+| `fpt.cmd package` | builds `web/dist`, then the NSIS installer `desktop\dist\Patchwise Setup 1.0.0.exe` (unsigned) |
| `fpt.cmd create-user --username U --role viewer\|consultant\|qa_approver\|admin [--password-env VAR \| --password-stdin]` | local user |
| `fpt.cmd test` | coworker pytest + coworker selftest + architecture selftest (27) + triage tests (71) |
| `fpt.cmd selftest [--live]` | offline end-to-end checks (35); `--live` adds 3 real P2P cases in Chromium against the mock |
diff --git a/coworker/__main__.py b/coworker/__main__.py
index 6303b08e4655d8c967c81491355dcebb9ffa85d8..3998fddb362b6bd0211cb5b11dd05b38b035b180 100644
--- a/coworker/__main__.py
+++ b/coworker/__main__.py
@@ -204,7 +204,7 @@ def cmd_up(a) -> int:
if loopback_ok(url + "/api/ready", timeout=2):
break
time.sleep(0.5)
- print(f"\nTrio Co-Worker is up: {url} (API docs {url}/api/docs)", flush=True)
+ print(f"\nPatchwise is up: {url} (API docs {url}/api/docs)", flush=True)
if cfg.orchestrator == "temporal":
print(f"Temporal Web UI: {cfg.temporal_ui_url} (worker log var/logs/worker.out.log)", flush=True)
print("Target: mock app on " + cfg.pod_base_url + " -- MOCK APP, NOT ORACLE FUSION. Ctrl+C or `fpt.cmd down` to stop.", flush=True)
diff --git a/coworker/api/app.py b/coworker/api/app.py
index 71d751c9335be661c4a8fc8094f18a656c408ac5..34b69272a6c527d9862eedd93fc5b77ad1c5c224 100644
--- a/coworker/api/app.py
+++ b/coworker/api/app.py
@@ -74,7 +74,7 @@ def create_app(svc: Services | None = None, cfg: Settings | None = None, *, back
if syncer:
syncer.stop()
- app = FastAPI(title="Trio Co-Worker API", version=VERSION, lifespan=lifespan,
+ app = FastAPI(title="Patchwise API", version=VERSION, lifespan=lifespan,
description="Pilot backend. Runs against the local mock app or a registered Oracle Fusion TEST pod (never production); "
"every run and report names its target.",
docs_url="/api/docs" if svc.cfg.api_docs else None, redoc_url=None,
diff --git a/coworker/config.py b/coworker/config.py
index 52c69a98dc3b0b69e7a4dd30551c168394157fa3..427835ed744880548ba2ae549cd9950d4fb416ac 100644
--- a/coworker/config.py
+++ b/coworker/config.py
@@ -37,7 +37,7 @@ class Settings(BaseSettings):
web_dist: Path = Field(default=ROOT / "web" / "dist", validation_alias=_alias("fpt_web_dist", "web_dist"))
oidc_issuer: str = ""
# shown in the menu and on the sign-in page (a reseller or customer can set its own)
- product_name: str = Field("Trio Co-Worker", validation_alias=_alias("fpt_product_name", "product_name"))
+ product_name: str = Field("Patchwise", validation_alias=_alias("fpt_product_name", "product_name"))
org_name: str = Field("", validation_alias=_alias("fpt_org_name", "org_name"))
# ---- Supabase (optional): identity provider for sign-in / registration, and storage for the encrypted state archive.
diff --git a/coworker/platform/assets/wordmark-horizontal-light.svg b/coworker/platform/assets/wordmark-horizontal-light.svg
index ee422c932f296e9fce14ed89c5a25b874c7291fb..f17e5bd48f067bda39934c5b782e449045bfb9ff 100644
--- a/coworker/platform/assets/wordmark-horizontal-light.svg
+++ b/coworker/platform/assets/wordmark-horizontal-light.svg
@@ -1,21 +1 @@
-
+
diff --git a/coworker/platform/brand.py b/coworker/platform/brand.py
index dd7278b9312828c6fc18aa642a87a4672263c6de..33d3e5cefb8c5b17534201b84293812738fad2ef 100644
--- a/coworker/platform/brand.py
+++ b/coworker/platform/brand.py
@@ -1,6 +1,6 @@
"""The product name and logo for documents (report HTML/PDF, Excel). The web app reads the name from /api/ready (product_name).
-The logo is concept A, "Visor" (docs/design/brand/BRAND.md): a graphite bot head with a person in its face plate and one green status dot.
+The logo is the orbit mark (docs/design/brand/BRAND.md): three agents on orbits around a release core, one green "tested" node.
The wordmark in the asset is outlined paths (no font needed), so it renders the same in PDF, email and on machines without Inter."""
from __future__ import annotations
@@ -11,8 +11,8 @@ from pathlib import Path
from ..config import VERSION
-NAME = "Trio Co-Worker"
-LEGAL = "Trio Co-Worker is independent software. Oracle and Fusion are trademarks of Oracle Corporation."
+NAME = "Patchwise"
+LEGAL = "Patchwise is independent software. Oracle and Fusion are trademarks of Oracle Corporation."
_WORDMARK = Path(__file__).with_name("assets") / "wordmark-horizontal-light.svg"
diff --git a/coworker/platform/test_script.py b/coworker/platform/test_script.py
index 973daa44da074f2eadf0f80ebb20a16e2e3ffaf7..a84ee32387fa17e1d8a125ed17fe72f9cfa2a886 100644
--- a/coworker/platform/test_script.py
+++ b/coworker/platform/test_script.py
@@ -54,7 +54,7 @@ def build(run: dict, scenarios: list[dict], failures: list[dict], *, area_names:
# business order: by area, then the process flow (Requisition before Purchase order...), then scenario id
scenarios = sorted(scenarios, key=lambda x: (x.get("module") or "", order.get(x.get("step") or "", 999), x.get("step") or "~", x["id"]))
wb = Workbook()
- wb.properties.creator = "Trio Co-Worker"
+ wb.properties.creator = "Patchwise"
# ---- Read me
ws = wb.active
@@ -63,7 +63,7 @@ def build(run: dict, scenarios: list[dict], failures: list[dict], *, area_names:
ws.column_dimensions["B"].width = 96
areas = sorted({s.get("module") or "" for s in scenarios})
rows = [
- ("Test script", "Trio Co-Worker"),
+ ("Test script", "Patchwise"),
("Test run", run.get("run_id")),
("Test environment", (run.get("inputs") or {}).get("pod_name") if isinstance(run.get("inputs"), dict) else None),
("Patch", run.get("patch_id") or "the release the pod reports"),
diff --git a/coworker/tests/test_brand.py b/coworker/tests/test_brand.py
index fd626b40315f0539357dfc4783a0a110eb1283c0..e2f52ed06cfbea94fd78f9838f2269bffb9ab439 100644
--- a/coworker/tests/test_brand.py
+++ b/coworker/tests/test_brand.py
@@ -1,4 +1,4 @@
-"""The product is "Trio Co-Worker": default name, API docs title, and the report header and footer."""
+"""The product is "Patchwise": default name, API docs title, and the report header and footer."""
from __future__ import annotations
import unittest
@@ -9,21 +9,21 @@ from coworker.platform import brand
class TestBrand(unittest.TestCase):
def test_default_product_name(self):
- self.assertEqual(Settings().product_name, "Trio Co-Worker")
+ self.assertEqual(Settings().product_name, "Patchwise")
def test_report_header_has_the_wordmark_as_a_data_uri(self):
h = brand.header_html()
self.assertIn("data:image/svg+xml;base64,", h) # one self-contained file: no external logo request
- self.assertIn("alt='Trio Co-Worker'", h)
+ self.assertIn("alt='Patchwise'", h)
- def test_the_logo_is_the_visor_mark_with_an_outlined_wordmark(self):
+ def test_the_logo_is_the_orbit_mark_with_an_outlined_wordmark(self):
import base64
h = brand.header_html()
svg = base64.b64decode(h.split("base64,")[1].split("'")[0]).decode("utf-8")
self.assertNotIn(" AI models). Values saved there win over these.
diff --git a/deploy/DEPLOY.md b/deploy/DEPLOY.md
index 6b8bdbd0ac8ce967f268fd58bc3942b1adf706d7..ad2e454b5257cef3ac2a43d428b41ffaf4aaaaca 100644
--- a/deploy/DEPLOY.md
+++ b/deploy/DEPLOY.md
@@ -1,4 +1,4 @@
-# Deploying Trio Co-Worker in a customer's cloud
+# Deploying Patchwise in a customer's cloud
One deployment serves one customer. Everything the product stores stays on the customer's own server, in Docker
volumes: nothing is kept outside their environment.
diff --git a/deploy/docker-compose.yml b/deploy/docker-compose.yml
index 560aeb7aba2733b9b5e05d3e15be6a6ab0fb1df4..a207cfc406a9fc814e6acc200bf751f0acd00831 100644
--- a/deploy/docker-compose.yml
+++ b/deploy/docker-compose.yml
@@ -1,4 +1,4 @@
-# Trio Co-Worker: single-tenant deployment for one customer environment.
+# Patchwise: single-tenant deployment for one customer environment.
# cp .env.example .env (edit it) then: docker compose up -d
# Three containers: the application, Temporal (durable workflows) and Caddy (HTTPS). All customer data stays in the
# named volumes on this host: nothing is stored outside the customer's environment.
diff --git a/desktop/package.json b/desktop/package.json
index f6d2ad4239e79d4cdb1cb1b0bbfb5a180c5aee1c..6c0b23a71c92f43bfa3aba8700b4399af428026f 100644
--- a/desktop/package.json
+++ b/desktop/package.json
@@ -1,8 +1,8 @@
{
"name": "fpt-desktop",
- "productName": "Trio Co-Worker",
+ "productName": "Patchwise",
"version": "1.0.0",
- "description": "Windows desktop shell for Trio Co-Worker (loads the same web app). Mock app, not Oracle Fusion.",
+ "description": "Windows desktop shell for Patchwise (loads the same web app). Mock app, not Oracle Fusion.",
"main": "src/main.js",
"author": "FPT pilot team",
"license": "UNLICENSED",
@@ -19,11 +19,11 @@
},
"build": {
"appId": "local.fpt.coworker",
- "productName": "Trio Co-Worker",
+ "productName": "Patchwise",
"directories": { "output": "dist", "buildResources": "build" },
"files": ["src/**/*", "build/icon.png", "build/icon.ico", "package.json"],
"win": { "target": [{ "target": "nsis", "arch": ["x64"] }], "icon": "build/icon.ico", "signAndEditExecutable": false },
- "nsis": { "oneClick": false, "perMachine": false, "allowToChangeInstallationDirectory": true, "createDesktopShortcut": true, "shortcutName": "Trio Co-Worker", "installerIcon": "build/icon.ico", "uninstallerIcon": "build/icon.ico" },
+ "nsis": { "oneClick": false, "perMachine": false, "allowToChangeInstallationDirectory": true, "createDesktopShortcut": true, "shortcutName": "Patchwise", "installerIcon": "build/icon.ico", "uninstallerIcon": "build/icon.ico" },
"forceCodeSigning": false
}
}
diff --git a/desktop/src/loading.html b/desktop/src/loading.html
index 4917918e4ae750f039f2fe896dc6337221f4c0e3..158620ecf9e89833274b3ebb33eb4f57ad6a40c2 100644
--- a/desktop/src/loading.html
+++ b/desktop/src/loading.html
@@ -1,6 +1,6 @@
-Starting Trio Co-Worker
+Starting Patchwise
MOCK APP, NOT ORACLE FUSION
Starting the co-worker...
Starting the local backend and waiting for it to be ready (or contacting the server).