Gap-to-Draft Pipeline (ietf pipeline): - Context builder assembles ideas, RFC foundations, similar drafts, ecosystem vision - Generator produces outlines + sections using rich context with Claude - Quality gates: novelty (embedding similarity), references, format, self-rating - Family coordinator generates 5-draft ecosystem (AEM/ATD/HITL/AEPB/APAE) - I-D formatter with proper headers, references, 72-char wrapping Living Standards Observatory (ietf observatory): - Source abstraction with IETF + W3C fetchers - 7-step update pipeline: snapshot, fetch, analyze, embed, ideas, gaps, record - Static GitHub Pages dashboard (explorer, gap tracker, timeline) - Weekly CI/CD automation via GitHub Actions Also includes: - 361 drafts (expanded from 260 with 6 new keywords), 403 authors, 1,262 ideas, 12 gaps - Blog series (8 posts planned), reports, arXiv paper figures - Agent team infrastructure (CLAUDE.md, scripts, dev journal) - 5 new DB tables, schema migration, ~15 new query methods Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
33 lines
983 B
Bash
Executable File
33 lines
983 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Generate the full 5-draft agent ecosystem family
|
|
# Usage: ./scripts/generate-draft-family.sh [--cheap]
|
|
#
|
|
# Generates: AEM, ATD, HITL, AEPB, APAE drafts
|
|
# Output: data/reports/generated-drafts/
|
|
# Estimated cost: ~$0.28/draft ($1.50 total with --quality, ~$0.15 with --cheap)
|
|
|
|
set -euo pipefail
|
|
|
|
QUALITY_FLAG="${1:---quality}"
|
|
|
|
echo "=== Generating Agent Ecosystem Draft Family ==="
|
|
echo "Mode: ${QUALITY_FLAG}"
|
|
echo ""
|
|
|
|
# Generate the full family
|
|
ietf pipeline family --name agent-ecosystem "${QUALITY_FLAG}"
|
|
|
|
echo ""
|
|
echo "=== Running quality gates ==="
|
|
|
|
# Get IDs of generated drafts and run quality gates
|
|
for id in $(sqlite3 data/drafts.db "SELECT id FROM generated_drafts WHERE family_name='agent-ecosystem' ORDER BY id"); do
|
|
echo "Quality check: draft #${id}"
|
|
ietf pipeline quality "${id}" || true
|
|
done
|
|
|
|
echo ""
|
|
echo "=== Done ==="
|
|
echo "Drafts saved to: data/reports/generated-drafts/"
|
|
echo "Run 'ietf pipeline status' to see all generated drafts"
|