Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/aiox-master.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
Comment on lines +33 to +36

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚑ Quick win

The directory guard still has a false-positive path.

The otherwise branch treats every non-home directory as an actual project directory, so /tmp, workspace folders, downloads directories, and other non-project locations can still receive bootstrap guidance. Require a positive project-directory signal and default to the no-bootstrap tip when that signal is unavailable.

  • .aiox-core/development/agents/aiox-master.md#L33-L36: Fix the canonical guard and use it as the source for regenerated derivatives.
  • .aiox-core/development/agents/analyst.md#L24-L27: Apply the same positive project check.
  • .aiox-core/development/agents/architect.md#L24-L27: Apply the same positive project check.
  • .aiox-core/development/agents/data-engineer.md#L25-L28: Apply the same positive project check.
  • .codex/agents/squad-creator.md#L24-L27: Regenerate with the corrected guard.
  • .codex/agents/ux-design-expert.md#L29-L32: Regenerate with the corrected guard.
  • .gemini/rules/AIOX/agents/aiox-master.md#L33-L36: Regenerate with the corrected guard.
  • .gemini/rules/AIOX/agents/analyst.md#L24-L27: Regenerate with the corrected guard.
  • .gemini/rules/AIOX/agents/architect.md#L24-L27: Regenerate with the corrected guard.
  • .gemini/rules/AIOX/agents/data-engineer.md#L25-L28: Regenerate with the corrected guard.
  • .gemini/rules/AIOX/agents/dev.md#L24-L27: Regenerate with the corrected guard.
πŸ“ Affects 11 files
  • .aiox-core/development/agents/aiox-master.md#L33-L36 (this comment)
  • .aiox-core/development/agents/analyst.md#L24-L27
  • .aiox-core/development/agents/architect.md#L24-L27
  • .aiox-core/development/agents/data-engineer.md#L25-L28
  • .codex/agents/squad-creator.md#L24-L27
  • .codex/agents/ux-design-expert.md#L29-L32
  • .gemini/rules/AIOX/agents/aiox-master.md#L33-L36
  • .gemini/rules/AIOX/agents/analyst.md#L24-L27
  • .gemini/rules/AIOX/agents/architect.md#L24-L27
  • .gemini/rules/AIOX/agents/data-engineer.md#L25-L28
  • .gemini/rules/AIOX/agents/dev.md#L24-L27
πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.aiox-core/development/agents/aiox-master.md around lines 33 - 36, Replace
the directory guard in the canonical AIOX master instructions with a positive
project-directory check; when no such signal is available, use the no-bootstrap
tip rather than recommending environment bootstrap. Apply this corrected guard
to .aiox-core/development/agents/aiox-master.md:33-36, analyst.md:24-27,
architect.md:24-27, and data-engineer.md:25-28, then regenerate the
corresponding derivatives in .codex/agents/squad-creator.md:24-27,
.codex/agents/ux-design-expert.md:29-32,
.gemini/rules/AIOX/agents/aiox-master.md:33-36, analyst.md:24-27,
architect.md:24-27, data-engineer.md:25-28, and dev.md:24-27.

- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/analyst.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/architect.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/data-engineer.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
Comment on lines +24 to +27

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚑ Quick win

Do not treat every non-home path as a project directory.

This fallback still recommends bootstrap for arbitrary no-Git paths such as /tmp or a workspace root. With no filesystem inspection or explicit project marker, use a conservative β€œunknown/non-project” branch and suppress bootstrap unless the system prompt positively identifies the directory as a project.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.aiox-core/development/agents/dev.md around lines 24 - 27, The post-substep
6 decision logic must not classify every non-home path as a project directory.
Update the working-directory evaluation to recommend bootstrap only when the
system prompt explicitly identifies an actual project; otherwise use the
unknown/non-project branch, display the existing activation tip, and suppress
bootstrap.

- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/devops.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
Comment on lines +25 to +28

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚑ Quick win

Do not treat every non-home path as a project directory.

A no-Git working directory such as /tmp can reach the β€œactual project directory” branch and receive *environment-bootstrap. Require positive project identification from the system context; otherwise show the non-project tip and avoid recommending repository initialization.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.aiox-core/development/agents/devops.md around lines 25 - 28, Update the
post-substep-6 decision logic in the DevOps activation flow to recommend
*environment-bootstrap only when the system context positively identifies the
working directory as an actual project. Treat unknown or merely non-home paths,
including /tmp, as non-project directories and show the existing non-project tip
without recommending repository initialization; preserve the home-directory
handling.

- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/pm.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
Comment on lines +38 to +41

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚑ Quick win

Require positive project detection before recommending bootstrap.

The β€œotherwise” branch assumes that every path outside the listed home-directory patterns is a project. Arbitrary no-Git directories can therefore receive @devops *environment-bootstrap; default to the safe tip unless the system prompt explicitly identifies a project directory.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.aiox-core/development/agents/pm.md around lines 38 - 41, Update the
post-substep-6 decision logic in the project-status guidance to recommend
`@devops` *environment-bootstrap only when the system prompt explicitly identifies
the working directory as an actual project directory. Treat all other paths,
including arbitrary no-Git directories and home directories, as non-project
directories and show the existing safe activation tip without recommending
bootstrap.

- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/po.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
Comment on lines +24 to +27

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚑ Quick win

Do not infer β€œproject directory” solely from not being a home directory.

Directories such as /tmp or a generic workspace root can lack Git while still matching the β€œotherwise” branch. Suppress bootstrap unless the supplied system context positively identifies the working directory as a project.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.aiox-core/development/agents/po.md around lines 24 - 27, Update the
post-substep 6 decision logic in the PO agent instructions to recommend
environment-bootstrap only when the supplied system context positively
identifies the working directory as an actual project. Treat home directories,
/tmp, generic workspace roots, and any other unverified or non-project directory
as non-project locations, showing the activation tip without recommending
bootstrap.

- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/qa.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
Comment on lines +24 to +27

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚑ Quick win

Make the project-directory branch conservative.

The current fallback recommends bootstrap for any non-home path, including arbitrary no-Git directories. Only recommend @devops *environment-bootstrap when the system prompt explicitly confirms a project directory; otherwise retain the activation tip.

πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.aiox-core/development/agents/qa.md around lines 24 - 27, The post-substep-6
decision in the QA activation flow must recommend environment bootstrap only
when the system prompt explicitly confirms the working directory is an actual
project directory. For unknown, arbitrary, or otherwise unconfirmed no-Git
paths, retain the activation tip and do not recommend bootstrap; update the
project-directory branch accordingly.

- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/sm.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/squad-creator.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
6 changes: 4 additions & 2 deletions .aiox-core/development/agents/ux-design-expert.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ activation-instructions:
Display greeting using native context (zero JS execution):
0. GREENFIELD GUARD: If gitStatus in system prompt says "Is a git repository: false" OR git commands return "not a git repository":
- For substep 2: skip the "Branch:" append
- For substep 3: show "πŸ“Š **Project Status:** Greenfield project β€” no git repository detected" instead of git narrative
- After substep 6: show "πŸ’‘ **Recommended:** Run `*environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- For substep 3: show "πŸ“Š **Project Status:** No git repository detected in the working directory" instead of git narrative
- After substep 6, decide from the working directory path already in the system prompt (zero I/O):
- If it is a user home directory (e.g. `C:\Users\{name}`, `/home/{name}`, `/Users/{name}`) or any other non-project directory: show "πŸ’‘ **Tip:** Activate agents from inside the project directory β€” never run `git init` in a home directory." and do NOT recommend bootstrap
- Otherwise (an actual project directory): show "πŸ’‘ **Recommended:** Run `@devops *environment-bootstrap` to initialize git, GitHub remote, and CI/CD"
- Do NOT run any git commands during activation β€” they will fail and produce errors
1. Show: "{icon} {persona_profile.communication.greeting_levels.archetypal}" + permission badge from current permission mode (e.g., [⚠️ Ask], [🟒 Auto], [πŸ” Explore])
2. Show: "**Role:** {persona.role}"
Expand Down
Loading