Spaces:
Running on Zero
Running on Zero
fix: make map status user-facing
Browse filesCo-authored-by: Codex <noreply@openai.com>
- README.md +5 -5
- static/app.js +6 -4
- static/index.html +1 -1
README.md
CHANGED
|
@@ -75,14 +75,14 @@ The `chapter` Gradio API endpoint and `Chapter` button export the public-facing
|
|
| 75 |
one idea page per saved direction, each with verdict, score, selected goals, and closest cited pages. It is the
|
| 76 |
shareable companion to the working notes artifact.
|
| 77 |
|
| 78 |
-
## Idea Board
|
| 79 |
|
| 80 |
-
The `
|
| 81 |
strongest page as the active idea, and drafts the next build step. The app then moves that page to the top of the Idea
|
| 82 |
Board and refreshes the seal, wood map, plan, and PNG artifact around the chosen direction.
|
| 83 |
Users can also click any Idea Board page to make it current before pressing `Plan`.
|
| 84 |
-
If the board is empty, `Plan` and `
|
| 85 |
-
`Gap` first.
|
| 86 |
|
| 87 |
## Gap Exploration
|
| 88 |
|
|
@@ -93,7 +93,7 @@ planning.
|
|
| 93 |
## Profile-Aware Plans
|
| 94 |
|
| 95 |
The `Profile` panel is part of the planning loop. Skills, time, preferences, and constraints are stored in the session
|
| 96 |
-
and inserted into `Plan` and `
|
| 97 |
"CPU-only Space" into concrete scoping steps instead of generic advice.
|
| 98 |
|
| 99 |
## LoRA Dataset Artifact
|
|
|
|
| 75 |
one idea page per saved direction, each with verdict, score, selected goals, and closest cited pages. It is the
|
| 76 |
shareable companion to the working notes artifact.
|
| 77 |
|
| 78 |
+
## Idea Board Compare
|
| 79 |
|
| 80 |
+
The `Compare` command rescans the saved idea board, recalculates each seal against the selected goals, selects the
|
| 81 |
strongest page as the active idea, and drafts the next build step. The app then moves that page to the top of the Idea
|
| 82 |
Board and refreshes the seal, wood map, plan, and PNG artifact around the chosen direction.
|
| 83 |
Users can also click any Idea Board page to make it current before pressing `Plan`.
|
| 84 |
+
If the board is empty, `Plan` and `Compare` do not create placeholder pages; they prompt the user to write an idea or
|
| 85 |
+
press `Gap` first.
|
| 86 |
|
| 87 |
## Gap Exploration
|
| 88 |
|
|
|
|
| 93 |
## Profile-Aware Plans
|
| 94 |
|
| 95 |
The `Profile` panel is part of the planning loop. Skills, time, preferences, and constraints are stored in the session
|
| 96 |
+
and inserted into `Plan` and `Compare` build paths, so the app can turn "one evening", "frontend prototyping", or
|
| 97 |
"CPU-only Space" into concrete scoping steps instead of generic advice.
|
| 98 |
|
| 99 |
## LoRA Dataset Artifact
|
static/app.js
CHANGED
|
@@ -410,10 +410,12 @@ function applyDemoSession(data) {
|
|
| 410 |
}
|
| 411 |
|
| 412 |
function renderProvenance(data) {
|
| 413 |
-
const
|
| 414 |
-
const
|
| 415 |
-
|
| 416 |
-
|
|
|
|
|
|
|
| 417 |
}
|
| 418 |
|
| 419 |
function renderRestoredSession(data) {
|
|
|
|
| 410 |
}
|
| 411 |
|
| 412 |
function renderProvenance(data) {
|
| 413 |
+
const projectCount = Number(data.project_count || data.top_projects?.length || 0);
|
| 414 |
+
const countLabel = projectCount
|
| 415 |
+
? `${projectCount} project page${projectCount === 1 ? "" : "s"} mapped`
|
| 416 |
+
: "Current project map loaded";
|
| 417 |
+
const updated = shortDate(data.snapshot_generated_at || data.index_generated_at);
|
| 418 |
+
provenanceEl.textContent = `${countLabel} 路 updated ${updated}`;
|
| 419 |
}
|
| 420 |
|
| 421 |
function renderRestoredSession(data) {
|
static/index.html
CHANGED
|
@@ -139,7 +139,7 @@
|
|
| 139 |
type="button"
|
| 140 |
class="btn"
|
| 141 |
data-command="compare ideas"
|
| 142 |
-
title="
|
| 143 |
>
|
| 144 |
<svg class="icon"><use href="#icon-rank"></use></svg>
|
| 145 |
Compare
|
|
|
|
| 139 |
type="button"
|
| 140 |
class="btn"
|
| 141 |
data-command="compare ideas"
|
| 142 |
+
title="Compare saved ideas"
|
| 143 |
>
|
| 144 |
<svg class="icon"><use href="#icon-rank"></use></svg>
|
| 145 |
Compare
|