Skip to content

Follow repo agent instructions#382

Merged
AnaBerg merged 6 commits into
mainfrom
feat/follow-agents-md
Jun 9, 2026
Merged

Follow repo agent instructions#382
AnaBerg merged 6 commits into
mainfrom
feat/follow-agents-md

Conversation

@AnaBerg

@AnaBerg AnaBerg commented Jun 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Generate REPO_INSTRUCTIONS.md for cloned repositories that contain root-level agent instruction files (AGENTS.md, CLAUDE.md, GEMINI.md).
  • Reference that generated index from workspace AGENTS.md without overwriting repo-owned instruction files.
  • Gate initial wake/pipeline injection behind bootstrap_ok=1 for Daytona, Replicated, and exe.dev so instructions are available before the agent starts work.
  • Apply CodeRabbit findings: propagate ReadTemplateFiles script read errors and show inline retry UI for activity summary fetch failures.

Validation

  • go test ./...
  • npx tsc --noEmit -p web/tsconfig.json
  • coderabbit review --agent --base main returned 2 findings; both were applied.

Notes

  • npm run lint was attempted after installing web dependencies, but the repo currently has pre-existing lint errors across unrelated files. The TypeScript check passed for the UI change.

Closes #140

Comment thread docs/superpowers/specs/2026-06-08-repo-agent-instructions-design.md Outdated
Comment thread pkg/config/hub.go Outdated
Comment thread web/components/conversation-view.tsx
@AnaBerg AnaBerg changed the title feat: follow repo agent instructions Follow repo agent instructions Jun 8, 2026
@AnaBerg AnaBerg linked an issue Jun 8, 2026 that may be closed by this pull request
@AnaBerg AnaBerg self-assigned this Jun 9, 2026
# Conflicts:
#	pkg/hub/factory_pr_policy_test.go
@AnaBerg AnaBerg marked this pull request as ready for review June 9, 2026 19:37
@greptile-apps

greptile-apps Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Merge remote-tracking branch 'origin/mai..." | Re-trigger Greptile

Comment thread pkg/hub/server.go Outdated
Comment thread pkg/hub/server.go
@greptile-apps

greptile-apps Bot commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Reviews (2): Last reviewed commit: "fix: keep repo instruction discovery non..." | Re-trigger Greptile

@AnaBerg AnaBerg merged commit 17b408d into main Jun 9, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

follow repo's AGENTS.md

1 participant