πŸ›  We are currently running final tests on the desktop application and completing setup adjustments to ensure a smooth experience from day one. Full access and official installers for Windows, macOS, and Linux will be available again shortly.

The DEVFLOW.md file

The .app_context/ folder and its DEVFLOW.md file: the local source of truth the AI reads so it never gets confused.

When you import or initialise a project, DevFlow AI creates the .app_context/ folder at its root. It is the project's persistent memory: any agent (or person) picking up the work starts by reading this folder instead of asking you to explain everything again.

.app_context/ structure

.app_context/
β”œβ”€β”€ DEVFLOW.md            ← single source of truth of the project
β”œβ”€β”€ handover_state.json   ← compressed state for the next chat
β”œβ”€β”€ architecture.json     ← detected stack and structure
β”œβ”€β”€ dev_rules.md          ← development rules for the agents
β”œβ”€β”€ progress_log.md       ← chronological progress log
β”œβ”€β”€ scheduled_tasks.json  ← readable copy of the scheduled tasks
β”œβ”€β”€ agents/               ← each agent's own instructions
└── skills/               ← project skills (one folder with a skill.json each)

Why the AI does not get confused

Without a source of truth, every model "guesses" the architecture from what it sees in the conversation, and two different chats can make contradictory decisions. With .app_context/:

  • Every request starts from the same base: the System Prompt always includes DEVFLOW.md, even if you switch models or chats.
  • DEVFLOW.md takes precedence: if a skill or a message contradicts its rules, DEVFLOW.md wins.
  • The state is explicit: the last completed task and the pending ones are written down, not inferred from the history.
  • It is local and readable: they are text files in your repository; you can read them, fix them and review them in Git.

The DEVFLOW.md file

It is the central file. It contains:

  1. Overview of the project.
  2. Architecture rules: layers, patterns and decisions that must not be broken.
  3. Conventions: naming, comment language, code style.
  4. Unified state: last completed task, pending tasks and open decisions.
  5. Agents: reference to the instructions in .app_context/agents/.

On every request, DevFlow AI includes the DEVFLOW.md rules in the System Prompt, so the model respects your architecture without you having to repeat it.

How it stays up to date

  • Micro-handover: when old turns leave the context window, the local engine condenses them and updates handover_state.json and the state section of DEVFLOW.md.
  • Manual handover: when you click πŸ”„ Handover, the session is summarised (decisions, done and pending tasks, files touched) and the new chat starts from that state.
  • Manual editing: you can open and edit DEVFLOW.md like any other file. If you change a rule, the next message already takes it into account.
  • Pending items as reminders: unchecked boxes (- [ ] task) and lists under "Pending tasks" are shown in a notice every time you open the project (see "Scheduled tasks & reminders").

Best practices

  • Commit .app_context/ to Git: the context then travels with the repository and is shared by the whole team.
  • Write concrete, verifiable rules ("controllers never access the database directly") instead of general wishes.
  • Keep DEVFLOW.md short: it is context that travels with every request. Long details belong in dev_rules.md or in the project documentation.

The .app_context/ files are protected by crash recovery: if the app closes unexpectedly while writing them, they are restored from the last valid copy.

Last updated: November 26, 2026