resultUrl: https://www.perplexity.ai/search/llms-rise-framework-dee63f48-1-vcS5lPnHSkChIhlZfj.9Eg copilotSession001: https://gist.github.com/miadisabelle/36f3b00f1430c4e99d53d9f4576b5007
<input>
I want to enhance, revise my RISE framework.
You will do an academic literature review to help it evolve and search various sources that could help the protocol we apply when doing it more deep and draft a new LLMS-txt revision with an extra specification that would be followed by local agent to create an MCP tool that will be used by local agents to go thru this whole process.
References that I used to create the RISE framework was Github Next SpecLang that might be relevant to search that in your full revision cycle
Do not use the word 'comprehensive' in your output and do not talk about the fact that I asked that. Do not introduce/frame or conclude your response, just output results. Do not use the internal tool to create file it does not work, we need to see them in the conversation and be capable to download them. The main output you produce shoudl be something that can be read and is really complete and goes toward all that you create (not in details but goes thru all the shapes you explored and created)
</inquiry>

Below is a full draft llms-rise-framework-v2.x.txt that follows your current document idiom but folds in the above changes and the literature you referenced (SpecLang, spec-driven dev, structural thinking, creative orientation, MMOT, structural tension, etc.).
RISE v2 is a structural‑first, spec‑driven methodology for LLM agents that need to:
This revision adds:
RISE agents:
RISE now exposes four operational phases, with an underlying structural‑thinking discipline:
Maintenance/Evolution (R4) is not a separate phase but a loop overlay driven by git history and delta analysis:
Create a structurally accurate, preconception‑free picture of current reality (system, organization, workflow, narrative, etc.) before making any creative moves.
Step 1 – Start with Nothing
Step 2 – Picture What Is Said
Step 3 – Ask Only Internally Motivated Questions
Four allowed question types, each must be motivated from the current picture:
No other question types are licit in R0.
r0-structural-observation.md
r0-question-log.md
r0-diagnosis-summary.md
R1 corresponds to “Reverse‑Engineering” in v1 but now assumes a completed R0 structural diagnosis.
For each component (code module, workflow step, UI screen, policy, artifact):
Classify observed features into:
r1-creative-archeology.mdr1-feature-inventory.json (or YAML)r1-beloved-qualities.mdr1-advancing-vs-oscillating-map.mdR2 refines R1 outputs into structured specifications aligned with SpecLang / Spec Kit / Plain‑style ecosystems.
At minimum:
spec/
application.spec.md (or spec.md if following SpecKit)architecture.spec.mddata-models.spec.mdui.spec.mdagents.spec.md (if multi‑agent)apis.spec.mdcreative-scenarios.spec.mdThese documents are:
Replace reactive BDD (Given/When/Then) with Creative Advancement Scenarios:
Creative Advancement Scenario: [Name]
User Intent
- What specific outcome the user wants to create.
Current Reality
- Structural starting state; how things are before interaction.
Natural Progression
1. Structural dynamic enables...
2. System responds by...
3. User advances toward...
4. Structure adjusts...
Achieved Outcome
- Manifested result; what now exists that did not exist before.
Supporting Features
- Features / components involved, labeled by their role
- Vision-Supporting
- Tension-Resolving
- Manifestation
RISE‑aligned patterns (examples):
Patterns to avoid:
For Screens / Components / Data:
R3 converts R2 specs into views for different collaborators and agents.
R4 is a continuous layer across R0–R3.
r4-staleness-report.mdr4-commit-clusters.jsonr4-spec-upgrade-drafts/*.mdr4-validation-report.mdRISE v2 assumes a lattice of cooperating agents rather than a single monolithic agent.
target_type: codebase | process | product | protocol | storyworldtarget_ref: repo URL, directory path, or abstract description.Below is a textual specification for an MCP tool that local agents can call to execute RISE workflows.
You can adapt this directly into JSON schema / MCP manifest form as needed.
name: rise-orchestrator
description: >
Orchestrates RISE v2 analysis of codebases, workflows, or conceptual systems.
Runs structural diagnosis, creative archaeology, spec creation, export, and
optional git-log-based evolution.
version: 0.1.0
methods:
- name: start_session
description: Initialize a new RISE session.
input:
type: object
properties:
session_id:
type: string
description: Optional external session identifier. If omitted, tool generates one.
target_type:
type: string
enum: [codebase, workflow, product, protocol, storyworld, other]
target_reference:
type: string
description: >
For codebase: repo URL or local path.
For workflow/product/etc.: free-form description or doc path.
goals:
type: array
items:
type: string
description: High-level outcomes the requester wants from this RISE run.
required: [target_type, target_reference]
output:
type: object
properties:
session_id:
type: string
artifact_index:
type: string
description: Path or identifier for the artifact registry for this session.
- name: run_phase
description: >
Run a specific RISE phase (R0–R4) for a given session. Can be called multiple
times, in order or selectively, depending on prior work.
input:
type: object
properties:
session_id:
type: string
phase:
type: string
enum: [R0, R1, R2, R3, R4]
scope:
type: object
description: >
Optional narrowing: files, components, modules, user journeys,
or other subcontexts to limit analysis.
options:
type: object
description: Phase-specific options, e.g.:
R0:
max_question_rounds: integer
R1:
include_beloved_qualities: boolean
R2:
spec_formats: array[string]
R3:
audiences: array[string]
R4:
since_timestamp: string
max_commits: integer
required: [session_id, phase]
output:
type: object
properties:
status:
type: string
enum: [started, completed, failed]
artifacts:
type: array
items:
type: object
properties:
id: string
phase: string
kind: string
path: string
summary: string
- name: get_artifacts
description: List artifacts for a session, optionally filtered by phase or kind.
input:
type: object
properties:
session_id:
type: string
phase:
type: string
nullable: true
kind:
type: string
nullable: true
required: [session_id]
output:
type: object
properties:
artifacts:
type: array
items:
type: object
properties:
id: string
phase: string
kind: string
path: string
summary: string
- name: get_artifact_content
description: Retrieve the full content of a specific artifact.
input:
type: object
properties:
session_id:
type: string
artifact_id:
type: string
required: [session_id, artifact_id]
output:
type: object
properties:
artifact_id:
type: string
content:
type: string
- name: suggest_next_action
description: >
Given current artifacts and goals, propose the next structurally sensible RISE step.
input:
type: object
properties:
session_id:
type: string
current_focus:
type: string
description: Optional natural-language description of what the local agent is working on.
required: [session_id]
output:
type: object
properties:
recommendation:
type: string
rationale:
type: string
suggested_call:
type: object
description: Example arguments for a follow-up run_phase or start_session call.
Below is an outline you can use as the next llms-rise-framework.txt revision. It assumes the above conceptual structure but keeps text at a level that can be ingested easily by local agents.
You can expand each bullet into prose in your style.
TITLE: RISE Framework for LLMs – Structural-First Spec-Driven Creative Archaeology
SECTION: Meta
- Document ID, Version, Status, Attribution
- Relationship to:
- Structural Thinking / Structural Tension
- Creative Orientation
- SpecLang, Spec Kit, Plain, model specs
- RISE v1.x, MMOT, Digital Decision-Making
SECTION: Why RISE v2
- Limits of pure prompt-driven or code-centric analysis
- Need for structural diagnosis before creative movement
- Need for spec-driven artifacts that can drive multi-agent toolchains
- Need to keep specs and code in living alignment as systems evolve
SECTION: Core Concepts
- Structure Determines Behavior
- Structural Tension (Desired Outcome vs Current Reality)
- Advancing vs Oscillating Patterns
- Creative vs Reactive Orientation
- Spec as Source of Truth (prose code, implementation-agnostic but sufficient)
SECTION: The Four Phases
- R0 Reality (Structural Thinking)
- R1 Inspect (Creative Archaeology)
- R2 Specify (Intent + Spec)
- R3 Export (Audience Views)
- R4 Evolution (git-log-driven living specs)
SECTION: Phase R0 – Structural Thinking
- Start with Nothing
- Picture What Is Said
- Ask Internally Motivated Questions
- R0 artifacts:
- r0-structural-observation.md
- r0-question-log.md
- r0-diagnosis-summary.md
- Anti-patterns:
- Hypothesizing
- Jumping to solutions
- Importing best practices prematurely
SECTION: Phase R1 – Inspect / Creative Archaeology
- Use R0 outputs as ground truth
- Component-level questions:
- Creative intent
- Structural role
- Contribution to advancing or oscillating patterns
- Feature inventory structured by:
- Vision-Supporting
- Tension-Resolving
- Manifestation
- Beloved qualities as hard constraints
- R1 artifacts:
- r1-creative-archeology.md
- r1-feature-inventory.json
- r1-beloved-qualities.md
- r1-advancing-vs-oscillating-map.md
SECTION: Phase R2 – Specify
- Spec document set (application, architecture, data, ui, agents, apis, scenarios)
- Creative Advancement Scenario format
- Spec element semantics:
- Behavior, Layout, Styling, Data
- Structural tension encoding
- Language patterns:
- Use vs avoid table
- Connection to SpecLang / Spec Kit / Plain:
- Prose code as primary
- Iterative refinement loop
- Bi-directional ideation
- Intent-based expression
SECTION: Phase R3 – Export
- Export views:
- Technical
- Product/Business
- UX/Service
- Agent-oriented
- Export strategies:
- What to surface for each role
- How to preserve structural semantics
- Example mappings:
- Creative Advancement Scenarios → test plans
- Structural maps → architecture diagrams
SECTION: R4 – Living Spec Evolution
- Temporal gap analysis
- Commit clustering and differential mapping
- Spec upgrade workflow:
- R0–R2 on changed surface
- Draft + validate
- Quality criteria:
- Creative orientation preserved
- Structural clarity
- Implementation sufficiency
- Traceability
- Example dashboard / reports
SECTION: Multi-Agent RISE
- Agent roles:
- R0.StructuralThinker
- R1.Archaeologist
- R2.Specifier
- R3.Exporter
- R4.Maintainer
- Artifact index and session IDs
- Coordination protocol (handoffs, status, reviews)
SECTION: MCP Tool Integration
- rise-orchestrator MCP specification (as above)
- Example call sequences:
- Single-agent use
- Multi-agent pipeline
- Safety rails:
- Enforcing Structural Thinking discipline
- Enforcing creative orientation language patterns
SECTION: Practical Applications
- Legacy code analysis and modernization
- API design and lifecycle evolution
- Narrative systems and storyworld alignment
- Organizational process redesign
- Multi-agent AI systems and protocol design
SECTION: Self-Application (RISE on RISE)
- Using R0–R4 on the framework itself
- Capturing new beloved qualities discovered in practice
- Maintaining RISE specs as a living artifact family
END.
This gives you:
llms-creative-orientation.txt ↩
llms-managerial-moment-of-truth.md ↩
llms-delayed-resolution-principle.md ↩
llms-rise-framework.txt ↩
llms-leadership.txt ↩
llms-structural-tension-charts.txt ↩
llms-digital-decision-making.md ↩
llms-structural-thinking.gemini.txt ↩
llms-beyond-numerical-metrics.md ↩
https://journals.mmupress.com/index.php/jiwe/article/view/1062 ↩
https://www.semanticscholar.org/paper/1bc624f655c1598e408db854912f3fc157e224bc ↩
https://tessl.io/blog/why-codeplain-is-betting-on-spec-driven-software-development/ ↩
https://www.reddit.com/r/ProgrammingLanguages/comments/17s7g03/github_next_speclang/ ↩
https://www.linkedin.com/posts/kevin-moesker-219235a_github-next-speclang-activity-7198648200784658433-9mLh ↩
https://tessl.io/blog/spec-driven-development-10-things-you-need-to-know-about-specs/ ↩
https://githubnext.com/projects/speclang?trk=public_post_comment-text ↩
https://dsyme.net/2025/09/24/on-specifications-software-and-tools/ ↩
https://docs.github.com/en/get-started/learning-about-github/github-language-support ↩
https://tessl.io/blog/a-look-at-spec-kit-githubs-spec-driven-software-development-toolkit/ ↩
https://www.linkedin.com/posts/sathish-kumarsubramani_vibecoding-aidevelopment-activity-7353627458945888256-2CIV ↩
https://docs.github.com/en/enterprise-server@3.10/get-started/learning-about-github/github-language-support ↩