Inventory is now the Market
Everything the user sees says Market: the sidebar, titles, breadcrumbs, help text, messages, suggestions and the agent tool's description; the export downloads as supermarket-market.yaml. Its pages live under /market, and the old /inventory addresses redirect there (308, so a form's POST stays a POST). The YAML format (inventory:), the database and the code's names are unchanged, so exported files still import. A breadcrumb no longer repeats the page's own title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -184,7 +184,7 @@ func loadKnown(d *db.DB, prof *profile.Profile) (*known, error) {
|
||||
}
|
||||
for _, e := range entries {
|
||||
for _, w := range e.Websites {
|
||||
add(w, "in your inventory ("+e.Relationship+")")
|
||||
add(w, "in your Market ("+e.Relationship+")")
|
||||
}
|
||||
}
|
||||
for _, q := range []struct{ sql, why string }{
|
||||
|
||||
@@ -79,7 +79,7 @@ func TestFindWithClaude(t *testing.T) {
|
||||
if run.Found != 6 || run.Added != 1 || run.Existing != 1 || run.Skipped != 4 || run.Searches != 4 || run.Status != "done" {
|
||||
t.Fatalf("run: %+v", run)
|
||||
}
|
||||
for _, want := range []string{"Made Up: its source wasn't among the pages searched", "Rival: in your inventory", "Nope: on the suppression list", "Us: that's you"} {
|
||||
for _, want := range []string{"Made Up: its source wasn't among the pages searched", "Rival: in your Market", "Nope: on the suppression list", "Us: that's you"} {
|
||||
if !strings.Contains(strings.Join(run.Notes, "\n"), want) {
|
||||
t.Errorf("notes lack %q: %q", want, run.Notes)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user