mirror of
https://github.com/lux-apps/papers.git
synced 2026-11-02 11:39:52 +00:00
Inventory captures stack-wide ZAP coverage; rows updated to reflect this session's landings: - lux/utxo: linearcodec rip closed (commit luxfi/utxo@559e482) — Tier 5 DONE - hanzo/agent: cross-process ZAP wire shipped (commit hanzoai/agent@ecf7ff6) — Tier 5 DONE via HANZO_AGENT_WIRE=zap feature flag, default JSON path preserved for OpenAI compat - hanzo/mcp: MCP<->browser ZAP path shipped (zap-server.ts wired into both index.ts and cli.ts) — MCP<->MCP federation client-side is the remaining gap Paper body: threat-equivalent inventory + bench claims (7.50x parse geomean LP-023 measured, 7.4-8.6x compounded stack-wide, 24x alloc reduction, 14x fewer GC runs) + Tier 1 URGENT list. Risks section flags Tier 4 external-boundary services (binance/coinbase/stripe/plivo/openai/anthropic) as DO-NOT-MIGRATE.
40 lines
1.5 KiB
Makefile
40 lines
1.5 KiB
Makefile
# LP-201 — ZAP as Universal Wire
|
|
# Build with `make` (uses tectonic; fall back to `make pdflatex`).
|
|
|
|
PAPER := paper
|
|
TEX_INPUTS := .:..:../shared:
|
|
|
|
.PHONY: all clean check pdflatex
|
|
|
|
# tectonic is the canonical builder (hermetic, cross-platform)
|
|
all: $(PAPER).pdf
|
|
|
|
$(PAPER).pdf: $(PAPER).tex \
|
|
sections/inventory.tex \
|
|
sections/proposal.tex \
|
|
sections/bench.tex \
|
|
sections/risks.tex \
|
|
references.bib
|
|
@TEXINPUTS=$(TEX_INPUTS) tectonic --keep-intermediates $(PAPER).tex
|
|
@[ -f $(PAPER).pdf ] && echo "OK $(PAPER).pdf" || (echo "FAIL — see $(PAPER).log" && exit 1)
|
|
|
|
# Fallback: pdflatex if tectonic isn't installed
|
|
pdflatex: $(PAPER).tex
|
|
@TEXINPUTS=$(TEX_INPUTS) pdflatex -interaction=nonstopmode $(PAPER).tex > /dev/null 2>&1 || true
|
|
@TEXINPUTS=$(TEX_INPUTS) bibtex $(PAPER) > /dev/null 2>&1 || true
|
|
@TEXINPUTS=$(TEX_INPUTS) pdflatex -interaction=nonstopmode $(PAPER).tex > /dev/null 2>&1 || true
|
|
@TEXINPUTS=$(TEX_INPUTS) pdflatex -interaction=nonstopmode $(PAPER).tex > /dev/null 2>&1 || true
|
|
@[ -f $(PAPER).pdf ] && echo "OK $(PAPER).pdf" || (echo "FAIL — see $(PAPER).log" && exit 1)
|
|
|
|
# Quick syntactic sanity check
|
|
check:
|
|
@for f in $(PAPER).tex sections/inventory.tex sections/proposal.tex \
|
|
sections/bench.tex sections/risks.tex \
|
|
references.bib wire-inventory.csv; do \
|
|
[ -f "$$f" ] && echo "OK $$f" || echo "MISSING $$f"; \
|
|
done
|
|
|
|
clean:
|
|
@rm -f $(PAPER).aux $(PAPER).log $(PAPER).out $(PAPER).toc \
|
|
$(PAPER).bbl $(PAPER).blg $(PAPER).pdf
|