Skip to content

Commit 9c10cf2

Browse files
hoist project to root and rename to ado-aw (#12)
* refactor: hoist Rust project to repo root and rename to ado-aw - Move all source, templates, tests, and config from agentic-pipelines/ to root - Rename package from agentic-pipelines to ado-aw (binary, log dir, all refs) - Update GitHub Actions workflows: remove working-directory/workspaces, fix paths - Broaden rust-pr-reviewer path triggers to match rust-tests coverage - Update AGENTS.md architecture tree and all documentation paths Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * regenerate aw's --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ccf9c34 commit 9c10cf2

51 files changed

Lines changed: 139 additions & 139 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/daily-build.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,12 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest]
18-
defaults:
19-
run:
20-
working-directory: agentic-pipelines
2118
steps:
2219
- uses: actions/checkout@v4
2320

2421
- uses: dtolnay/rust-toolchain@stable
2522

2623
- uses: Swatinem/rust-cache@v2
27-
with:
28-
workspaces: agentic-pipelines
2924

3025
- name: Build
3126
run: cargo build --release --verbose
@@ -36,5 +31,5 @@ jobs:
3631
- name: Upload build artifact
3732
uses: actions/upload-artifact@v4
3833
with:
39-
name: agentic-pipelines-${{ runner.os == 'Windows' && 'win' || 'lin' }}
40-
path: agentic-pipelines/target/release/agentic-pipelines${{ runner.os == 'Windows' && '.exe' || '' }}
34+
name: ado-aw-${{ runner.os == 'Windows' && 'win' || 'lin' }}
35+
path: target/release/ado-aw${{ runner.os == 'Windows' && '.exe' || '' }}

.github/workflows/doc-freshness-check.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ safe-outputs:
1818

1919
# Documentation Freshness Check
2020

21-
You are a technical documentation auditor for the **agentic-pipelines** project — a Rust CLI compiler that transforms markdown agent definitions into Azure DevOps pipeline YAML.
21+
You are a technical documentation auditor for the **ado-aw** project — a Rust CLI compiler that transforms markdown agent definitions into Azure DevOps pipeline YAML.
2222

2323
## Your Task
2424

@@ -31,8 +31,8 @@ Audit the project documentation for accuracy and completeness by comparing docs
3131
Compare the directory tree in `.github/copilot-instructions.md` against actual files:
3232

3333
```bash
34-
find agentic-pipelines/src -type f -name '*.rs' | sort
35-
find agentic-pipelines/templates -type f | sort
34+
find src -type f -name '*.rs' | sort
35+
find templates -type f | sort
3636
```
3737

3838
Look for:
@@ -42,7 +42,7 @@ Look for:
4242

4343
### 2. CLI Commands
4444

45-
Extract the actual CLI commands from `agentic-pipelines/src/main.rs` (look at the `Commands` enum with clap derive) and compare against documented commands in `.github/copilot-instructions.md`.
45+
Extract the actual CLI commands from `src/main.rs` (look at the `Commands` enum with clap derive) and compare against documented commands in `.github/copilot-instructions.md`.
4646

4747
Check:
4848
- All subcommands are documented
@@ -51,7 +51,7 @@ Check:
5151

5252
### 3. Front Matter Fields
5353

54-
Compare the `FrontMatter` struct in `agentic-pipelines/src/compile/types.rs` against the documented fields:
54+
Compare the `FrontMatter` struct in `src/compile/types.rs` against the documented fields:
5555

5656
- Are all struct fields documented?
5757
- Do documented defaults match `#[serde(default)]` values?
@@ -63,8 +63,8 @@ Compare the `FrontMatter` struct in `agentic-pipelines/src/compile/types.rs` aga
6363
Scan template files for markers:
6464

6565
```bash
66-
grep -oP '\{\{[^}]+\}\}' agentic-pipelines/templates/base.yml
67-
grep -oP '\{\{[^}]+\}\}' agentic-pipelines/templates/1es-base.yml
66+
grep -oP '\{\{[^}]+\}\}' templates/base.yml
67+
grep -oP '\{\{[^}]+\}\}' templates/1es-base.yml
6868
```
6969

7070
Compare against documented markers in `.github/copilot-instructions.md`. Check for:
@@ -74,7 +74,7 @@ Compare against documented markers in `.github/copilot-instructions.md`. Check f
7474

7575
### 5. Safe Output Tools
7676

77-
Compare tools defined in `agentic-pipelines/src/tools/` against what's documented:
77+
Compare tools defined in `src/tools/` against what's documented:
7878
- Are all tools documented with correct parameters?
7979
- Do configuration options match the actual implementation?
8080

.github/workflows/rust-pr-reviewer.lock.yml

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/rust-pr-reviewer.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ on:
33
pull_request:
44
types: [opened, synchronize]
55
paths:
6-
- "agentic-pipelines/**"
6+
- "src/**"
7+
- "tests/**"
8+
- "templates/**"
9+
- "Cargo.toml"
10+
- "Cargo.lock"
711
description: Reviews Rust code changes for quality, error handling, security, and project conventions
812
permissions:
913
contents: read
@@ -21,7 +25,7 @@ safe-outputs:
2125

2226
# Rust PR Reviewer
2327

24-
You are a senior Rust engineer reviewing pull requests for the **agentic-pipelines** compiler — a CLI tool that compiles markdown agent definitions into Azure DevOps pipeline YAML.
28+
You are a senior Rust engineer reviewing pull requests for the **ado-aw** compiler — a CLI tool that compiles markdown agent definitions into Azure DevOps pipeline YAML.
2529

2630
## Your Review Focus
2731

.github/workflows/rust-tests.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ name: Rust Tests
33
on:
44
pull_request:
55
paths:
6-
- "agentic-pipelines/**"
6+
- "src/**"
7+
- "tests/**"
8+
- "templates/**"
9+
- "Cargo.toml"
10+
- "Cargo.lock"
711

812
env:
913
CARGO_TERM_COLOR: always
@@ -12,17 +16,12 @@ jobs:
1216
test:
1317
name: Build & Test
1418
runs-on: ubuntu-latest
15-
defaults:
16-
run:
17-
working-directory: agentic-pipelines
1819
steps:
1920
- uses: actions/checkout@v4
2021

2122
- uses: dtolnay/rust-toolchain@stable
2223

2324
- uses: Swatinem/rust-cache@v2
24-
with:
25-
workspaces: agentic-pipelines
2625

2726
- name: Build
2827
run: cargo build --verbose

.github/workflows/test-gap-finder.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ safe-outputs:
1919

2020
# Test Gap Finder
2121

22-
You are a test engineering specialist for the **agentic-pipelines** Rust project — a CLI compiler that transforms markdown agent definitions into Azure DevOps pipeline YAML.
22+
You are a test engineering specialist for the **ado-aw** Rust project — a CLI compiler that transforms markdown agent definitions into Azure DevOps pipeline YAML.
2323

2424
## Your Task
2525

@@ -37,7 +37,7 @@ cat /tmp/gh-aw/cache-memory/test-gap-state.json 2>/dev/null || echo "No previous
3737
## Step 2: Build and Run Tests
3838

3939
```bash
40-
cd agentic-pipelines
40+
# Project is at repo root
4141
cargo test 2>&1
4242
cargo test -- --list 2>&1
4343
```
@@ -59,10 +59,10 @@ For each source file:
5959

6060
```bash
6161
# Count public functions
62-
grep -c 'pub fn\|pub async fn' agentic-pipelines/src/<file>.rs
62+
grep -c 'pub fn\|pub async fn' src/<file>.rs
6363

6464
# Count test functions
65-
grep -c '#\[test\]' agentic-pipelines/src/<file>.rs
65+
grep -c '#\[test\]' src/<file>.rs
6666
```
6767

6868
### What Constitutes a Gap

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
target
2-
agentic-pipelines/examples/sample-agent.yml
2+
examples/sample-agent.yml

AGENTS.md

Lines changed: 42 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This repository contains a compiler for Azure DevOps pipelines that transforms n
66

77
### Purpose
88

9-
The `agentic-pipelines` compiler enables users to write pipeline definitions in a human-friendly markdown format with YAML front matter, which gets compiled into proper Azure DevOps YAML pipeline definitions. This approach:
9+
The `ado-aw` compiler enables users to write pipeline definitions in a human-friendly markdown format with YAML front matter, which gets compiled into proper Azure DevOps YAML pipeline definitions. This approach:
1010

1111
- Makes pipeline authoring more accessible through natural language
1212
- Enables AI agents to work safely in network-isolated sandboxes (via OneBranch)
@@ -18,44 +18,43 @@ Alongside the correctly generated pipeline yaml, an agent file is generated from
1818
### Architecture
1919

2020
```
21-
├── agentic-pipelines/ # Rust CLI compiler
22-
│ ├── src/
23-
│ │ ├── main.rs # Entry point with clap CLI
24-
│ │ ├── allowed_hosts.rs # Core network allowlist definitions
25-
│ │ ├── compile/ # Pipeline compilation module
26-
│ │ │ ├── mod.rs # Module entry point and Compiler trait
27-
│ │ │ ├── common.rs # Shared helpers across targets
28-
│ │ │ ├── standalone.rs # Standalone pipeline compiler
29-
│ │ │ ├── onees.rs # 1ES Pipeline Template compiler
30-
│ │ │ └── types.rs # Front matter grammar and types
31-
│ │ ├── create.rs # Interactive agent creation wizard
32-
│ │ ├── execute.rs # Stage 2 safe output execution
33-
│ │ ├── fuzzy_schedule.rs # Fuzzy schedule parsing
34-
│ │ ├── logging.rs # File-based logging infrastructure
35-
│ │ ├── mcp.rs # SafeOutputs MCP server
36-
│ │ ├── mcp_firewall.rs # MCP Firewall server
37-
│ │ ├── mcp_metadata.rs # Bundled MCP metadata
38-
│ │ ├── ndjson.rs # NDJSON parsing utilities
39-
│ │ ├── proxy.rs # Network proxy implementation
40-
│ │ ├── sanitize.rs # Input sanitization for safe outputs
41-
│ │ └── tools/ # MCP tool implementations
42-
│ │ ├── mod.rs
43-
│ │ ├── create_pr.rs
44-
│ │ ├── create_work_item.rs
45-
│ │ ├── memory.rs
46-
│ │ ├── missing_data.rs
47-
│ │ ├── missing_tool.rs
48-
│ │ ├── noop.rs
49-
│ │ └── result.rs
50-
│ ├── templates/
51-
│ │ ├── base.yml # Base pipeline template for standalone
52-
│ │ ├── 1es-base.yml # Base pipeline template for 1ES target
53-
│ │ └── threat-analysis.md # Threat detection analysis prompt template
54-
│ ├── mcp-metadata.json # Bundled MCP tool definitions
55-
│ ├── examples/ # Example agent definitions
56-
│ ├── tests/ # Integration tests and fixtures
57-
│ └── Cargo.toml # Rust dependencies
58-
└── README.md # Project documentation
21+
├── src/
22+
│ ├── main.rs # Entry point with clap CLI
23+
│ ├── allowed_hosts.rs # Core network allowlist definitions
24+
│ ├── compile/ # Pipeline compilation module
25+
│ │ ├── mod.rs # Module entry point and Compiler trait
26+
│ │ ├── common.rs # Shared helpers across targets
27+
│ │ ├── standalone.rs # Standalone pipeline compiler
28+
│ │ ├── onees.rs # 1ES Pipeline Template compiler
29+
│ │ └── types.rs # Front matter grammar and types
30+
│ ├── create.rs # Interactive agent creation wizard
31+
│ ├── execute.rs # Stage 2 safe output execution
32+
│ ├── fuzzy_schedule.rs # Fuzzy schedule parsing
33+
│ ├── logging.rs # File-based logging infrastructure
34+
│ ├── mcp.rs # SafeOutputs MCP server
35+
│ ├── mcp_firewall.rs # MCP Firewall server
36+
│ ├── mcp_metadata.rs # Bundled MCP metadata
37+
│ ├── ndjson.rs # NDJSON parsing utilities
38+
│ ├── proxy.rs # Network proxy implementation
39+
│ ├── sanitize.rs # Input sanitization for safe outputs
40+
│ └── tools/ # MCP tool implementations
41+
│ ├── mod.rs
42+
│ ├── create_pr.rs
43+
│ ├── create_work_item.rs
44+
│ ├── memory.rs
45+
│ ├── missing_data.rs
46+
│ ├── missing_tool.rs
47+
│ ├── noop.rs
48+
│ └── result.rs
49+
├── templates/
50+
│ ├── base.yml # Base pipeline template for standalone
51+
│ ├── 1es-base.yml # Base pipeline template for 1ES target
52+
│ └── threat-analysis.md # Threat detection analysis prompt template
53+
├── mcp-metadata.json # Bundled MCP tool definitions
54+
├── examples/ # Example agent definitions
55+
├── tests/ # Integration tests and fixtures
56+
├── Cargo.toml # Rust dependencies
57+
└── README.md # Project documentation
5958
```
6059

6160
## Technology Stack
@@ -305,8 +304,8 @@ When using `target: 1es`, the pipeline will extend `1es/1ES.Unofficial.PipelineT
305304

306305
The compiler transforms the input into valid Azure DevOps pipeline YAML based on the target platform:
307306

308-
- **Standalone**: Uses `agentic-pipelines/templates/base.yml`
309-
- **1ES**: Uses `agentic-pipelines/templates/1es-base.yml`
307+
- **Standalone**: Uses `templates/base.yml`
308+
- **1ES**: Uses `templates/1es-base.yml`
310309

311310
Explicit markings are embedded in these templates that the compiler is allowed to replace e.g. `{{ agency_params }}` denotes parameters which are passed to the agency command line tool. The compiler should not replace sections denoted by `${{ some content }}`. What follows is a mapping of markings to responsibilities (primarily for the standalone template).
312311

@@ -821,7 +820,6 @@ Following the gh-aw security model:
821820

822821
```bash
823822
# Build the compiler
824-
cd agentic-pipelines
825823
cargo build
826824
827825
# Run tests
@@ -1121,7 +1119,7 @@ This prevents tool name collisions and makes it clear which upstream handles eac
11211119

11221120
```bash
11231121
# Start the MCP firewall server
1124-
agentic-pipelines mcp-firewall --config /path/to/config.json
1122+
ado-aw mcp-firewall --config /path/to/config.json
11251123
```
11261124

11271125
### Pipeline Integration
@@ -1136,7 +1134,7 @@ The firewall config is written to `$(Agent.TempDirectory)/staging/mcp-firewall-c
11361134

11371135
### Audit Logging
11381136

1139-
All tool call attempts are logged to the centralized log file at `$HOME/.agentic-pipelines/logs/YYYY-MM-DD.log`:
1137+
All tool call attempts are logged to the centralized log file at `$HOME/.ado-aw/logs/YYYY-MM-DD.log`:
11401138

11411139
```
11421140
[2026-01-29T10:15:32Z] [INFO] [firewall] ALLOWED icm:create_incident (args: {"title": "...", "severity": 3})
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "agentic-pipelines"
2+
name = "ado-aw"
33
version = "0.1.0"
44
edition = "2024"
55

0 commit comments

Comments
 (0)