{
  "schema": "glee.remix_protocol.v0",
  "remix_id": "GLEE-REMIX-PROTOCOL-v0",
  "title": "GLEE Remix Protocol",
  "status": "draft_protocol",
  "updated_at_utc": "2026-07-06T06:56:22Z",
  "definition": "GLEE Remix studies what useful software does, abstracts the job-to-be-done, then builds a GLEE-native alternative with its own code, interface, data model, receipts, and differentiation.",
  "public_doctrine": "GLEE Remix does not clone products. GLEE studies useful patterns, rebuilds them through GLEE architecture, and publishes receipts showing source, license posture, decisions, differences, and proof.",
  "core_rule": "Copy the job-to-be-done, not protected expression.",
  "relationship_to_absorption": "Absorption catalogues and reviews source material. Remix begins only after GLEE can state what is being learned, what cannot be reused, what must be attributed, and why a GLEE-native version should exist.",
  "legal_note": "Compliance orientation only, not legal advice. Remix records should name source, license posture, attribution needs, and expression-safety gates before build or publication.",
  "legal_sources": [
    {
      "label": "U.S. Copyright Office FAQ",
      "url": "https://www.copyright.gov/help/faq/faq-protect.html",
      "point": "Copyright does not protect ideas, concepts, systems, or methods; expression can be protected."
    },
    {
      "label": "Canadian Intellectual Property Office copyright guide",
      "url": "https://ised-isde.canada.ca/site/canadian-intellectual-property-office/en/guide-copyright",
      "point": "Canada protects original works fixed in material form; ideas and facts are not protected by copyright."
    }
  ],
  "proof_loop": [
    {
      "label": "Public receipt projection",
      "url": "../receipts/",
      "point": "Receipt-backed Remix candidates should point to the local public-safe receipt browser before any publication claim."
    },
    {
      "label": "Local Launch Review",
      "url": "../launch-review/",
      "point": "Launch Review keeps proof, blockers, and deploy authority separate from Remix candidate description."
    }
  ],
  "stats": {
    "modes": 5,
    "pipeline_steps": 9,
    "compliance_gates": 8,
    "starter_records": 4,
    "candidate_packets": 1
  },
  "modes": [
    {
      "id": "absorb",
      "label": "Absorb",
      "purpose": "Record source, purpose, license, architecture, risks, and what can or cannot be reused.",
      "output": "Absorption record"
    },
    {
      "id": "abstract",
      "label": "Abstract",
      "purpose": "Extract workflows, user goals, data shapes, interfaces, and constraints without copying protected expression.",
      "output": "Pattern brief"
    },
    {
      "id": "clean_room",
      "label": "Clean-room",
      "purpose": "For restricted or proprietary targets, separate behavior observation from implementation so the builder works from a high-level behavior spec.",
      "output": "Clean-room behavior spec"
    },
    {
      "id": "remix",
      "label": "Remix",
      "purpose": "Build a GLEE-native program with its own architecture, receipts, local control, and public proof.",
      "output": "GLEE-native build"
    },
    {
      "id": "differentiate",
      "label": "Differentiate",
      "map_label": "Diff",
      "purpose": "Prove why the result exists as GLEE: better authority, receipts, APIs, learning value, cost, or workflow fit.",
      "output": "Difference receipt"
    }
  ],
  "pipeline": [
    {
      "id": "target",
      "label": "Target",
      "gate": "Name the program, repo, workflow, or product category and why GLEE is studying it.",
      "receipt": "target_url_or_reference"
    },
    {
      "id": "study",
      "label": "Study",
      "gate": "Map purpose, audience, workflows, interfaces, data shape, constraints, and evidence sources.",
      "receipt": "study_notes"
    },
    {
      "id": "rights",
      "label": "Rights posture",
      "gate": "Classify open-source license, public-pattern status, restricted target, assets, names, copied text risk, and attribution needs.",
      "receipt": "license_and_expression_review"
    },
    {
      "id": "abstract",
      "label": "Abstract",
      "gate": "Write the job-to-be-done and behavior spec without copied code, copied assets, distinctive text, or brand expression.",
      "receipt": "abstract_spec"
    },
    {
      "id": "glee_spec",
      "label": "GLEE spec",
      "gate": "Define how the result becomes local-first, API-backed, receipt-tracked, agent-ready, and publicly verifiable.",
      "receipt": "glee_native_spec"
    },
    {
      "id": "build",
      "label": "Build",
      "gate": "Implement original code and interface within the approved mutation set.",
      "receipt": "build_receipt"
    },
    {
      "id": "compare",
      "label": "Compare",
      "gate": "Compare against the target job, not target expression; verify the GLEE version solves the intended problem.",
      "receipt": "comparison_receipt"
    },
    {
      "id": "differentiate",
      "label": "Differentiate",
      "gate": "Name what is meaningfully GLEE-native and why it should exist.",
      "receipt": "difference_claim"
    },
    {
      "id": "publish",
      "label": "Publish",
      "gate": "Publish only after attribution, license posture, receipts, demo proof, and no-affiliation language are clear.",
      "receipt": "public_release_record"
    }
  ],
  "source_types": [
    {
      "id": "open_source",
      "label": "Open source",
      "default_mode": "Absorb first; reuse only according to license obligations."
    },
    {
      "id": "public_pattern",
      "label": "Public pattern",
      "default_mode": "Abstract the common job-to-be-done and rebuild from GLEE requirements."
    },
    {
      "id": "restricted_target",
      "label": "Restricted target",
      "default_mode": "Clean-room behavior spec before implementation."
    },
    {
      "id": "glee_internal",
      "label": "GLEE internal",
      "default_mode": "Self-absorb GLEE history and replay old work as training terrain."
    }
  ],
  "compliance_gates": [
    "No copied source code from restricted targets.",
    "No copied brand names, marks, icons, artwork, screenshots, distinctive layout, or interface text.",
    "No copied proprietary data or private account output.",
    "Open-source reuse must record license, attribution, notices, and copyleft boundaries before integration.",
    "Restricted targets require clean-room separation between behavior observation and implementation.",
    "Every Remix needs a written differentiation claim before public release.",
    "Every published Remix needs source, no-affiliation, and receipt language.",
    "When a rights or safety judgment is uncertain, mark the Remix as quarantine or special review."
  ],
  "statuses": [
    "observed",
    "absorbed",
    "abstracted",
    "specified",
    "built",
    "verified",
    "published",
    "quarantined"
  ],
  "starter_records": [
    {
      "id": "REMIX-CANDIDATE-DREAM-BOARD",
      "title": "GLEE Dream Board",
      "source_type": "public_pattern",
      "target_pattern": "Project boards and kanban workflows",
      "glee_version": "Dreams, tasks, receipts, agents, public milestones, and promotion gates in one project-realization board.",
      "status": "prototype_local_not_deployed",
      "differentiation": "Cards are not generic tasks; they carry intent, authority, proof, and release state.",
      "packet_url": "../data/remix/candidates/GLEE-DREAM-BOARD-v0.json",
      "prototype_url": "../dream-board/"
    },
    {
      "id": "REMIX-CANDIDATE-CLI-HARNESS",
      "title": "GLEE Agent CLI Harness",
      "source_type": "open_source",
      "target_pattern": "Agent-native command surfaces",
      "glee_version": "Commands expose side effects, JSON receipts, authority gates, and replayable tests.",
      "status": "candidate",
      "differentiation": "Every command is built for agent inspection before execution."
    },
    {
      "id": "REMIX-CANDIDATE-RESEARCH-CARDS",
      "title": "GLEE Research Cards",
      "source_type": "public_pattern",
      "target_pattern": "Read-it-later, citation, and research notebook tools",
      "glee_version": "Sources become claim cards with citations, uncertainty, replay prompts, and public proof links.",
      "status": "candidate",
      "differentiation": "The output is not a saved article; it is a verifiable claim trail."
    },
    {
      "id": "REMIX-CANDIDATE-SELF-REPLAY",
      "title": "GLEE Self-Replay Bench",
      "source_type": "glee_internal",
      "target_pattern": "Historical issue replay and project-specific agent evaluation",
      "glee_version": "Old GLEE tasks become replay episodes that compare current agents against prior receipts.",
      "status": "candidate",
      "differentiation": "GLEE learns from its own build history instead of treating each task as isolated."
    }
  ]
}
