@capagents/forgeqe 3.0.3 → 3.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/HOW_TO_USE.md +190 -189
- package/README.md +12 -12
- package/THIRD_PARTY_NOTICES.md +2 -2
- package/dist/docs-site/architecture-map/index.html +6 -6
- package/dist/docs-site/docs/architecture/index.html +31 -31
- package/dist/docs-site/docs/containers/index.html +9 -10
- package/dist/docs-site/docs/custom-agents-first-run/index.html +5 -5
- package/dist/docs-site/docs/desktop/index.html +8 -10
- package/dist/docs-site/docs/feature-test-prompts/index.html +4 -4
- package/dist/docs-site/docs/graphify/index.html +1 -1
- package/dist/docs-site/docs/index.html +214 -165
- package/dist/docs-site/docs/mobile/index.html +6 -6
- package/dist/docs-site/docs/model-routing/index.html +58 -10
- package/dist/docs-site/docs/product-graph/index.html +3 -3
- package/dist/docs-site/docs/product-views/index.html +1 -1
- package/dist/docs-site/docs/search.js +1 -1
- package/dist/docs-site/docs/web-app/index.html +6 -6
- package/dist/forgeqe.js +1851 -1820
- package/dist/template.html +69 -69
- package/dist/web/assets/Agent-CKlqZ4Eq.js +8 -0
- package/dist/web/assets/ApiTests-MARHrxdT.js +10 -0
- package/dist/web/assets/Browse-B2QYflth.js +2 -0
- package/dist/web/assets/Chat-DRkmiF4r.js +5 -0
- package/dist/web/assets/{CommandPalette-CAAPFMZn.js → CommandPalette-DMpA8mBk.js} +1 -1
- package/dist/web/assets/{Compare-DZfbMjDK.js → Compare-DD1mmRB4.js} +1 -1
- package/dist/web/assets/Cost-B6BCZIxQ.js +1 -0
- package/dist/web/assets/Data-CpKR98gM.js +6 -0
- package/dist/web/assets/{Desktop-sXYXYwRy.js → Desktop-xUqFsJPz.js} +1 -1
- package/dist/web/assets/{DesktopReview-Bz6bfPkM.js → DesktopReview-CnLC9yMR.js} +1 -1
- package/dist/web/assets/{Evidence-CijYL67k.js → Evidence-CWcZvoOu.js} +1 -1
- package/dist/web/assets/{Explore-DZ5PoVZp.js → Explore-DuDQqmEn.js} +2 -2
- package/dist/web/assets/{Features-BvZfZIb7.js → Features-BJTX7utr.js} +1 -1
- package/dist/web/assets/{Flags-B_-HOAeZ.js → Flags-BeG_gA9O.js} +2 -2
- package/dist/web/assets/{Flaky-CWyV0rE3.js → Flaky-DulQuBGi.js} +1 -1
- package/dist/web/assets/Impact-BvGp2rYG.js +3 -0
- package/dist/web/assets/Jobs-BXqBtH8C.js +5 -0
- package/dist/web/assets/KindPage-BGEobnS3.js +6 -0
- package/dist/web/assets/Migration-D1JVUQM0.js +2 -0
- package/dist/web/assets/{Product-BeHmrA7Z.js → Product-Y1dUpFfW.js} +2 -2
- package/dist/web/assets/{Production-Dakb3WS-.js → Production-DY9Gddm8.js} +1 -1
- package/dist/web/assets/{Quality-CcrANX20.js → Quality-B7M1Zna2.js} +1 -1
- package/dist/web/assets/{Readiness-DvYQ17Oh.js → Readiness-BtQ8RbJh.js} +1 -1
- package/dist/web/assets/Record-W7ojjKNu.js +2 -0
- package/dist/web/assets/Regression-eV2N8m2P.js +5 -0
- package/dist/web/assets/{RelationGraph-evMcSFoO.js → RelationGraph-C7K_BfEF.js} +1 -1
- package/dist/web/assets/{Reports--eyV0Gfp.js → Reports-D4v66mJR.js} +2 -2
- package/dist/web/assets/Response-B_2R4FjH.js +4 -0
- package/dist/web/assets/{RunDiff-DwEopDsx.js → RunDiff-Br5uN0Gu.js} +1 -1
- package/dist/web/assets/Runs-DvjM0xfG.js +2 -0
- package/dist/web/assets/{Steps-DxPqrmZK.js → Steps-DULf0k5w.js} +1 -1
- package/dist/web/assets/{TestCases-93xQKkMT.js → TestCases-Dc6bjNO5.js} +1 -1
- package/dist/web/assets/TestData-DWPcmhz4.js +2 -0
- package/dist/web/assets/{TestDebt-CE62ftuJ.js → TestDebt-BpYav19x.js} +1 -1
- package/dist/web/assets/Tosca-Bw-j_W-Q.js +3 -0
- package/dist/web/assets/{WhatsNew-lX-LhWKt.js → WhatsNew-CRaJjaut.js} +1 -1
- package/dist/web/assets/agentLink-Dxy-IYQv.js +1 -0
- package/dist/web/assets/{dataParts-LCnV1x8c.js → dataParts-Bwh_DOs0.js} +1 -1
- package/dist/web/assets/{families-DLmHA4rL.js → families-C47Nrp6j.js} +1 -1
- package/dist/web/assets/filters-Ca7by1u0.js +1 -0
- package/dist/web/assets/{fold-pif2b5qg.js → fold-Bd5-4sjR.js} +1 -1
- package/dist/web/assets/frame-BliO67Wd.js +18 -0
- package/dist/web/assets/index-B1U2Jkz_.js +67 -0
- package/dist/web/assets/index-Ce2EYROA.css +2 -0
- package/dist/web/assets/{logos-gqcS1A90.js → logos-CgYEz85j.js} +1 -1
- package/dist/web/assets/{markdown-BcuknPlh.js → markdown-DSp3tP8i.js} +5 -5
- package/dist/web/assets/{paletteCommands-qeRU49pp.js → paletteCommands-CGFwmBxN.js} +1 -1
- package/dist/web/assets/{parts-C7nGHnut.js → parts-DlmbVDzO.js} +1 -1
- package/dist/web/assets/{productParts-3lWHIbdH.js → productParts-CL2tDIGF.js} +1 -1
- package/dist/web/assets/{qualityParts-B-TQusS6.js → qualityParts-Bs34Dzva.js} +1 -1
- package/dist/web/assets/recordTest-DHsT3pOe.js +1 -0
- package/dist/web/assets/{rows-vVKLONno.js → rows-Baid_ASt.js} +1 -1
- package/dist/web/assets/{segmented-Bi4QAoQY.js → segmented-D0PvwMW_.js} +1 -1
- package/dist/web/assets/{usePageChat-De5Fn1X3.js → usePageChat-lmgkgnb4.js} +1 -1
- package/dist/web/index.html +5 -5
- package/docs/ARCHITECTURE.md +30 -30
- package/docs/BUSINESS_ASSURANCE.md +7 -7
- package/docs/CONTAINERS.md +8 -10
- package/docs/CUSTOM_AGENTS_FIRST_RUN.md +4 -4
- package/docs/DESKTOP.md +8 -10
- package/docs/GRAPHIFY.md +1 -1
- package/docs/MOBILE.md +6 -6
- package/docs/MODEL_ROUTING.md +57 -9
- package/docs/PRODUCT_KNOWLEDGE.md +3 -3
- package/docs/PRODUCT_VIEWS.md +1 -1
- package/docs/WEB_APP.md +6 -6
- package/docs/demo-qi-commerce.md +30 -30
- package/docs/feature-test-prompts.md +3 -3
- package/docs/prompts/graphify-evidence.md +3 -3
- package/docs/security-data-flow.html +23 -23
- package/docs/user-guide.html +214 -165
- package/docs/walkthrough/hotfix-narration.md +19 -19
- package/docs/walkthrough/index.html +26 -26
- package/env.example.yaml +1 -1
- package/evals/evidence/records/forgeqe-test-writing/source.jsonl +1 -1
- package/forgeqe-architecture.html +48 -48
- package/forgeqe.example.yaml +16 -10
- package/package.json +1 -1
- package/prompts/README.md +7 -7
- package/prompts/agent-builder.md +1 -1
- package/prompts/api-tests.md +1 -1
- package/prompts/brain.md +8 -5
- package/prompts/business-interview.md +3 -3
- package/prompts/business-persona.md +3 -3
- package/prompts/business-strategist.md +1 -1
- package/prompts/db-agent.md +3 -3
- package/prompts/doc-reader.md +2 -2
- package/prompts/heal.md +1 -1
- package/prompts/knowledge-agent.md +3 -3
- package/prompts/model-profile.md +1 -1
- package/prompts/page-differs.md +1 -1
- package/prompts/persona-own.md +3 -3
- package/prompts/talk.md +3 -2
- package/prompts/test-agent.md +2 -2
- package/prompts/test-plan.md +2 -2
- package/prompts/tosca-assistant.md +1 -1
- package/py/forgeqe_engine/copilot_gateway.py +1 -1
- package/py/forgeqe_engine/memory.py +48 -2
- package/py/forgeqe_engine/recordsession.py +31 -1
- package/py/forgeqe_engine/video.py +104 -12
- package/py/forgeqe_engine/webrecord_page.py +88 -7
- package/py/forgeqe_tosca/__init__.py +2 -2
- package/py/forgeqe_tosca/render.py +1 -1
- package/py/forgeqe_tosca/tsu.py +2 -2
- package/skills/playwright-automation/SKILL.md +102 -0
- package/skills/playwright-automation/references/dotnet.md +90 -0
- package/skills/playwright-automation/references/java.md +41 -0
- package/skills/playwright-automation/references/python.md +42 -0
- package/skills/playwright-automation/references/typescript.md +54 -0
- package/skills/test-data/SKILL.md +1 -1
- package/skills/writing-skills/SKILL.md +2 -2
- package/dist/web/assets/Agent-Bha4Lr91.js +0 -8
- package/dist/web/assets/ApiTests-xhnOnRi9.js +0 -10
- package/dist/web/assets/Browse-DPfzCrMZ.js +0 -2
- package/dist/web/assets/Chat-DuLj5IPw.js +0 -5
- package/dist/web/assets/Cost-PNcsRgPW.js +0 -1
- package/dist/web/assets/Data-DaKzcO_S.js +0 -6
- package/dist/web/assets/Impact-BqHiKxoG.js +0 -3
- package/dist/web/assets/Jobs-DUfRHoko.js +0 -5
- package/dist/web/assets/KindPage-Dj3vryGF.js +0 -6
- package/dist/web/assets/Migration-CP3o4tLy.js +0 -2
- package/dist/web/assets/Record-V7x9VxRQ.js +0 -2
- package/dist/web/assets/Regression-DgXh0V-X.js +0 -5
- package/dist/web/assets/Response-B1S-n787.js +0 -4
- package/dist/web/assets/Runs-B6bSGdrI.js +0 -2
- package/dist/web/assets/TestData-BiW5r9gA.js +0 -2
- package/dist/web/assets/Tosca-CrvuVNqG.js +0 -3
- package/dist/web/assets/agentLink-ZQZx1pK-.js +0 -1
- package/dist/web/assets/filters-CorGh2vA.js +0 -1
- package/dist/web/assets/frame-BgpCUEoM.js +0 -18
- package/dist/web/assets/index-0YhzcgZJ.css +0 -2
- package/dist/web/assets/index-CEVZ8F8_.js +0 -67
- package/dist/web/assets/recordTest-BmD8jtw0.js +0 -1
- package/skills/dotnet-nunit-playwright/SKILL.md +0 -36
- package/skills/playwright-typescript/SKILL.md +0 -36
|
@@ -1002,13 +1002,13 @@ td{color:var(--ink2)}
|
|
|
1002
1002
|
[["t", "right", 50, "r"], ["s", "right", 50, "rs"]]),
|
|
1003
1003
|
card("docs", 300, 50, "local", "Project docs & skills", "Case files, specs and skill notes in your project folder", "KNOWLEDGE · LOCAL",
|
|
1004
1004
|
[["s", "bottom", 50, "b"]]),
|
|
1005
|
-
card("orch", 300, 240, "agent", "
|
|
1005
|
+
card("orch", 300, 240, "agent", "Atlas", "Understands your request, plans, and calls ForgeQE's tools", "AGENT · LOCAL",
|
|
1006
1006
|
[["t", "left", 50, "l"], ["s", "left", 20, "lw"], ["s", "left", 6, "lk"], ["t", "top", 50, "t"], ["s", "right", 20, "r1"], ["s", "right", 50, "r2"], ["s", "right", 80, "r3"]]),
|
|
1007
1007
|
card("store", 300, 430, "local", "Local storage & secrets", "Page memory, reports, screenshots, logs, saved logins and keys", "LOCAL",
|
|
1008
1008
|
[["t", "left", 50, "l"], ["t", "right", 35, "rin"], ["s", "right", 75, "rout"]]),
|
|
1009
1009
|
card("tw", 620, 50, "agent", "Test-writing agent", "Turns a passed run into a test in your repo's own framework", "AGENT · LOCAL",
|
|
1010
1010
|
[["t", "left", 75, "l"], ["s", "left", 30, "lr"], ["s", "right", 50, "r"]]),
|
|
1011
|
-
card("br", 620, 430, "agent", "
|
|
1011
|
+
card("br", 620, 430, "agent", "WebPilot + Chrome", "Carries out the task in a real browser on this machine", "AGENT · LOCAL",
|
|
1012
1012
|
[["t", "left", 12, "l"], ["s", "left", 35, "lo"], ["t", "left", 75, "li"], ["s", "right", 20, "rl"], ["s", "right", 50, "ra"]]),
|
|
1013
1013
|
card("llm", 940, 50, "org", "Your LLM deployment", "For example Azure OpenAI in your tenant, behind your private endpoint", "YOUR CLOUD",
|
|
1014
1014
|
[["t", "left", 15.5, "l1"], ["t", "left", 76.8, "l2"], ["t", "left", 90, "l3"]],
|
|
@@ -1018,9 +1018,9 @@ td{color:var(--ink2)}
|
|
|
1018
1018
|
];
|
|
1019
1019
|
const INFO = {
|
|
1020
1020
|
you: ["You", "You describe what you want: a task to carry out in a browser, test cases to run, or a test to write. Everything starts here and the result comes back here."],
|
|
1021
|
-
orch: ["
|
|
1021
|
+
orch: ["Atlas", "Runs on your machine. It reads your request, asks your organisation's LLM how to handle it, and calls ForgeQE's tools to do the work. The tools are on a loopback-only connection protected by a one-time token, so nothing outside this machine can call them."],
|
|
1022
1022
|
tw: ["Test-writing agent", "Runs on your machine. It studies your repo in a separate working copy, writes the test with help from your LLM, and runs it locally until it passes. It cannot push to git."],
|
|
1023
|
-
br: ["
|
|
1023
|
+
br: ["WebPilot + Chrome", "Runs on your machine and drives a local Chrome. At each step it sends the page's text and a low-detail screenshot to your LLM and gets back the next action. Saved logins are typed in locally. The model only ever sees placeholders."],
|
|
1024
1024
|
repo: ["Your test repository", "Where generated tests are written, in a separate git working copy on this machine. Tests stay local until you ask to push a branch, and the main branch is never pushed. If your tests live inside a product repo, only test files are written."],
|
|
1025
1025
|
store: ["Local storage & secrets", "Page memory (elements and locators), run reports and screenshots, redacted session logs, saved sign-in sessions and your keys. All on disk on this machine. ForgeQE never uploads them."],
|
|
1026
1026
|
pub: ["Component downloads", "On first use ForgeQE downloads the browser and runtime parts it needs, checks their checksums, and keeps them on this machine. Only downloads: nothing about you, your code or your runs is sent. Usage telemetry is switched off everywhere."],
|
|
@@ -1097,8 +1097,8 @@ td{color:var(--ink2)}
|
|
|
1097
1097
|
});
|
|
1098
1098
|
const LR = [["t", "left", 50, "l"], ["s", "right", 50, "r"], ["s", "bottom", 50, "bs"], ["t", "bottom", 50, "bt"], ["s", "top", 50, "ts"], ["t", "top", 50, "tt"]];
|
|
1099
1099
|
const AGENT_NODES = [
|
|
1100
|
-
zone("lane1", -14, -10, 1144, 170, "lane", "
|
|
1101
|
-
zone("lane2", -14, 175, 1144, 180, "lane", "
|
|
1100
|
+
zone("lane1", -14, -10, 1144, 170, "lane", "Atlas · started by your request"),
|
|
1101
|
+
zone("lane2", -14, 175, 1144, 180, "lane", "WebPilot · started by the orchestrator for a browser task"),
|
|
1102
1102
|
zone("lane3", -14, 370, 1144, 170, "lane", "Test-writing agent · started after a run passes"),
|
|
1103
1103
|
step("o1", 10, 40, "Read your request", "local", LR),
|
|
1104
1104
|
step("o2", 200, 40, "Plan with your LLM", "org", LR),
|
|
@@ -1338,11 +1338,11 @@ td{color:var(--ink2)}
|
|
|
1338
1338
|
h("h3", null, "How the agents work"),
|
|
1339
1339
|
h("p", { className: "muted", style: { fontSize: "12.25px" } },
|
|
1340
1340
|
"Three agents run on your machine. None of them hosts a model: each one thinks by sending a request to your organisation's LLM, then acts locally. Green steps are the only moments data leaves the machine.")),
|
|
1341
|
-
note("AGT·01", "
|
|
1341
|
+
note("AGT·01", "Atlas", [
|
|
1342
1342
|
"Talks to ForgeQE's tools only over a loopback connection with a one-time token",
|
|
1343
1343
|
"Reaches your work systems only for the ones you configure",
|
|
1344
1344
|
"Cannot push to git"]),
|
|
1345
|
-
note("AGT·02", "
|
|
1345
|
+
note("AGT·02", "WebPilot", [
|
|
1346
1346
|
"Opens only hosts on your allow-list",
|
|
1347
1347
|
"Sees logins as placeholders; the real values are typed locally",
|
|
1348
1348
|
"Replays known tasks from page memory without calling the model"]),
|
|
@@ -1396,8 +1396,8 @@ td{color:var(--ink2)}
|
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
1398
|
const DATA_ROWS = [
|
|
1399
|
-
["Your request text", "
|
|
1400
|
-
["Page content and step screenshots", "
|
|
1399
|
+
["Your request text", "Atlas → your LLM", ["org", "Your LLM only"], "Active profile in `llms.json`, or with `llm.routing: auto` the profile picked for the area"],
|
|
1400
|
+
["Page content and step screenshots", "WebPilot → your LLM, each step", ["org", "Your LLM only"], "`browser.vision_detail: low` · `browser.allowed_hosts`"],
|
|
1401
1401
|
["Repo source code", "Test-writing agent reads it locally and sends excerpts to your LLM", ["org", "Your LLM only"], "`--repo` / `code.repo` · `--no-code` turns test writing off"],
|
|
1402
1402
|
["Test cases, stories, bugs", "Your ADO or Jira ⇄ this machine ⇄ your LLM", ["org", "Your systems + LLM"], "`sources:` in `forgeqe.yaml` · scoped tokens"],
|
|
1403
1403
|
["Login usernames, passwords, one-time codes", "Typed into the page locally; the model sees a placeholder", ["local", "Never to the LLM"], "Scoped to each login's own domains"],
|
|
@@ -1443,7 +1443,7 @@ td{color:var(--ink2)}
|
|
|
1443
1443
|
["Docker or Podman daemon", ["local", "This machine"], "When services, mock_service or run_tests in a container run", "Argument arrays ForgeQE builds; secrets by name, never on the command line", "Its local socket, or wherever `DOCKER_HOST` / `DOCKER_CONTEXT` / `CONTAINER_HOST` point"],
|
|
1444
1444
|
["API description link for a mock", ["pub", "Agent's choice"], "Only when mock_service is given a spec link", "An HTTP GET for the OpenAPI or Swagger description", "Give a file instead; egress proxy allow-list"],
|
|
1445
1445
|
["Maestro AI commands and scripts", ["block", "Blocked"], "Never in team flows", "—", "Refused by the flow allowlist before Maestro runs"],
|
|
1446
|
-
["Container commands from the agents' shell", ["block", "Blocked"], "Never", "—", "docker, podman, nerdctl and the compose programs are denied for ForgeQE's agent and
|
|
1446
|
+
["Container commands from the agents' shell", ["block", "Blocked"], "Never", "—", "docker, podman, nerdctl and the compose programs are denied for ForgeQE's agent and Quill"],
|
|
1447
1447
|
["Usage analytics, tracing, cloud sync, share links", ["block", "Blocked"], "Never", "—", "Forced off in every process ForgeQE starts"],
|
|
1448
1448
|
];
|
|
1449
1449
|
const rich = (s) => s.split("`").map((x, i) => i % 2 ? h("code", { key: i }, x) : x);
|
|
@@ -1886,7 +1886,7 @@ FORGEQE_PRICES=off` }))));
|
|
|
1886
1886
|
azCard("dm-wf", 300, -88, "local", "Workflows & run folders", "Workflow YAML, reports, heals; secrets stay in your environment", "LOCAL"),
|
|
1887
1887
|
azCard("dm-win", 620, -88, "local", "Windows app under test", "Started from desktop.apps, with no shell", "ON THIS DESKTOP"),
|
|
1888
1888
|
azCard("dm-dsk", 620, 92, "agent", "Desktop engine", "UFO² explore, pywinauto replay, recording by hand", "AGENT · LOCAL"),
|
|
1889
|
-
azCard("dm-agt", 300, 182, "agent", "
|
|
1889
|
+
azCard("dm-agt", 300, 182, "agent", "Atlas", "Gets only the tools a turn needs", "AGENT · LOCAL"),
|
|
1890
1890
|
azCard("dm-mob", 620, 296, "agent", "Mobile engine", "Appium driver and Maestro, with no shell", "AGENT · LOCAL"),
|
|
1891
1891
|
azCard("dm-dev", 300, 400, "local", "Device or emulator", "Your Appium server or maestro, on this machine", "LOCAL"),
|
|
1892
1892
|
azCard("dm-llm", 940, 50, "org", "Your LLM deployment", "The same llms.json profile as the browser agent", "YOUR CLOUD",
|
|
@@ -1897,7 +1897,7 @@ FORGEQE_PRICES=off` }))));
|
|
|
1897
1897
|
Object.assign(REF, { "dm-you": "USR·00", "dm-wf": "LOC·03", "dm-win": "APP·01", "dm-dsk": "AGT·04", "dm-agt": "AGT·01", "dm-mob": "AGT·05", "dm-dev": "APP·02", "dm-llm": "ORG·01", "dm-hub": "CLD·01", "dm-hx": "CLD·02" });
|
|
1898
1898
|
const DM_INFO = {
|
|
1899
1899
|
"dm-you": ["You", "You ask for a desktop or mobile task, and agree before each run starts and before a workflow is changed. You run forgeqe mobile upload yourself."],
|
|
1900
|
-
"dm-agt": ["
|
|
1900
|
+
"dm-agt": ["Atlas", "Each turn it gets only the tools of the capabilities that turn needs. The desktop and mobile tools ask you before they start an app or take over the desktop; where ForgeQE cannot ask (an MCP client), they answer needs_confirmation until you agree."],
|
|
1901
1901
|
"dm-wf": ["Workflows & run folders", "Workflows (YAML) in the working or reports folder, and one run folder per run: run.json, report.html, step screenshots, heals.json and UFO's logs. Workflows hold only {{secret:NAME}}; the values stay in your environment. All on this machine."],
|
|
1902
1902
|
"dm-win": ["Windows app under test", "A desktop.apps entry: an absolute .exe and an argument list, started by ForgeQE without a shell, so UFO never launches a program. Explore, replay and recording act in this app's own windows only."],
|
|
1903
1903
|
"dm-dsk": ["Desktop engine", "UFO² at a pinned commit for explore, pywinauto for replay, and Windows hooks for recording by hand. Its environment holds system settings, the profile's key variable (or Entra's) and desktop.secrets, nothing else."],
|
|
@@ -2081,9 +2081,9 @@ LT_ACCESS_KEY=<your TestMu access key>` }))),
|
|
|
2081
2081
|
zone("ct-z-reg", 1224, -132, 232, 176, "pub", "Image registries"),
|
|
2082
2082
|
azCard("ct-you", 0, 92, "user", "You", "Ask for services, a mock or a test run; agree before it starts", "START HERE"),
|
|
2083
2083
|
azCard("ct-env", 300, -88, "local", "Environment & .env", "Secret values; only their names are in forgeqe.yaml", "LOCAL"),
|
|
2084
|
-
azCard("ct-agt", 300, 92, "agent", "
|
|
2084
|
+
azCard("ct-agt", 300, 92, "agent", "Atlas", "Names declared services; never writes a container command", "AGENT · LOCAL"),
|
|
2085
2085
|
azCard("ct-sh", 300, 272, "local", "The agents' shell", "docker, podman, nerdctl and the compose programs are denied", "DENIED"),
|
|
2086
|
-
azCard("ct-scr", 300, 452, "agent", "Test-writing agent", "
|
|
2086
|
+
azCard("ct-scr", 300, 452, "agent", "Test-writing agent", "Quill; the testcontainers skill is guidance only", "AGENT · LOCAL"),
|
|
2087
2087
|
azCard("ct-cfg", 620, -88, "local", "forgeqe.yaml & compose files", "containers: services, mock image, tests image", "LOCAL"),
|
|
2088
2088
|
azCard("ct-fq", 620, 92, "local", "ForgeQE container tools", "services · mock_service · run_tests; builds every command", "FORGEQE · LOCAL"),
|
|
2089
2089
|
azCard("ct-mk", 620, 272, "local", "Run traffic & mock stubs", "network.json in; .forgeqe/mocks/<name>/mappings out", "LOCAL"),
|
|
@@ -2098,13 +2098,13 @@ LT_ACCESS_KEY=<your TestMu access key>` }))),
|
|
|
2098
2098
|
const CT_INFO = {
|
|
2099
2099
|
"ct-you": ["You", "You ask for services, a mock or a test run. ForgeQE asks before services up, mock_service and run_tests start anything; where it cannot ask (an MCP client), they answer needs_confirmation until you agree. forgeqe services up, which you run yourself, keeps its services until forgeqe services down."],
|
|
2100
2100
|
"ct-env": ["Environment & .env", "Where the values of a service's secrets come from. forgeqe.yaml lists only their names. ForgeQE passes each one to the runtime by name (--env NAME), so the value is never on a command line. One of ForgeQE's own keys (a model key, a tracker token) is refused as a secret."],
|
|
2101
|
-
"ct-agt": ["
|
|
2102
|
-
"ct-sh": ["The agents' shell", "docker, podman, nerdctl, docker-compose and podman-compose are denied in the shell of ForgeQE's agent and of
|
|
2103
|
-
"ct-scr": ["Test-writing agent", "
|
|
2101
|
+
"ct-agt": ["Atlas", "Uses the services and mock_service tools, and run_tests with in_container. It names services forgeqe.yaml declares; an undeclared name is refused. Images, flags and mounts never come from a request. When neither Docker nor Podman is on PATH, these tools are not offered."],
|
|
2102
|
+
"ct-sh": ["The agents' shell", "docker, podman, nerdctl, docker-compose and podman-compose are denied in the shell of ForgeQE's agent and of Quill, also after a path, inside another command, or as an .exe. So the only way to start a container is ForgeQE's tools."],
|
|
2103
|
+
"ct-scr": ["Test-writing agent", "Quill. The testcontainers skill tells it how to write tests that start their own containers: pinned images, a wait for readiness, the mapped port, cleanup by the library. No privileged containers, host networking or Docker socket mounts, and never docker from a test. ForgeQE runs nothing for it."],
|
|
2104
2104
|
"ct-cfg": ["forgeqe.yaml & compose files", "containers: in forgeqe.yaml declares the services, the mock image and the tests image. Compose files named under containers.compose are translated into the same service settings and checked by the same rules; compose itself never runs. A forgeqe.yaml service wins over a compose one of the same name."],
|
|
2105
2105
|
"ct-fq": ["ForgeQE container tools", "Build every docker or podman command as an argument array and start the program without a shell. The program sees only system settings, the variables that find its daemon (DOCKER_HOST, DOCKER_CONTEXT, CONTAINER_HOST, …) and the listed secrets. Logs and errors have secret values replaced with ***. Containers the agent started are removed when the shell, forgeqe run or forgeqe mcp ends."],
|
|
2106
2106
|
"ct-mk": ["Run traffic & mock stubs", "mock_service reads the API calls a browser run recorded (network.json), or an OpenAPI or Swagger description, or a contract set, and writes WireMock stubs to .forgeqe/mocks/<name>/mappings on this machine. You can read and edit them there."],
|
|
2107
|
-
"ct-repo": ["Your test repository", "For run_tests in a container, the repository is mounted read-write at its own path, so result files land where ForgeQE reads them; so is the run's results folder when it is outside the repository.
|
|
2107
|
+
"ct-repo": ["Your test repository", "For run_tests in a container, the repository is mounted read-write at its own path, so result files land where ForgeQE reads them; so is the run's results folder when it is outside the repository. Quill writes tests here."],
|
|
2108
2108
|
"ct-dmn": ["Docker or Podman", "containers.runtime, or docker, else podman, on PATH. ForgeQE reaches it only through the docker or podman program, which talks to its daemon over the local socket, or wherever DOCKER_HOST, DOCKER_CONTEXT or CONTAINER_HOST point. The runtime pulls an image it does not have."],
|
|
2109
2109
|
"ct-svc": ["Declared services", "Run with --security-opt no-new-privileges and --pids-limit 1024, ports on 127.0.0.1 only, read-only mounts from inside the project, and only their own env and secrets. They join the project's network forgeqe-<key> with their service name as alias. Named forgeqe-<project>-<service> and labelled, so ForgeQE stops only its own."],
|
|
2110
2110
|
"ct-wm": ["WireMock mock", "The pinned wiremock/wiremock:3.9.1 unless containers.mock.image names another. Its stubs folder is mounted read-only at /home/wiremock/mappings, and it runs with --enable-stub-cors on a free port of 127.0.0.1, under the same restrictions as a service."],
|
|
@@ -2137,8 +2137,8 @@ LT_ACCESS_KEY=<your TestMu access key>` }))),
|
|
|
2137
2137
|
{ t: "Tests in a container", d: "run_tests asks you to confirm the command, starts containers.tests' services, then runs the command with sh -c inside containers.tests' image instead of on this machine: --rm, no-new-privileges, --pids-limit 4096, --user with your user and group id. The repository is mounted read-write at its own path; tests on this machine have full access to it anyway, so this narrows what they reach. The container gets only FORGEQE_ACTIVE_ENV, FORGEQE_APP_* and FORGEQE_VAR_*, the saved logins' variables, and containers.tests' env and secrets, by name; ForgeQE's own keys are removed. It reaches services by name on the project network. Output is scrubbed.", e: ["ct-you-agt", "ct-agt-fq", "ct-fq-dmn", "ct-repo-tst", "ct-tst-svc"], w: "local" },
|
|
2138
2138
|
{ t: "Image pulls", d: "An image the runtime does not have yet is pulled from its registry by Docker or Podman itself. ForgeQE sends nothing there. Images must name an exact tag or a sha256 digest, so the same image runs every time; untagged images and latest are refused.", e: ["ct-fq-dmn", "ct-dmn-reg"], w: "pub" },
|
|
2139
2139
|
{ t: "Status, logs and stop", d: "status and logs read only this project's labelled containers; logs and errors have the values of listed secrets and ForgeQE's own keys replaced with ***. down removes them; down with no names also removes the project's network. Containers the agent started are removed when the shell, forgeqe run or forgeqe mcp ends.", e: ["ct-agt-fq", "ct-fq-dmn", "ct-dmn-svc"], w: "local" },
|
|
2140
|
-
{ t: "No containers from the shell", d: "docker, podman, nerdctl, docker-compose and podman-compose are denied in the shell of ForgeQE's agent and of
|
|
2141
|
-
{ t: "Testcontainers in
|
|
2140
|
+
{ t: "No containers from the shell", d: "docker, podman, nerdctl, docker-compose and podman-compose are denied in the shell of ForgeQE's agent and of Quill, so a command injected into a ticket, a page or a repository cannot start a container with its own flags or mounts.", e: ["ct-agt-sh", "ct-scr-sh"], w: "block" },
|
|
2141
|
+
{ t: "Testcontainers in Quill's tests", d: "The testcontainers skill is guidance for Quill: reuse the repository's fixtures, pin every image, wait for readiness, use the mapped port, and leave cleanup to the library. No privileged containers, host networking, Docker socket mounts or real credentials. ForgeQE runs nothing for it; the tests start their containers when they run.", e: ["ct-scr-repo"], w: "local" },
|
|
2142
2142
|
];
|
|
2143
2143
|
const DRAG_CT = withExtents(CT_NODES);
|
|
2144
2144
|
const CT_KEY = [["local", "Stays on your machine"], ["secret", "Secret, passed by name"], ["pub", "Image pull by the runtime"], ["muted", "Denied"]];
|
|
@@ -2160,8 +2160,8 @@ LT_ACCESS_KEY=<your TestMu access key>` }))),
|
|
|
2160
2160
|
["Mock stubs", "mock_service", ["local", "Read-only"], "From the app's own API calls unless third_party; failed calls left out. Written to .forgeqe/mocks/<name>/mappings and mounted read-only."],
|
|
2161
2161
|
["Tests in a container", "run_tests in_container", ["local", "Narrowed"], "The confirmed command runs with sh -c inside containers.tests' image: --rm, no-new-privileges, --pids-limit 4096, your user and group id. The repository is mounted read-write at its own path."],
|
|
2162
2162
|
["Tests container environment", "run_tests in_container", ["local", "Filtered"], "Only FORGEQE_ACTIVE_ENV, FORGEQE_APP_*, FORGEQE_VAR_*, the saved logins' variables and containers.tests' env and secrets, by name. ForgeQE's own keys are removed; output is scrubbed."],
|
|
2163
|
-
["No containers from the shell", "ForgeQE's agent and
|
|
2164
|
-
["Testcontainers skill", "
|
|
2163
|
+
["No containers from the shell", "ForgeQE's agent and Quill", ["block", "Denied"], "docker, podman, nerdctl, docker-compose and podman-compose are denied, also after a path, inside another command, or as an .exe."],
|
|
2164
|
+
["Testcontainers skill", "Quill", ["local", "Guidance only"], "Pinned images; no privileged containers, host networking or Docker socket mounts; never docker from a test. ForgeQE runs nothing for it."],
|
|
2165
2165
|
];
|
|
2166
2166
|
|
|
2167
2167
|
function Containers() {
|