Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

docs: move OPERATIONAL.md to docs/GOALS_OPERATIONAL.md

[._.]/ Adam Eivya55f63a60721
diff --git a/GOALS.md b/GOALS.md
index f8752bede1..79c77f0b93 100644
--- a/GOALS.md
+++ b/GOALS.md
@@ -105,4 +105,4 @@ See [PLAN.md](./PLAN.md) for detailed milestone tracking and roadmap.
## Operational Guidance
-CoS task-generation rules, runtime priorities, and per-domain operational goals are tracked in [OPERATIONAL.md](./OPERATIONAL.md) — separate from the strategic goals above so this file stays focused on mission and direction.
+CoS task-generation rules, runtime priorities, and per-domain operational goals are tracked in [docs/GOALS_OPERATIONAL.md](./docs/GOALS_OPERATIONAL.md) — separate from the strategic goals above so this file stays focused on mission and direction.
diff --git a/OPERATIONAL.md b/docs/GOALS_OPERATIONAL.md
similarity index 95%
rename from OPERATIONAL.md
rename to docs/GOALS_OPERATIONAL.md
index 04b52a40c3..6bfceba6ee 100644
--- a/OPERATIONAL.md
+++ b/docs/GOALS_OPERATIONAL.md
@@ -2,7 +2,7 @@
Runtime guidance for the Chief of Staff (CoS) autonomous agent system. CoS reads this file to decide what work to generate when idle, how to prioritize incoming tasks, and which operating principles to apply.
-This file is **operational config**, not strategic intent. For the project's mission and strategic goals, see [GOALS.md](./GOALS.md). For the active development backlog, see [PLAN.md](./PLAN.md).
+This file is **operational config**, not strategic intent. For the project's mission and strategic goals, see [../GOALS.md](../GOALS.md). For the active development backlog, see [../PLAN.md](../PLAN.md).
The `server/services/goalProgress.js` parser walks the `## Operational Goals` section below and maps each `### Goal N: <name>` heading to a category in `GOAL_MAPPINGS` for the Goal Progress dashboard.
diff --git a/server/routes/apps.js b/server/routes/apps.js
index ab88bfb418..e99d1b0050 100644
--- a/server/routes/apps.js
+++ b/server/routes/apps.js
@@ -1027,7 +1027,7 @@ router.post('/:id/refresh-config', loadApp, asyncHandler(async (req, res) => {
// Document Endpoints
// ============================================================
-const ALLOWED_DOCUMENTS = ['PLAN.md', 'CLAUDE.md', 'GOALS.md', 'OPERATIONAL.md', 'REVIEW.md', 'REJECTED.md'];
+const ALLOWED_DOCUMENTS = ['PLAN.md', 'CLAUDE.md', 'GOALS.md', 'REVIEW.md', 'REJECTED.md'];
const documentUpdateSchema = z.object({
content: z.string().max(500000),
diff --git a/server/services/goalProgress.js b/server/services/goalProgress.js
index e25d85c8b6..69d5d42c6b 100644
--- a/server/services/goalProgress.js
+++ b/server/services/goalProgress.js
@@ -1,17 +1,18 @@
/**
* Goal Progress Service
*
- * Tracks progress toward CoS operational goals defined in OPERATIONAL.md by
- * analyzing completed CoS tasks and mapping them to goal categories.
+ * Tracks progress toward CoS operational goals defined in
+ * docs/GOALS_OPERATIONAL.md by analyzing completed CoS tasks and mapping them
+ * to goal categories.
*
- * Goals are extracted from OPERATIONAL.md's Operational Goals section.
+ * Goals are extracted from docs/GOALS_OPERATIONAL.md's Operational Goals section.
* Task completions are categorized by keywords and mapped to goal progress.
*/
import { join } from 'path'
import { readJSONFile, PATHS, tryReadFile } from '../lib/fileUtils.js'
-const GOALS_FILE = join(PATHS.root, 'OPERATIONAL.md')
+const GOALS_FILE = join(PATHS.root, 'docs', 'GOALS_OPERATIONAL.md')
const LEARNING_FILE = join(PATHS.cos, 'learning.json')
/**
@@ -52,7 +53,7 @@ const GOAL_MAPPINGS = {
}
/**
- * Parse OPERATIONAL.md to extract active goals
+ * Parse docs/GOALS_OPERATIONAL.md to extract active goals
* @returns {Promise<Array>} Parsed goals with titles and items
*/
async function parseGoalsFile() {
@@ -120,7 +121,7 @@ async function getTaskStats() {
/**
* Calculate progress for each goal based on completed tasks
- * @param {Array} goals - Parsed goals from OPERATIONAL.md
+ * @param {Array} goals - Parsed goals from docs/GOALS_OPERATIONAL.md
* @param {Object} taskStats - Task completion statistics
* @returns {Array} Goals with progress metrics
*/