<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Project bazel agent on Alwaldend</title><link>https://alwaldend.com/docs/projects/al/openspec/specs/project-bazel-agent/</link><description>Recent content in Project bazel agent on Alwaldend</description><generator>Hugo</generator><language>en</language><atom:link href="https://alwaldend.com/docs/projects/al/openspec/specs/project-bazel-agent/index.xml" rel="self" type="application/rss+xml"/><item><title>Bazel Agent Specification</title><link>https://alwaldend.com/docs/projects/al/openspec/specs/project-bazel-agent/spec/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://alwaldend.com/docs/projects/al/openspec/specs/project-bazel-agent/spec/</guid><description>&lt;span id="bazel-agent-specification"&gt;&lt;/span&gt;&lt;h2 id="purpose"&gt;Purpose&lt;a class="td-heading-self-link" href="#purpose" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;p&gt;Describe the validated AL Bazel entry point and installation diagnostics used by repository agents.&lt;/p&gt;&#10;&lt;p&gt;Sources: &lt;a href="https://alwaldend.com/docs/projects/al/"&gt;project README&lt;/a&gt;,&#10;&lt;a href="../../../BUILD.bazel"&gt;Bazel targets&lt;/a&gt;,&#10;&lt;a href="../../../internal/bazelcmd/main.go"&gt;command and diagnostic implementation&lt;/a&gt;,&#10;and &lt;a href="../../../internal/bazelcmd/main_test.go"&gt;runner tests&lt;/a&gt;.&#10;Baseline source revision: &lt;code&gt;550d7e79b1f5fdbc2b6017b75178471d6914082f&lt;/code&gt;,&#10;observed 2026-09-08.&lt;/p&gt;&#10;&lt;h2 id="requirements"&gt;Requirements&lt;a class="td-heading-self-link" href="#requirements" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h2&gt;&lt;h3 id="requirement-validate-and-preserve-bazel-arguments"&gt;Requirement: Validate and preserve Bazel arguments&lt;a class="td-heading-self-link" href="#requirement-validate-and-preserve-bazel-arguments" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;&lt;code&gt;al bazel&lt;/code&gt; SHALL require a recognized Bazel command and insert&#10;&lt;code&gt;--config=agent&lt;/code&gt; immediately after that command. Subsequent options, targets,&#10;and arguments after a &lt;code&gt;run&lt;/code&gt; separator SHALL pass through unchanged.&lt;/p&gt;&#10;&lt;h4 id="scenario-run-a-target-with-application-arguments"&gt;Scenario: Run a target with application arguments&lt;a class="td-heading-self-link" href="#scenario-run-a-target-with-application-arguments" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h4&gt;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;WHEN&lt;/strong&gt; the caller invokes &lt;code&gt;al bazel run //path:target -- argument&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;THEN&lt;/strong&gt; the runner constructs &lt;code&gt;bazel run --config=agent //path:target -- argument&lt;/code&gt;.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="requirement-replace-the-runner-with-bazel"&gt;Requirement: Replace the runner with Bazel&lt;a class="td-heading-self-link" href="#requirement-replace-the-runner-with-bazel" aria-label="Heading self-link"&gt;&lt;/a&gt;&lt;/h3&gt;&lt;p&gt;The Bazel entry point SHALL resolve &lt;code&gt;bazel&lt;/code&gt; from &lt;code&gt;PATH&lt;/code&gt; and replace the runner&#10;process with it, preserving the supplied environment without creating or&#10;injecting a host temporary directory.&lt;/p&gt;</description></item></channel></rss>