You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some of the features below won't make it for the MVP
CLI
I suggest that running $ framework does the following:
Ensures the background process is running
The background process runs the local dashboard (e.g. localhost:4200), and background jobs
Prints the list of commands (just convenience commands like framework run [prompt], framework logs, ... — not important since the UI already implements all features)
Prints the CLI version
[Only if trivial to implement] Show whether the version is up-to-date (by using $ npm info).
Should be async (show static info first, then await npm server and show "up-to-date" label)
The CLI regularly auto-updates itself
Also show (✅ auto-update enabled).
Database
.the-framework/LOGS.md contains the list of AI loops/prompts that were run via The Framework
We therefore don't need any real database, the .the-framework/ directory is the database (it isn't .gitignore so it's persisted)
A log entry can be a loop or a standalone prompt
A loop is a list of standalone prompts
Each log entry contains the Claude Code session ID (with a link such as https://claude.ai/code/session_01MU13ncNmLi5rz2xySmm5rZ, possible thanks to Claude's Remote Control)
We can very effeciently crawl repo files using $ git ls-files.
That's what Vike does and is has been working great. Note that it also lists untracked files.
Commit messages authored by The Framework contain data.
For example, if the commit introduces changes that require refactoring, then TO-DO/maintenance is appended:
[The Framework] Commit message
TO-DO/maintenance
E.g. because the PR introduced a bug fix using that applies minimal changes in order to make reviewing easier, but requires refactoring to be clean.
Dashboard
Three sidebars:
First sidebar (on the left):
Three sections: Overview, Projects, Queue
Projects: shows the list of all projects where The Framework is activated
A project can be a repo, or a package inside a monorepo (but let's skip monorepo support if it's complex)
Queue: essentially all the TODO.md entries of all projects
Overview: some kind of nice overview of current prompts AI is working on, the queue, and recent projects
Second sidebar (on the left): shows the latest AI loops/prompts run via The Framework of the currently selected project (the most recently active project if none is selected)
In other words: clicking a project => essentially shows .the-framework/LOGS.md in the second sidebar
Thrid sidebar (on the right)
Show arbitrary views (e.g. when AI calls the function showMarkdown())
Status: brainstorming.
Note
Some of the features below won't make it for the MVP
CLI
I suggest that running
$ frameworkdoes the following:localhost:4200), and background jobsframework run [prompt],framework logs, ... — not important since the UI already implements all features)$ npm info).(✅ auto-update enabled).Database
.the-framework/LOGS.mdcontains the list of AI loops/prompts that were run via The Framework.the-framework/directory is the database (it isn't.gitignoreso it's persisted)https://claude.ai/code/session_01MU13ncNmLi5rz2xySmm5rZ, possible thanks to Claude's Remote Control)$ git ls-files.TO-DO/maintenanceis appended:Dashboard
Overview,Projects,QueueProjects: shows the list of all projects where The Framework is activatedQueue: essentially all theTODO.mdentries of all projectsOverview: some kind of nice overview of current prompts AI is working on, the queue, and recent projects.the-framework/LOGS.mdin the second sidebarshowMarkdown())<Choices>PLAN.mdandTODO.md).the-framework/directory.the-framework/LOGS.mdwith commit message[The Framework] install The Framework[The Framework] uncommitted changes<Choices>Accept(or shortcutCtrl + Enter) => accepts (picks the recommended choices)[x] autopilot=> auto-accepts after 10 seconds (while the UI says "move mouse to abort countdown")