genesis-compiler 1.2.23 → 1.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index/init.js CHANGED
@@ -54,12 +54,12 @@ export async function initializeProject({ projectRoot, stackPackages = [] } = {}
54
54
  return {
55
55
  status: changedFiles.length > 0 ? 'updated' : 'unchanged',
56
56
  summary: changedFiles.length > 0
57
- ? 'Initialized Genesis, Agent Skills, and project Codex hooks.'
58
- : 'Genesis, its Agent Skills, and project Codex hooks are already initialized.',
57
+ ? 'Initialized Genesis, Agent Skills, and the project Codex guidance hook.'
58
+ : 'Genesis, its Agent Skills, and the project Codex guidance hook are already initialized.',
59
59
  changedFiles,
60
60
  diagnostics: skills.diagnostics,
61
61
  guidance: [
62
- 'Open Codex and use /hooks to review and trust the project hooks.',
62
+ 'Open Codex and use /hooks to review and trust the project guidance hook.',
63
63
  'Genesis workflow skills are available in .agents/skills/.',
64
64
  'Describe product intent in genesis/blueprint.md.',
65
65
  'Choose the project engineering approach with genesis engineering set <profile>.',
@@ -25,7 +25,7 @@ const DEFAULT_REQUEST = {
25
25
  start: 'Start a conversation about this project.',
26
26
  adopt: 'Import the existing project into a truthful Genesis project contract.',
27
27
  work: 'Implement the product intent expressed by the current Blueprint.',
28
- deslop: 'Simplify the current Git-visible work without making unrelated changes.',
28
+ deslop: 'Deslop the latest commit.',
29
29
  program: 'Refresh the complete useful Program for the code that exists now.',
30
30
  describe: 'Create or refresh the complete Blueprint and useful Program for the codebase that exists now.',
31
31
  review: 'Review the complete useful relationship between Blueprint, code, Program, and tests.',
@@ -107,6 +107,7 @@ function renderPrompt({
107
107
  skills = '',
108
108
  guidance = '',
109
109
  cleanup = '',
110
+ postChange = '',
110
111
  adoption = '',
111
112
  engineeringGuidance = '',
112
113
  }) {
@@ -126,6 +127,7 @@ function renderPrompt({
126
127
  ...(guidance ? ['', 'SELECTED STACK GUIDANCE', '', guidance] : []),
127
128
  ...(adoption ? ['', 'SELECTED STACK ADOPTION GUIDANCE', '', adoption] : []),
128
129
  ...(skills ? ['', 'AVAILABLE AGENT SKILLS', '', skills] : []),
130
+ ...(postChange ? ['', 'SELECTED STACK POST-CHANGE GUIDANCE', '', postChange] : []),
129
131
  ...(cleanup ? ['', 'SELECTED STACK CLEANUP GUIDANCE', '', cleanup] : []),
130
132
  '',
131
133
  ].join('\n');
@@ -451,6 +453,7 @@ export async function generateProjectPrompt({
451
453
  engineeringGuidance: engineering.guidance,
452
454
  guidance: stack.guidance,
453
455
  skills: renderAgentSkillCatalog(projectSkills.skills),
456
+ postChange: task === 'work' ? stack.postChange : '',
454
457
  cleanup: task === 'deslop' ? stack.deslop : '',
455
458
  });
456
459
  return {
@@ -1,13 +0,0 @@
1
- For every repository listed in the task, read and follow that repository's
2
- `.agents/skills/genesis-program/SKILL.md` completely, operating in focused
3
- post-change reconciliation mode.
4
-
5
- Use the preceding implementation turn, listed changed paths, actual Git diff or
6
- history, and relevant tests. Update Blueprint only for intentional observable
7
- product behavior. Update only affected Program modules. Private restructuring
8
- may require only Sources or an informational Implementation map, and may require
9
- no explanatory edit at all.
10
-
11
- Do not simplify or edit implementation, tests, configuration, dependencies,
12
- Stack, or `.genesis/` during this turn. Do not run Deslop yet. Summarize every
13
- explanatory change and genuine ambiguity.