에이전트 부트스트랩
이 페이지는 openboaAgent의 bootstrap substrate를 설명합니다.
이 페이지가 답하는 질문은 다음과 같습니다.
AGENTS.md,SOUL.md,MEMORY.md는 어디서 정의되는가- 왜 이 파일들이 hard-coded prompt text가 아니라 file인가
- bootstrap file은 어떻게 system prompt에 들어가는가
- bootstrap과 runtime artifact는 왜 다른가
openboa에서 bootstrap이 의미하는 것
Agent 주변에는 durable markdown이 두 종류 있습니다.- bootstrap file
- Agent 자체에 속하는 durable steering과 memory
- runtime artifact
- 현재 session에 속하는 generated state
- 이 Agent는 어떤 존재인가
- 어떤 stable posture를 유지해야 하는가
- 어떤 guidance가 session을 넘어 지속되어야 하는가
- 지금 이 session에서 무엇이 일어나고 있는가
- 현재 shell state나 outcome posture는 어떤가
bootstrap file은 어디서 정의되는가
bootstrap file set은 코드에서 정의되고, Agent setup 시점에 seed됩니다. 실제 정의 위치: 기본 위치는:현재 bootstrap file
현재 기본 file set은 다음과 같습니다.AGENTS.mdSOUL.mdTOOLS.mdIDENTITY.mdUSER.mdHEARTBEAT.mdBOOTSTRAP.mdMEMORY.md
왜 file 기반인가
이들이 파일인 이유는 단순합니다.- inspectable해야 하고
- editable해야 하며
- shared substrate로 durable해야 하고
- prompt 밖에서도 Agent의 steering을 설명할 수 있어야 하기 때문입니다
Prompt assembly
부트스트랩은 system prompt assembly의 일부로 읽힙니다. 실제 순서는 대략 다음과 같습니다.- base prompt
- agent-specific prompt
- workspace bootstrap sections
- runtime environment section
- harness directive
파일별 역할
짧게 정리하면:AGENTS.md- Agent-level operating guidance
SOUL.md- posture와 identity의 깊은 steering
TOOLS.md- tool 사용 태도
IDENTITY.md- Agent identity
USER.md- user-specific durable guidance
HEARTBEAT.md- revisit / follow-through posture
BOOTSTRAP.md- bootstrap-specific steering
MEMORY.md- promoted durable memory
MEMORY.md가 bootstrap에 속하는 이유
MEMORY.md는 current session artifact가 아니라 Agent 자체의 durable memory surface입니다.
그래서 runtime artifact가 아니라 bootstrap substrate에 속합니다.
즉:
- current session continuity는 runtime artifact
- reusable lesson은 shared memory
bootstrap과 runtime artifact의 차이
이 차이는 중요합니다.- bootstrap
- Agent-level
- durable steering
- shared across sessions
- runtime artifact
- session-level
- current state
- generated and updated during runs
안전한 수정 모델
shared bootstrap은 direct mutation 대상이 아닙니다. 수정 경로는:/workspace/agent의 파일을/workspace로 stage- current substrate와 compare
- 필요하면 evaluate
- shared substrate로 promote