The prd step returns the PRD as structured fields and human.approve takes them as its document. The plan text every surface reads and the approval card's layout are both rendered from that one document, so what the human approves is what the implement workflow is handed. Replaces the separately generated OpenUI view, which could drift from the plan.
46 lines
1.7 KiB
HTML
46 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Archie</title>
|
|
<script>
|
|
// Set before the first paint so a reload does not flash the wrong
|
|
// palette or layout. Kept in sync with the appearance Pinia store;
|
|
// blocked site data falls back to dark, comfortable spacing and the
|
|
// system motion preference.
|
|
(function () {
|
|
var theme = "dark";
|
|
try {
|
|
var storedTheme = localStorage.getItem("archie.theme");
|
|
if (storedTheme === "light") theme = "light";
|
|
if (storedTheme === "system") {
|
|
theme = matchMedia("(prefers-color-scheme: dark)").matches
|
|
? "dark"
|
|
: "light";
|
|
}
|
|
if (localStorage.getItem("archie.density") === "compact") {
|
|
document.documentElement.dataset.density = "compact";
|
|
}
|
|
if (localStorage.getItem("archie.motion") === "reduced") {
|
|
document.documentElement.dataset.motion = "reduced";
|
|
}
|
|
} catch (e) {
|
|
/* default stands */
|
|
}
|
|
document.documentElement.dataset.theme = theme;
|
|
})();
|
|
</script>
|
|
<script type="module" crossorigin src="/assets/index.js"></script>
|
|
<link rel="modulepreload" crossorigin href="/assets/PageHeader.js">
|
|
<link rel="modulepreload" crossorigin href="/assets/createLucideIcon.js">
|
|
<link rel="modulepreload" crossorigin href="/assets/badge.js">
|
|
<link rel="modulepreload" crossorigin href="/assets/input.js">
|
|
<link rel="stylesheet" crossorigin href="/assets/index.css">
|
|
</head>
|
|
<body>
|
|
<div id="app"></div>
|
|
</body>
|
|
</html>
|