ProjectOS / defaults /bootstrap.xml
AnthropicallyHuggingFaces's picture
Sync full ProjectOS monorepo from GitHub 7f633f5
a8f4b72 verified
Raw History Blame Contribute Delete
16.6 kB
<?xml version="1.0" encoding="UTF-8"?>
<ProjectOS version="2.0" name="ProjectOS" mode="local">
<bootstrap schema="schemas/ProjectOS.xsd" schematron="schemas/ProjectOS.sch" output="configs" />
<runtime profile="Privileged" snapshots="true" automaticRouting="true" consolidation="true" startupOrder="schema,bootstrap,fabrics,identity,trust,storage,knowledge,logic,governance,operations,agents,registries,council,mcp,desktop" />
<decisionFormula>
<step name="Question" description="A person or connected system submits a question or requested outcome." />
<step name="Operations Agent" description="Coordinates intent analysis, routing, validation, and execution planning." />
<step name="Determine Intent" description="Classifies the request as research, implementation, infrastructure, evolution, or governance work." />
<step name="Choose Council Template" description="Selects a council template with the relevant specialists." />
<step name="Assign Models" description="Selects model providers and capabilities that match the task and trust requirements." />
<step name="Assign Datasets" description="Attaches project knowledge and datasets with source and permission context." />
<step name="Assign Tools" description="Selects tools required by the plan, subject to policy and permission checks." />
<step name="Assign Workspace" description="Binds the plan to a project workspace and runtime boundary." />
<step name="Validate Through Logic" description="Checks feasibility, consistency, assumptions, and contradictions before action." gate="true" />
<step name="Validate Through Governance" description="Checks trust, policies, permissions, and approval requirements before action." gate="true" />
<step name="Execute" description="Runs only actions that are available, authorized, and within the configured runtime." />
<step name="Store Knowledge" description="Records useful evidence, decisions, and outcomes with provenance." />
<step name="Snapshot" description="Captures the project state needed to reproduce or review the work." />
<step name="Consolidate" description="Merges compatible learning into organized project knowledge." />
<step name="Update Canon" description="Updates the canonical project record with reviewed, durable findings." />
</decisionFormula>
<projectLifecycle>
<stage name="Research" description="Discover the problem and evidence." />
<stage name="Active" description="Coordinate work and decisions." />
<stage name="Production" description="Deliver stable project outcomes." />
<stage name="Evolving" description="Improve capabilities continuously." />
<stage name="Frontier Comparison" description="Compare current project state with emerging approaches." />
<stage name="Delta Analysis" description="Identify the gaps between current and target state." />
<stage name="Missing Dependencies" description="Surface unavailable requirements." />
<stage name="Evolution Suggestions" description="Propose the next improvements." />
<stage name="Obsolete" description="Mark work that is ready for retirement." />
<stage name="Snapshot" description="Preserve a durable project state." />
<stage name="Archive" description="Store completed work and its history." />
<stage name="Template" description="Make proven project patterns reusable." />
</projectLifecycle>
<fabrics>
<fabric name="Identity" icon="◉" description="Resolves who is acting, what they own, and which roles apply."><capability name="Ownership graph" /><capability name="Role registry" /><capability name="LDAP, Entra, OAuth, and SAML connectors" /></fabric>
<fabric name="Trust" icon="⬡" description="Evaluates sources, datasets, and models against workspace trust requirements."><capability name="Source verification" /><capability name="Dataset and model verification" /><capability name="Trust scores" /></fabric>
<fabric name="Research" icon="⌕" description="Connects research sources and organizes evidence for project decisions."><capability name="Web and paper discovery" /><capability name="Documentation connectors" /><capability name="Research source attribution" /></fabric>
<fabric name="Knowledge" icon="▧" description="Organizes project memory into research, lessons, canon, frontier, and archive."><capability name="Project memory" /><capability name="Canonical knowledge" /><capability name="Snapshots and archive" /></fabric>
<fabric name="Logic" icon="⌘" description="Builds plans and checks feasibility, consistency, and competing claims."><capability name="Intent analysis" /><capability name="Planning and validation" /><capability name="Consensus and contradictions" /></fabric>
<fabric name="Delta" icon="Δ" description="Compares current and target states to identify gaps and useful evolution."><capability name="Current and frontier state" /><capability name="Gap analysis" /><capability name="Evolution and obsolescence" /></fabric>
<fabric name="Dependency" icon="⛓" description="Finds unmet runtime, access, model, tool, library, and dataset requirements."><capability name="Missing permissions" /><capability name="Missing tools and models" /><capability name="Missing libraries, datasets, and infrastructure" /></fabric>
<fabric name="Governance" icon="⬡" description="Applies policy gates, approval decisions, overrides, and audit recording."><capability name="Policy registry" /><capability name="Approval queue" /><capability name="Audit history" /></fabric>
<fabric name="Execution" icon="▶" description="Dispatches approved work to the appropriate execution adapter."><capability name="PowerShell, Python, and Node" /><capability name="Docker and Git" /><capability name="MCP tools" /></fabric>
<fabric name="Storage" icon="▤" description="Defines local and enterprise storage for project artifacts and vectors."><capability name="SQLite and sqlite-vec" /><capability name="PostgreSQL and pgvector" /><capability name="Snapshots, consolidation, and archives" /></fabric>
<fabric name="Canvas" icon="▱" description="Provides visual workspaces for diagrams, whiteboards, and knowledge views."><capability name="Whiteboard canvas" /><capability name="Diagram engine" /><capability name="Knowledge views" /></fabric>
</fabrics>
<councils>
<council name="Research Council" icon="◎" description="Combines research and knowledge specialists to answer evidence questions."><member>Research Agent</member><member>Knowledge Agent</member><member>Trust review</member></council>
<council name="Architecture Council" icon="◇" description="Reviews boundaries, dependencies, and system-level trade-offs."><member>Logic Agent</member><member>Dependency Agent</member><member>Infrastructure Agent</member></council>
<council name="Implementation Council" icon="⚒" description="Coordinates implementation from an approved plan through a reviewable change."><member>Implementation Agent</member><member>Logic Agent</member><member>Tool Execution Agent</member></council>
<council name="Infrastructure Council" icon="⌂" description="Checks environments, storage, runtime, and deployment dependencies."><member>Infrastructure Agent</member><member>Dependency Agent</member><member>Governance Agent</member></council>
<council name="Evolution Council" icon="↻" description="Compares project state with the frontier and ranks improvement opportunities."><member>Delta Agent</member><member>Evolution Agent</member><member>Knowledge Agent</member></council>
<council name="Governance Council" icon="⬡" description="Reviews policies, trust, approvals, and recorded exceptions."><member>Governance Agent</member><member>Trust validation</member><member>Approval engine</member></council>
</councils>
<agents>
<agent name="Research Agent" description="Finds evidence and records sources relevant to a question." />
<agent name="ML Agent" description="Reviews model choices, evaluation needs, and model-specific constraints." />
<agent name="Logic Agent" description="Checks plans for feasibility, consistency, and contradictions." />
<agent name="Knowledge Agent" description="Retrieves and organizes project memory and research." />
<agent name="Dependency Agent" description="Identifies missing tools, permissions, libraries, data, or infrastructure." />
<agent name="Delta Agent" description="Compares current project state with a target or frontier." />
<agent name="Evolution Agent" description="Turns comparison results into sequenced improvement suggestions." />
<agent name="Infrastructure Agent" description="Plans runtime, storage, and environment requirements." />
<agent name="Tool Execution Agent" description="Coordinates approved tool calls through configured adapters." />
<agent name="Governance Agent" description="Applies policy checks and identifies human approval needs." />
<agent name="Canonicalization Agent" description="Turns verified outcomes into structured, reusable canon." />
<agent name="Implementation Agent" description="Plans approved implementation work." />
</agents>
<models>
<model role="operations" provider="omni" />
<model role="research" provider="sonar" />
<model role="implementation" provider="copilot" />
<model role="ml" provider="qwen" />
<model role="logic" provider="claude" />
</models>
<storage local="SQLite,sqlite-vec" enterprise="PostgreSQL,pgvector">
<providers>
<provider name="SQLite" enabled="true" />
<provider name="PostgreSQL" enabled="true" />
</providers>
<vectorStores>
<vectorStore provider="sqlite-vec" dimensions="1536" />
<vectorStore provider="pgvector" dimensions="1536" />
</vectorStores>
<retention snapshotDays="90" archiveYears="7" keepCanonForever="true" />
<migration autoMigrate="true" backupBeforeMigration="true" validateSchema="true" />
</storage>
<governanceControls>
<control name="Policy Engine" description="Evaluates plans against the active policy registry." />
<control name="Approval Engine" description="Routes gated actions to the right reviewer." />
<control name="Trust Validation" description="Checks identity, sources, datasets, and models." />
<control name="Override Engine" description="Records scoped exceptions with justification." />
<control name="Audit Log" description="Keeps an attributable record of decisions and actions." />
<control name="Policy Registry" description="Maintains versioned workspace rules." />
</governanceControls>
<knowledgeAreas>
<area name="Project memory" description="Working context and decisions." />
<area name="Research" description="Sources, findings, and evidence." />
<area name="Lessons" description="Reusable outcomes and reflections." />
<area name="Canon" description="The current trusted project record." />
<area name="Frontier" description="Emerging ideas and state of the art." />
<area name="Snapshots" description="Point-in-time project state." />
<area name="Archive" description="Preserved retired work." />
</knowledgeAreas>
<permissions>
<permission id="workspace-read" resource="workspace" action="read" effect="allow" requiresApproval="false" />
<permission id="workspace-write" resource="workspace" action="write" effect="require-approval" requiresApproval="true" />
<permission id="tool-execution" resource="tools" action="execute" effect="require-approval" requiresApproval="true" />
<permission id="external-network" resource="external-network" action="access" effect="deny" requiresApproval="true" />
</permissions>
<workspaces>
<workspace role="research" name="VSCode" />
<workspace role="implementation" name="Zed" />
<workspace role="ml" name="PyCharm" />
<workspace role="logic" name="IntelliJ" />
<workspace role="database" name="DataGrip" />
<workspace role="canvas" name="HFSpace" />
</workspaces>
<mcpServers>
<server name="filesystem" adapter="filesystem" trust="High" enabled="true" authMode="none" />
<server name="git" adapter="git" trust="High" enabled="false" authMode="none" />
<server name="github-readonly" adapter="github" trust="Verified" enabled="true" authMode="oauth" accessMode="read-only" />
<server name="github-write" adapter="github" trust="High" enabled="false" authMode="oauth" accessMode="read-write" />
<server name="postgres-readonly" adapter="postgres" trust="Verified" enabled="true" credentialRef="PROJECTOS_POSTGRES_READ_PROFILE" authMode="keyring" accessMode="read-only" />
<server name="postgres-write" adapter="postgres" trust="High" enabled="false" credentialRef="PROJECTOS_POSTGRES_WRITE_PROFILE" authMode="keyring" accessMode="read-write" />
<server name="fetch" adapter="fetch" trust="Medium" enabled="true" authMode="none" />
<server name="memory" adapter="memory" trust="High" enabled="true" authMode="none" />
<profiles>
<profile name="workspace" enabled="true" description="Workspace files and persistent MCP memory.">
<serverRef name="filesystem" />
<serverRef name="memory" />
</profile>
<profile name="research" enabled="true" description="Public web research and read-only GitHub context.">
<serverRef name="fetch" />
<serverRef name="github-readonly" />
</profile>
<profile name="implementation" enabled="true" description="Workspace files and read-only GitHub context.">
<serverRef name="filesystem" />
<serverRef name="github-readonly" />
</profile>
<profile name="database-readonly" enabled="true" description="Read-only PostgreSQL access using an OS keyring profile.">
<serverRef name="postgres-readonly" />
</profile>
<profile name="database-write" enabled="false" description="Explicitly disabled write access; requires a separate least-privilege database role and approval policy.">
<serverRef name="postgres-write" />
</profile>
</profiles>
</mcpServers>
<namingConventions>
<convention canonical="ProjectRepository">
<alias>IProjectRepository</alias>
<alias>ProjectRepo</alias>
<alias>ProjectStore</alias>
</convention>
<convention canonical="CanonRepository">
<alias>ICanonRepository</alias>
<alias>CanonRepo</alias>
<alias>CanonStore</alias>
</convention>
<convention canonical="SnapshotRepository">
<alias>ISnapshotRepository</alias>
<alias>SnapshotRepo</alias>
<alias>SnapshotStore</alias>
</convention>
<convention canonical="FrontierRepository">
<alias>IFrontierRepository</alias>
<alias>FrontierRepo</alias>
<alias>FrontierStore</alias>
</convention>
<convention canonical="ArchiveRepository">
<alias>IArchiveRepository</alias>
<alias>ArchiveRepo</alias>
<alias>ArchiveStore</alias>
</convention>
<convention canonical="EmbeddingRepository">
<alias>IEmbeddingRepository</alias>
<alias>EmbeddingRepo</alias>
<alias>EmbeddingStore</alias>
</convention>
<languageProfiles>
<languageProfile name="CSharp" interfacePrefix="I" />
<languageProfile name="TypeScript" interfacePrefix="" />
<languageProfile name="Java" interfacePrefix="" />
<languageProfile name="OpenAPITypeScript" interfacePrefix="I" />
</languageProfiles>
</namingConventions>
<documentation>
<output name="Architecture" enabled="true" />
<output name="Bootstrap" enabled="true" />
<output name="Schema" enabled="true" />
<output name="Agents" enabled="true" />
<output name="Councils" enabled="true" />
<output name="Fabrics" enabled="true" />
<output name="Storage" enabled="true" />
<output name="Knowledge" enabled="true" />
<output name="Canon" enabled="true" />
<output name="Frontier" enabled="true" />
<output name="Delta" enabled="true" />
<output name="Dependency" enabled="true" />
<output name="Governance" enabled="true" />
<output name="Identity" enabled="true" />
<output name="Trust" enabled="true" />
<output name="Runtime" enabled="true" />
<output name="Database" enabled="true" />
<output name="API" enabled="true" />
<output name="MCP" enabled="true" />
<output name="Workspaces" enabled="true" />
<output name="Models" enabled="true" />
<output name="Providers" enabled="true" />
<output name="Snapshots" enabled="true" />
<output name="Archive" enabled="true" />
</documentation>
</ProjectOS>