Skip to content

Commit dc6557d

Browse files
author
bgagent
committed
fix: hook
1 parent 811c0ee commit dc6557d

2 files changed

Lines changed: 11 additions & 8 deletions

File tree

abca-plugin/hooks/hooks.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22
"hooks": {
33
"SessionStart": [
44
{
5-
"matcher": "",
6-
"hooks": [
7-
{
8-
"type": "prompt",
9-
"prompt": "You are working in the ABCA (Autonomous Background Coding Agents on AWS) repository — a self-hosted platform for background coding agents.\n\nKey directories: cdk/src/ (CDK infra), agent/src/ (Python agent), cli/src/ (bgagent CLI), docs/ (documentation).\n\nEssential commands (require MISE_EXPERIMENTAL=1): mise run install, mise run build, mise //cdk:compile, mise //cdk:test, mise //cdk:deploy.\n\nCritical: types in cdk/src/handlers/shared/types.ts must stay in sync with cli/src/types.ts. Don't edit docs/src/content/docs/ directly — it's generated.\n\nTask types: new_task (create PR), pr_iteration (update PR), pr_review (review PR).\n\nAvailable plugin skills: /setup, /deploy, /onboard-repo, /submit-task, /troubleshoot, /abca-status, /abca-submit\nAvailable agents: cdk-expert, agent-debugger\n\nDocs: https://aws-samples.github.io/sample-autonomous-cloud-coding-agents/"
10-
}
11-
]
5+
"type": "prompt",
6+
"prompt": "You are working in the ABCA (Autonomous Background Coding Agents on AWS) repository — a self-hosted platform for background coding agents.\n\nKey directories: cdk/src/ (CDK infra), agent/src/ (Python agent), cli/src/ (bgagent CLI), docs/ (documentation).\n\nEssential commands (require MISE_EXPERIMENTAL=1): mise run install, mise run build, mise //cdk:compile, mise //cdk:test, mise //cdk:deploy.\n\nCritical: types in cdk/src/handlers/shared/types.ts must stay in sync with cli/src/types.ts. Don't edit docs/src/content/docs/ directly — it's generated.\n\nTask types: new_task (create PR), pr_iteration (update PR), pr_review (review PR).\n\nAvailable plugin skills: /setup, /deploy, /onboard-repo, /submit-task, /troubleshoot, /abca-status, /abca-submit\nAvailable agents: cdk-expert, agent-debugger\n\nDocs: https://aws-samples.github.io/sample-autonomous-cloud-coding-agents/"
127
}
138
]
149
}

cdk/src/stacks/agent.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,15 @@ export class AgentStack extends Stack {
6767
repoTable: repoTable.table,
6868
});
6969

70-
const blueprints = [agentPluginsBlueprint];
70+
const personalSiteBlueprint = new Blueprint(this, 'PersonalSiteBlueprint', {
71+
repo: 'rsmets/personal-site',
72+
repoTable: repoTable.table,
73+
agent: {
74+
modelId: 'anthropic.claude-opus-4-20250514-v1:0',
75+
},
76+
});
77+
78+
const blueprints = [agentPluginsBlueprint, personalSiteBlueprint];
7179

7280
// The AwsCustomResource singleton Lambda used by Blueprint constructs
7381
NagSuppressions.addResourceSuppressionsByPath(this, [

0 commit comments

Comments
 (0)