Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions app/mirofish/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { MirofishConsole } from "@/components/mirofish-console";
import { ProtectedAppShell } from "@/components/protected-app-shell";
import { privateMetadata } from "@/lib/seo";

export const metadata = privateMetadata("Swarm Intelligence Lab");

/** Authenticated, five-stage MiroFish-inspired scenario console. */
export default function MirofishPage() {
return (
<ProtectedAppShell>
<MirofishConsole />
</ProtectedAppShell>
);
}
1,043 changes: 1,043 additions & 0 deletions components/mirofish-console.tsx

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion components/sidebar-nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
BookMarked,
BookOpen,
MessageSquare,
Network,
Newspaper,
ReceiptText,
ShieldCheck
Expand All @@ -15,6 +16,7 @@ import { cn } from "@/lib/utils";
const navigationItems = [
{ href: "/app/discover", label: "Discover", icon: Newspaper, section: "discover" },
{ href: "/app/research", label: "Research", icon: MessageSquare, section: "workspace" },
{ href: "/mirofish", label: "Swarm Lab", icon: Network, section: "workspace" },
{ href: "/app/courses", label: "Courses", icon: BookOpen, section: "learn" },
{ href: "/app/glossary", label: "Glossary", icon: BookMarked, section: "learn" },
{ href: "/profile", label: "Profile", icon: ShieldCheck, section: "account" },
Expand All @@ -25,6 +27,7 @@ const navigationItems = [
function isItemActive(pathname: string, href: string) {
if (href === "/app/courses") return pathname.startsWith("/app/courses");
if (href === "/app/research") return pathname.startsWith("/app/research");
if (href === "/mirofish") return pathname.startsWith("/mirofish");
return pathname === href;
}

Expand Down Expand Up @@ -92,7 +95,7 @@ export function MobileNav() {
>
<div className="mx-auto grid max-w-lg grid-cols-5 gap-1">
{mobileItems
.filter((item) => item.href !== "/app/glossary")
.filter((item) => item.href !== "/app/glossary" && item.href !== "/mirofish")
.map((item) => {
const active = isItemActive(pathname, item.href);
const Icon = item.icon;
Expand Down
33 changes: 33 additions & 0 deletions founder/mirofish/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# MUN Prep · MiroFish-inspired scenario pack

This directory is a reproducible, local scenario replay built from the repository's existing **synthetic** founder-panel personas and answers. It follows the five-stage MiroFish workflow as a design reference—Graph Build, Environment Setup, dual-platform simulation, ReportAgent, and Deep Interaction—but it is **not the MiroFish runtime**.

## Rebuild

From the repository root, run:

```sh
corepack pnpm mirofish:simulate
```

The deterministic script writes the graph, profiles, configuration, two platform timelines, run state, report outline, tool trace, and report below. It also adds the separate post-replay summary at `founder/panel/swarm-reactions.md` and `.json`; the original panel answers/results remain unchanged.

## Artifacts

- `ontology.json` — scenario, entity types, relationship types, and evidence boundary.
- `graph.json` — 51 nodes, 88 relationships, and temporal-memory facts.
- `oasis_profiles.json` — 40 synthetic profiles with experience, behavior, memory, and social dimensions.
- `simulation_config.json` — seed, timeline, action types, and live-vs-what-if event definitions.
- `twitter_actions.jsonl` / `reddit_actions.jsonl` — five rounds of synthetic actions per platform.
- `run_state.json` — completed run metadata and historical baseline label.
- `outline.json`, `agent_log.jsonl`, and `report.md` — local ReACT-style report plan, inspectable tool trace, and interpretation.

## Evidence and privacy limits

- No real delegates were interviewed; no customer records or credentials are included.
- No external LLM, OASIS simulator, Zep graph service, or network call is used.
- Stance tags are not purchase intent, conversion probabilities, or population estimates.
- The original 9/40 result belongs to an earlier synthetic panel and a pay-first offer. It is not validation of the current 3-day trial.
- Source-linked proof, public sample briefs, and club pilots appear only as clearly labeled what-if experiments unless independently verified in the product.

Workflow reference: <https://github.com/666ghj/MiroFish>.
6 changes: 6 additions & 0 deletions founder/mirofish/agent_log.jsonl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{"at":"2026-10-15T00:00:01.000Z","stage":"retrieval","action":"tool_call","tool_name":"QuickSearch","query":"3-day trial, card requirement, ₹199 / ₹299 current offer","details":{"retrieved_from":["lib/plans.ts","founder/offer.md"],"external_calls":0}}
{"at":"2026-10-15T00:00:02.000Z","stage":"retrieval","action":"tool_result","tool_name":"QuickSearch","details":{"product_facts":4,"caveat":"No claim that source-linked citations or public testimonials are already solved."}}
{"at":"2026-10-15T00:00:03.000Z","stage":"mapping","action":"tool_call","tool_name":"PanoramaSearch","query":"all 40 synthetic profiles, segments, concerns, habits, and flip conditions","details":{"nodes":51,"edges":88,"temporal_memories":88}}
{"at":"2026-10-15T00:00:04.000Z","stage":"attribution","action":"tool_call","tool_name":"InsightForge","query":"Does a free trial resolve price, trust, or coach substitution?","details":{"comparison":"archived synthetic answer vs current product snapshot","purchase_forecast":false}}
{"at":"2026-10-15T00:00:05.000Z","stage":"interview","action":"tool_call","tool_name":"InterviewSubAgent","query":"What would change your mind after the product snapshot changed?","details":{"synthetic_agents":40,"independent_humans":0,"external_llm_calls":0}}
{"at":"2026-10-15T00:00:06.000Z","stage":"report","action":"report_complete","tool_name":null,"details":{"sections":5,"evidence_class":"synthetic, deterministic, exploratory only"}}
Loading
Loading