41 lines
1.4 KiB
Org Mode
41 lines
1.4 KiB
Org Mode
#+TITLE: PROTOCOL: Skill - Architect Agent
|
|
#+STATUS: DRAFT
|
|
#+AUTHOR: Architect-Agent
|
|
#+CREATED: [2026-03-31 Tue 12:20]
|
|
|
|
* 1. Architectural Intent
|
|
This protocol defines the shared Lisp interfaces for the Architect skill. It ensures a rigorous "Consensus Loop" by defining how the Architect perceives requirements and actuates blueprints.
|
|
|
|
Following the **Literate Mandate**, the Architect skill's own implementation must be generated from its Org-mode source.
|
|
|
|
* 2. Semantic Interfaces
|
|
|
|
** 2.1 Requirements Perception
|
|
#+begin_src lisp
|
|
(defun architect-perceive-frozen-prd (project-name)
|
|
"Checks if a project has a FROZEN PRD.
|
|
Returns a plist: (:status :frozen :path \"path/to/PRD.org\") or NIL."
|
|
)
|
|
#+end_src
|
|
|
|
** 2.2 Blueprint Actuation
|
|
#+begin_src lisp
|
|
(defun architect-actuate-protocol (project-name blueprint-content)
|
|
"Physically writes the PROTOCOL.org file.
|
|
Input: project name and generated Org content.
|
|
Returns a success message or error signal."
|
|
)
|
|
#+end_src
|
|
|
|
** 2.3 Memory Retrieval
|
|
#+begin_src lisp
|
|
(defun architect-query-institutional-memory (context-tags)
|
|
"Retrieves relevant architectural patterns from notes/institutional-memory.org.
|
|
Input: tags like :emacs:gtd:psf.
|
|
Returns a list of relevant patterns/learnings."
|
|
)
|
|
#+end_src
|
|
|
|
* 3. Integration with PSF Lifecycle
|
|
The Architect is triggered when a project transitions from `:DEMAND` to `:BLUEPRINT`. Its output (a SIGNED Protocol) is the "Safety Gate" for the **Analyst** phase.
|