Forge Studio — Agent Rail build record¶
Pass 2¶
AgentRail was initialized locally and its native TaskStore accepted 13 retrospective tasks. Forge Studio reads our credential-free agentrail/timeline.json; it does not embed or expose the AgentRail server. Upstream code, dependencies, operator/agent credentials and machine state remain ignored under agentrail/upstream/ and agentrail/state/.
Upstream: https://github.com/oxnw/agentrail. Pinned commit: ac75225f090ac67fafbdf63b3fdcd5ad520d867d; package version 0.1.8.
The pinned README calls this source-available, and its LICENSE is AgentRail Source-Available License 1.1, explicitly not open source. The Product Hunt launch page advertises Apache 2.0; that launch text disagrees with the pinned repository. We use the pinned repository's terms and keep AgentRail local. No upstream implementation is copied into the public demo. The timeline is our own build evidence, an output of local use.
Reproduce¶
Run from this worktree's root, in a fresh PowerShell process. Node.js 24 and .NET 10 are required. Our evidence exporter is C#; Node is used only to run the requested upstream TypeScript CLI and to validate against its native task store.
git clone https://github.com/oxnw/agentrail.git agentrail/upstream
git -C agentrail/upstream checkout ac75225f090ac67fafbdf63b3fdcd5ad520d867d
npm --prefix agentrail/upstream ci --ignore-scripts
$env:AGENTRAIL_HOME = Join-Path (Get-Location) 'agentrail/state'
$env:AGENTRAIL_TELEMETRY_DISABLED = '1'
foreach ($key in @('GITHUB_TOKEN','GH_TOKEN','CIRCLECI_TOKEN','LINEAR_API_KEY',
'GITHUB_WEBHOOK_SECRET','CIRCLECI_WEBHOOK_SECRET','LINEAR_WEBHOOK_SECRET')) {
Remove-Item "Env:$key" -ErrorAction SilentlyContinue
}
node agentrail/upstream/src/cli/index.ts init --mode server --repo . --yes `
--provider-mode disabled --no-telemetry --host 127.0.0.1 --port 4319
dotnet run --project agentrail/Exporter -- .
node agentrail/validate-import.mjs
The native CLI's noninteractive init is used. AGENTRAIL_HOME is implemented in src/cli/agentrail-home.ts:137; no override of the user's HOME is needed. src/cli/index.ts:733–755 implements telemetry, host, port and disabled-provider flags. The default telemetry opt-in is explicitly disabled before running commands. No provider connection command was called, no provider tokens were supplied, and no runner was launched.
For later evidence refresh, fetch the source branches normally, then rerun the exporter and validation commands. The exporter itself is read-only and never fetches or edits refs. Stop a local AgentRail server before re-importing, so its in-memory store cannot overwrite the imported file. The validation bridge replaces only the isolated historical agentrail/state/stores/tasks.json; it never touches global state.
To capture the current Forge pass after its implementation and receipts are committed, but before committing the AgentRail export, use dotnet run --project agentrail/Exporter -- . --forge-ref HEAD. This overrides only the Forge evidence snapshot; the exporter resolves the supplied ref to an immutable commit SHA for all evidence links. The final push must publish that commit. Without this option, Forge still reads origin/wt/WT-dc65/forge-studio. Other source branches remain unchanged. The parser rejects unknown options, missing/blank refs, repeated overrides and extra positional arguments; --self-test must be used alone.
dotnet run --project agentrail/Exporter -- --self-test exercises retrospective pass boundaries: unheaded pass 1 stops before pass 2, later passes stop before the next pass, absent passes yield no evidence, and command-receipt subheadings remain inside their pass. The regression passes. Forge/Ottehr pass-one commits are pinned to their original feature commits, so future path-history updates cannot be misattributed to the first pass.
Import format and provenance¶
This pin's CLI imports provider issues, but has no generic local task import command. Its task lifecycle API likewise does not offer arbitrary historical task creation. We therefore generate its own persisted {tasks, idempotencyEntries} format, defined by src/task-store.ts:278–325, and load it through upstream new TaskStore({storagePath}). validate-import.mjs checks that all exported IDs survive and that no CI/review approvals or executable actions were invented, then writes the normalized records into the isolated store.
tasks.json is the native store input; each task's native description carries structured branch, commit, receipt, reviewer and fix evidence. timeline.json contains the matching IDs plus the same evidence and three real tags. Task specs come from origin/main first, falling back to implementation branches. Verification receipts come from the specific implementation lane. Both exports identify their captured commit revisions. Public text uses Jones.
Main demo passes 1–7 have explicitly recorded retrospective commit intervals ending at the branch's feature/verification commits: a129dce, 7ea8c74, 28663e7, 600632a, 8d1dd5f, 0da855a, 5105728. These boundaries are resolved to full hashes and checked as ancestors of the captured lane. Later tasks and other lanes use disclosed commit-message/path matches. This is a retrospective reconstruction, not a claim that AgentRail observed the original execution live.
The 13 tasks cover main passes 1–10, Forge passes 1–2, and Ottehr pass 1. Missing future-pass receipts remain NOT DONE. Fable, Astra, Carbon, Susie, Gronktayvius and Jenny each have a reviewer entry; an instruction naming a reviewer is separated from an observed outcome. Names in historical excerpts are aliases, not proof that a particular model ran. Recorded gate denials/timeouts remain visible. Native statuses stay todo/in_review; commits and passing tests never imply review approval. The three demo-safe-* tags are checkpoint commits, not manufactured gate results.
Real outputs¶
Install: npm ci --ignore-scripts exited 0. Audit reported 4 high severity vulnerabilities in upstream's dependency tree; that tree is local-only and unmodified. No upstream dependency patch or claim of a clean audit is made.
Isolated init exited 0:
Wrote C:\Users\fives\source\repos\fhir-pipeline-demo-wt-WT-dc65-forge\agentrail\state\operator.env
Exporter and native validation both exited 0:
Exported 13 native AgentRail tasks, 3 tags; no provider connections.
AgentRail TaskStore accepted 13 retrospective tasks; imported to isolated state.
Timeline contains 3 real demo-safe tags; no review/CI approvals synthesized.
An initial local profile with --runner custom partially succeeded but doctor correctly failed:
FAIL runner_policy: Runner policy for "custom" is not enforceable:
filesystem: Runner "custom" has no known AgentRail filesystem policy mapping.
Recovered using the emitted key ID with agent update --runner codex --permission-preset read_only against the loopback server. The key ID is an identifier, not an API secret; actual credentials stayed inside ignored state. No coding agent was executed. A subsequent standalone doctor --agent-id agt_forge_history exited 0:
AgentRail doctor passed.
PASS health: GET /health returned status=ok from http://127.0.0.1:4319.
PASS auth: AGENTRAIL_API_KEY authenticated against GET /tasks/mine.
PASS profile: agt_forge_history is active and repo-eligible.
PASS routing: Current routing rule set includes an enabled rule targeting agt_forge_history.
PASS ai_routing: Rules-only routing configured; AI routing is not required.
PASS runner_policy: Runner policy for "codex" can launch as codex; enforcement levels: enforced, partial.
PASS repo_map: Repo map is valid. The selected agent does not use a role template.
PASS assigned_task_visibility: GET /tasks/mine found setup task LOCAL-SETUP-AGT-FORGE-HISTORY.
Lines above abbreviate local paths and repo names; ignored agentrail/doctor.log holds the original output. This checks local setup visibility, not a live workflow/CI run. The loopback server was stopped after validation; historical records were then re-imported while stopped. No running background service is required for the Forge timeline.
NOT DONE¶
- Live retrospective event replay, provider imports, hosted dashboard and CI integration: intentionally not configured; this is a local historical task import plus static presentation.
- Main passes 9–10 and Forge pass 2 had no receipts in their captured remote branch snapshots. Pass 8 landed during this pass; the refreshed export includes its eight receipt excerpts at
1a21de5f7e62c67dc51b1d8ada0f9bfb4ad9dbe0. Regenerate when later commits land. This export does not invent future success. - Browser rendering is verified as part of the parent Forge Studio pass; see
docs/forge-studio.mdfor the actual build/browser receipt.