Repository navigation
User Guide Plan
For attendees: how Compass learns your tech, plans your week as a Kiro spec, and books it safely on your computer.
Plan is the first of the three acts (Plan, Board, Fly). It happens on your computer, in Kiro or another MCP client, because the AWS Builder ID sign-in returns to your own machine. You talk to your assistant; it calls the Compass tools. Every tool is listed on MCP tools.
flowchart LR
A[sign_in] --> B[refresh_catalog]
B --> C[scan_repo or scan_github]
C --> D[show_my_tech and find_sessions_by_tech]
C --> E[plan_week]
E --> F[check_itinerary]
F --> G[reserve_with_guardrails, add_standby, add_layover]
G --> H[issue passes: Board]
The plan-my-week skill in the Kiro Power (power/skills/plan-my-week/SKILL.md) tells the agent to follow this order and to ask you before every write.
After sign_in (see Getting started), run refresh_catalog. It reads every page of the session list from the Events API into a private cache on your machine. The Events API has no search parameter, so find_sessions, the planner and the guardrail all filter this local copy. find_sessions takes a text query and filters for services, level, type and day.
This is where Compass starts. It learns what you work on from your own code (which AWS services you use and how deeply, plus the rest of your stack such as .NET, Node.js or Python) and then finds the re:Invent sessions that match, with a reason for each. Nothing it reads leaves your machine: only service and technology names, a depth per service and counts come out of the scanner, never a file name, path or file content.
scan_repo reads a folder, read-only.
- The workspace. A folder inside the one Compass was started in is scanned freely. For any other folder, Compass asks you to confirm first, and a client that cannot ask cannot scan it.
- A dev folder. If the folder is not itself a git repository but holds git repositories one or two levels down, each repository is scanned on its own, in name order, up to 50 (packages/mcp-server/src/tools/scan-projects.ts). No new repository is started after two minutes. The reply says how many were scanned and skipped.
-
What it detects. AWS services from Terraform, CDK (TypeScript), the AWS SDK for JavaScript v3, boto3 (Python), the AWS SDK for .NET (
AWSSDK.*packages andnew Amazon<Name>Client(in C#) and package manifests. It also detects other technology, such as .NET, C#, Node.js, TypeScript, Python, Java, Go, React, Angular, Docker, Kubernetes and Terraform.
Each AWS service gets a depth, and a depth suggests a session level:
| Depth | Means | Suggested level |
|---|---|---|
exploring |
Only imports or declared dependencies | 100 (200 with more evidence) |
building |
Any real resource, construct, client or command | 300 |
production |
Building, with both infrastructure and code usage, and a score of 12 or more or a production marker | 400 |
The score is 2 for each resource, construct or client, plus 1 for each command, import or dependency.
If you want your GitHub repositories in the picture too:
-
connect_githubshows a code and opens the GitHub page where you enter it. If you have not installed the Compass GitHub App, you install it there and choose which accounts, organisations and repositories it may read. An organisation's owner must approve it. The app has only Contents: read and Metadata: read, so it can never change your code. -
scan_githublists the repositories it is about to read (50 by default, up to 200; forks are left out unless you ask) and reads nothing until you confirm the list. A client that cannot ask cannot run it. Each repository is downloaded as an archive into memory, scanned under a time and size limit, and dropped. Nothing is written to disk. -
disconnect_githubdeletes the GitHub sign-in on this machine. To remove the app from GitHub too, uninstall it athttps://github.com/settings/installationsand revoke it athttps://github.com/settings/apps/authorizations.
GitHub is not used in simulated mode.
Every scan adds to one tech list on your machine: the AWS services you use, with depth, and the other technology you use.
-
"What tech do I work on?"
show_my_techlists AWS services first, then other technology, ranked by the number of projects that use it and then by score. Ask "What do I use the most?" and it narrows the list withtop. -
"Find me sessions on .NET."
find_sessions_by_techsearches the cached catalog for one technology (20 sessions by default; it knows spellings such as "dotnet" and "C#"). With no technology, it searches your top five technologies and top five AWS services, five sessions each.
The list lives in your app-data folder with owner-only permissions. Each project is stored under a one-way hash, so no folder path or repository name is kept. It is never sent anywhere, and forget_me deletes it. See Privacy.
plan_week suggests a week from your tech list, your goals and the sessions you already hold. It never books anything.
| Input | Default | Limits |
|---|---|---|
goals |
none | up to 20 goals |
level |
none | 100, 200, 300 or 400 |
maxPerDay |
4 | 1 to 8 sessions a day |
How sessions are ranked (packages/core/src/spec/planner.ts):
- 3 x (depth + 1) for every AWS service of yours that the session covers;
- 2 when the session level matches your level (or the level your depth suggests);
- 2 x the number of your projects that use a technology the session matches, counting at most 3 projects;
- 1 for every word of three or more letters from your goals that appears in the title.
Only sessions that score above zero are suggested. Each one is checked against the guardrail: sessions it allows are picked first, in rank order. A session it only warns about is a last resort, and never when its walk would be impossible or unknown, its venue is missing, or it is full. A full session is never picked. The planner also adds a standby backup where it finds one, and a layover where a day needs a meal or rest break.
The plan is written as a Kiro spec in .kiro/specs/my-reinvent-week/, always under the folder Compass was started in:
| File | What it holds |
|---|---|
requirements.md |
The rules your week must meet: be at the gate before boarding closes, keep a 30 minute meal layover between 11:30 and 14:00, prefer sessions on what your code uses, favour your goals. |
design.md |
One section per day. Each pick has its title, type, level, gate, times, boarding closes, why it was picked, the connection from the session before, and whether to reserve or walk up. Then layovers and the day's energy. |
tasks.md |
One checkbox per action you approve: reserve each session, add each standby, add each layover, then issue boarding passes. |
Before writing, Compass names the folder and, where your client can ask, asks you to confirm it. It never overwrites a file. If a plan already exists, it writes week-<date>.md next to it and shows you what changed; if nothing changed, it writes nothing (packages/core/src/spec/write.ts).
Keep it out of a public repository. A public week spec would publish where you will be and when. So Compass offers to add .kiro/specs/my-reinvent-week/ to your .gitignore. It changes .gitignore only when you accept; otherwise it gives you the exact line to add yourself.
The tasks in tasks.md are done one at a time, each with your approval. In live mode, Compass is read-only by default: until you turn writes on, these tools run every check and then tell you what they would have done, and you make the change in the re:Invent app.
-
check_itinerarychecks your whole week: every reserved session and your personal time, plus any session you propose (its id is enough). It lists the week in time order with each session's verdict, and writes nothing. Ask "check my itinerary" to run it on your schedule as it is. -
reserve_with_guardrailstakes 1 to 10 session ids (codes such asBWP213work too). It reads your schedule fresh, then checks each session against your confirmed schedule plus the sessions before it in the same request.
The guardrail answers allow, warn or block, with one plain-English reason for each rule that applied. All the rules and numbers are on Guardrail rules.
- Block. Nothing is sent. The reply gives the reasons, other showings of the session you could take, and, where one exists, a safe swap.
- Warn or allow. Where your client can ask, Compass shows a confirmation that lists each session code, title and id, then every warning, then "Go ahead?". Declining writes nothing.
-
After the write.
ReserveSessionsis sent once and never resent. A session counts as reserved only when your schedule, read back, lists it. If the schedule cannot be read back, the reply says the booking is unconfirmed and asks you to check before trying again. - No reservation needed. If a session is not reservable, nothing is sent: walk up early, or keep it as a favourite.
There is no background booking, no seat polling and no retry loop.
When a session you want clashes with one you hold, and the one you hold has a repeat (the same code with -R, -R1, -R2 and so on), Compass can move you to the repeat without ever leaving you with neither seat. This is the safe swap:
- Reserve the repeat first.
- Read the schedule back and check that the repeat is held.
- Only then cancel the original.
- Reserve the session that clashed.
cancel_reservation on the original follows this rule. If the swap is not safe (the repeat clashes with something, is not confirmed on your schedule, or leaves a walk next to it that is certainly impossible), nothing is cancelled. Asking again gets a "Cancel anyway?" confirmation; a client that cannot ask never gets that override. The exact conditions are on Guardrail rules.
add_standby favourites 1 to 10 sessions as backups for full sessions. Standby is a backup, not a reservation: it does not hold a seat. remove_standby removes one. show_schedule lists your standby list with the ids these tools take.
A layover is personal time for a meal, water or rest. add_layover creates, updates or deletes one (action is create, update or delete; update and delete take the personalTimeId that show_schedule lists). Before anything is sent, Compass checks that both times carry an offset, the end is after the start, both fall inside the event window (from the start of the badge pickup day, the day before the event), and the layover ends on the day it starts. An overlap with a session is a warning, not a block. Each action asks you to confirm.
re:Invent Compass is an independent community project and is not affiliated with, endorsed by, or sponsored by Amazon Web Services. Boarding passes are unofficial: your re:Invent badge is your ticket. Licensed under Apache-2.0. Disclaimer · Repository · Project board
Get started
User guide
Architecture
- Overview
- Kiro Power
- MCP server
- Pass service
- Showcase site
- Flows
- AWS architecture
- Security
- Data and privacy
- Quality
Key decisions
- Index
- Product and scope
- Architecture
- Infrastructure
- Passes and wallets
- Security and privacy
- Delivery and tooling
Developer guide
Operations
Runbooks
How it was built
Reference
Links