e7866fda84
Nova Slides Render / render (push) Failing after 1m4s
AUTONOMY_THESIS.md (git mv from NO_HUMANS_THESIS.md): reframe from 'removing humans' to 'autonomy in operations, human at stage gates'. Drop D-### citations + internal file paths; keep anti-claims, reworded. Anti-claim #1 now: 'decisions are NOT made by an LLM — deterministic scripts calculate a score; the platform functions without AI'. NORTH_STAR.md: - Vision: 'invisible' → 'visible' (operations become visible — recurring theme); polish for technical audience (security, remediation velocity, reliability, lead time). - Objective #2: 'provable trust in AI decisions' → 'provable trust in automated decisions' (deterministic scripts calculate a score; platform functions without AI). - Objective #3: four CTO-grade metrics (Lead Time PR→Prod, Infra Vuln Count trend, MTTR, Cloud Spend Reduction) → all flow into PowerBI. - Objective #4: 'default substrate for agentic consumption' → integrate with externally owned PDLC/SDLC/Agentic/Citizen Developer platforms regardless of source; Nova provides skills + MCP endpoints; all prod intents go through the same controls + quality gates. - Anti-goals: drop #1 (hyperscaler competitor), #4 (legacy untagged), #5 (sold to operators). Add: 'not an upstream development platform', 'not a replacement for the PDLC'. Reword #3 (no 'removes humans'). docs/raci.md: 3 roles → 4 roles. Add Quality Engineering column. Rename Release Management → SRE. Split release attestation into Quality attestation (QA) + Production readiness (SRE). Platform no longer holds A for attestation — reassigned to QE/SRE. docs/scope.md: add integration framing (skills + MCP endpoints, all sources go through same controls). Render scripts: default deck name → nova-autonomous-cloud-delivery. ONBOARDING + terraform/onboarding: 'no-humans' → 'autonomous'. ---ci--- project: acdl phase: 1 milestone: v1.21 status: execute phase_role: execution ---/ci---
56 lines
2.0 KiB
Bash
Executable File
56 lines
2.0 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# scripts/render_deck.sh — render a Marp deck to HTML + PPTX, commit both to git.
|
|
# REQ-228 (v1.18): PPTX is now a first-class committed artifact + release attachment.
|
|
#
|
|
# Usage:
|
|
# bash scripts/render_deck.sh <deck-name>
|
|
# bash scripts/render_deck.sh nova-autonomous-cloud-delivery
|
|
#
|
|
# Renders:
|
|
# docs/presentations/<deck-name>-marp.md → docs/presentations/<deck-name>.html (committed)
|
|
# → docs/presentations/<deck-name>.pptx (committed, binary)
|
|
#
|
|
# The PPTX is also attached to the current phase's Gitea release via
|
|
# scripts/attach_release_asset.py (call separately after ship, or this script
|
|
# will invoke it if NOVA_GITEA_RELEASE_ID is set).
|
|
set -euo pipefail
|
|
|
|
DECK="${1:?Usage: render_deck.sh <deck-name>}"
|
|
cd "$(git rev-parse --show-toplevel)"
|
|
|
|
SRC="docs/presentations/${DECK}-marp.md"
|
|
HTML="docs/presentations/${DECK}.html"
|
|
PPTX="docs/presentations/${DECK}.pptx"
|
|
|
|
if [ ! -f "$SRC" ]; then
|
|
echo "ERROR: source deck $SRC not found" >&2; exit 1
|
|
fi
|
|
|
|
CHROME=""
|
|
for c in \
|
|
/root/.cache/ms-playwright/chromium-1217/chrome-linux64/chrome \
|
|
/usr/bin/chromium \
|
|
/usr/bin/chromium-browser \
|
|
/usr/bin/google-chrome; do
|
|
if [ -x "$c" ]; then CHROME="$c"; break; fi
|
|
done
|
|
if [ -z "$CHROME" ]; then
|
|
echo "WARNING: no Chrome/Chromium found — skipping render (HTML/PPTX will need manual re-render)" >&2
|
|
exit 0
|
|
fi
|
|
export CHROME_PATH="$CHROME"
|
|
|
|
echo "Rendering HTML → $HTML"
|
|
npx --yes @marp-team/marp-cli@latest --allow-local-files "$SRC" -o "$HTML" 2>&1 | tail -3
|
|
|
|
echo "Rendering PPTX → $PPTX"
|
|
npx --yes @marp-team/marp-cli@latest --allow-local-files "$SRC" -o "$PPTX" 2>&1 | tail -3
|
|
|
|
git add "$HTML" "$PPTX"
|
|
echo "Staged $HTML + $PPTX for commit."
|
|
|
|
if [ -n "${NOVA_GITEA_RELEASE_ID:-}" ]; then
|
|
echo "Attaching PPTX to Gitea release $NOVA_GITEA_RELEASE_ID..."
|
|
python3 scripts/attach_release_asset.py "$PPTX" "$NOVA_GITEA_RELEASE_ID" || \
|
|
echo "WARNING: attach failed — PPTX is still committed; attach manually."
|
|
fi |