WIP: stage all uncommitted work — sprints 46-221, graduation headers, specialist fleet, test steps 909-1988

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Bill
2026-04-22 10:15:48 -06:00
parent 486940cbe4
commit 72ffee68fa
2179 changed files with 82979 additions and 1150 deletions

View File

@@ -0,0 +1,7 @@
# Example Projects Corpus
Curated multi-stack fixtures for MCP training data generation.
- Designed for tool-use diversity, not production deployment.
- Each project has a small, realistic file tree and a validator command.
- Matching run specs live in `datasets/example_run_specs`.

View File

@@ -0,0 +1,9 @@
# bash_log_shipper
- stack: bash
- validator: bash -n bin/ship_logs.sh
- common_failure_modes: path misuse, quoting, retention config mismatch
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: bash_log_shipper
bin/ship_logs.sh, etc/shipper.conf
## Validator
`bash -n bin/ship_logs.sh`

View File

@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
SRC="${1:-/var/log/app.log}"
DST="${2:-/tmp/app.log.gz}"
gzip -c "$SRC" > "$DST"
echo "$DST"

View File

@@ -0,0 +1,2 @@
retention_days=7
max_size_mb=50

View File

@@ -0,0 +1,9 @@
# cpp_cache_indexer
- stack: cpp
- validator: cmake --build . && ctest
- common_failure_modes: header/impl mismatch, parser edge cases
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: cpp_cache_indexer
include/indexer.h, src/indexer.cpp
## Validator
`cmake --build . && ctest`

View File

@@ -0,0 +1,4 @@
#pragma once
#include <string>
#include <vector>
std::vector<std::string> tokenize(const std::string& line);

View File

@@ -0,0 +1,10 @@
#include "indexer.h"
#include <sstream>
std::vector<std::string> tokenize(const std::string& line) {
std::istringstream in(line);
std::vector<std::string> out;
std::string tok;
while (in >> tok) out.push_back(tok);
return out;
}

View File

@@ -0,0 +1,9 @@
# go_worker_pool
- stack: go
- validator: go test ./...
- common_failure_modes: dependency order, wrong package path, nil handling
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: go_worker_pool
cmd/worker/main.go, internal/queue/queue.go
## Validator
`go test ./...`

View File

@@ -0,0 +1,12 @@
package main
import (
"fmt"
"example/internal/queue"
)
func main() {
jobs := []queue.Job{}
jobs = queue.Enqueue(jobs, queue.Job{ID: "job-1"})
fmt.Println(len(jobs))
}

View File

@@ -0,0 +1,9 @@
package queue
type Job struct {
ID string
}
func Enqueue(q []Job, j Job) []Job {
return append(q, j)
}

View File

@@ -0,0 +1,9 @@
# java_order_service
- stack: java
- validator: mvn -q test
- common_failure_modes: null checks, quantity rules, test gaps
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: java_order_service
src/main/java/app/*.java
## Validator
`mvn -q test`

View File

@@ -0,0 +1,2 @@
package app;
public record Order(String id, int quantity) {}

View File

@@ -0,0 +1,6 @@
package app;
public class OrderValidator {
public static boolean valid(Order order) {
return order != null && order.quantity() > 0;
}
}

View File

@@ -0,0 +1,9 @@
# node_api_gateway
- stack: node
- validator: node test/server.test.js
- common_failure_modes: route mismatch, status/body drift, invalid json
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: node_api_gateway
src/server.js, test/server.test.js
## Validator
`node test/server.test.js`

View File

@@ -0,0 +1,16 @@
const http = require("http");
function health() {
return { ok: true, service: "gateway" };
}
const server = http.createServer((_req, res) => {
res.writeHead(200, { "Content-Type": "application/json" });
res.end(JSON.stringify(health()));
});
if (require.main === module) {
server.listen(8080);
}
module.exports = { health };

View File

@@ -0,0 +1,3 @@
const assert = require("assert");
const { health } = require("../src/server");
assert.equal(health().ok, true);

View File

@@ -0,0 +1,9 @@
# py_cli_todo
- stack: python
- validator: pytest -q
- common_failure_modes: arg validation, off-by-one index, missing tests
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: py_cli_todo
src/todo.py, tests/test_todo.py
## Validator
`pytest -q`

View File

@@ -0,0 +1,11 @@
def add_task(tasks, title):
title = title.strip()
if not title:
raise ValueError("title is required")
tasks.append({"title": title, "done": False})
return tasks
def complete_task(tasks, index):
tasks[index]["done"] = True
return tasks

View File

@@ -0,0 +1,8 @@
from src.todo import add_task, complete_task
def test_add_and_complete():
tasks = []
add_task(tasks, "pay bills")
complete_task(tasks, 0)
assert tasks[0]["done"] is True

View File

@@ -0,0 +1,9 @@
# react_admin_panel
- stack: react
- validator: npm test -- --watch=false
- common_failure_modes: component state misuse, prop mismatch
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: react_admin_panel
src/App.jsx, src/components/UserTable.jsx
## Validator
`npm test -- --watch=false`

View File

@@ -0,0 +1,4 @@
import React from "react";
export default function App() {
return <main><h1>Admin Panel</h1></main>;
}

View File

@@ -0,0 +1,4 @@
import React from "react";
export function UserTable() {
return <table><tbody></tbody></table>;
}

View File

@@ -0,0 +1,9 @@
# rust_metrics_agent
- stack: rust
- validator: cargo test
- common_failure_modes: parse failures, error propagation, type mismatch
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: rust_metrics_agent
src/main.rs
## Validator
`cargo test`

View File

@@ -0,0 +1,12 @@
fn parse_metric(line: &str) -> Option<(&str, i64)> {
let parts: Vec<&str> = line.split('=').collect();
if parts.len() != 2 {
return None;
}
let value = parts[1].parse::<i64>().ok()?;
Some((parts[0], value))
}
fn main() {
let _ = parse_metric("requests=10");
}

View File

@@ -0,0 +1,9 @@
# sql_etl_pipeline
- stack: sql
- validator: sqllogictest tests/*.slt
- common_failure_modes: schema drift, non-idempotent transforms
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: sql_etl_pipeline
sql/001_create_tables.sql, sql/010_transform.sql
## Validator
`sqllogictest tests/*.slt`

View File

@@ -0,0 +1,5 @@
CREATE TABLE IF NOT EXISTS events (
id TEXT PRIMARY KEY,
ts TEXT NOT NULL,
kind TEXT NOT NULL
);

View File

@@ -0,0 +1,2 @@
INSERT INTO events (id, ts, kind)
SELECT id, ts, kind FROM staging_events;

View File

@@ -0,0 +1,9 @@
# terraform_vpc_stack
- stack: terraform
- validator: terraform validate
- common_failure_modes: resource drift, provider/schema mismatch
## Scope
Small representative project for training data generation.

View File

@@ -0,0 +1,7 @@
# Task Seeds: terraform_vpc_stack
main.tf
## Validator
`terraform validate`

View File

@@ -0,0 +1,5 @@
terraform {
required_version = ">= 1.5.0"
}
resource "null_resource" "example" {}