Skip to content

feat: add content summaries to subagent routing table#157

Merged
marcusquinn merged 1 commit intomainfrom
feature/subagent-index-summaries
Jan 23, 2026
Merged

feat: add content summaries to subagent routing table#157
marcusquinn merged 1 commit intomainfrom
feature/subagent-index-summaries

Conversation

@marcusquinn
Copy link
Owner

@marcusquinn marcusquinn commented Jan 23, 2026

Summary

  • Adds a "Contains" column to the "When to read subagents" table in AGENTS.md
  • Each row now describes the specific knowledge/instructions inside the subagent (not just the domain trigger)
  • Inspired by PageIndex's tree node summaries — gives the AI semantic descriptors for better routing decisions without loading full files
  • Also adds video-prompt-design to the Subagent Folders table

Motivation

The existing table had "Task Domain" (trigger) and "Read These" (file paths), but no description of what knowledge is inside. This meant the AI had to load files speculatively. The new "Contains" column provides enough semantic signal to decide whether loading is worthwhile — similar to how PageIndex gives each tree node a summary for reasoning-based retrieval.

Example

Before:

| SEO analysis | `seo/dataforseo.md`, `seo/google-search-console.md` |

After:

| SEO analysis | `seo/dataforseo.md`, `seo/google-search-console.md` | API endpoints, keyword metrics, ranking data, search performance queries |

Summary by CodeRabbit

  • Documentation
    • Added a new "Contains" column to the Task Domain table, replacing the previous two-column layout and providing explicit containment descriptions for each entry.
    • Updated the table header to include "Contains" and expanded every row with descriptive details about what each subagent/folder contains.

✏️ Tip: You can customize this high-level summary in your review settings.

@gemini-code-assist
Copy link

Summary of Changes

Hello @marcusquinn, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the AI's ability to efficiently route tasks to specialized subagents. By introducing a "Contains" column with semantic summaries in the subagent routing table, the system can now understand the specific knowledge and instructions within each subagent, thereby reducing the need for speculative file loading and improving overall decision-making accuracy.

Highlights

  • Enhanced Subagent Routing Table: A new "Contains" column has been added to the "When to read subagents" table in AGENTS.md to provide semantic summaries of subagent content.
  • Improved AI Decision Making: This addition allows the AI to make more informed routing decisions by understanding the specific knowledge within subagents without needing to load full files, similar to PageIndex's tree node summaries.
  • New Subagent Entry: The video-prompt-design subagent has been added to the tools/video/ category in the Subagent Folders table.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 23, 2026

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

Walkthrough

Updates the .agent/AGENTS.md Task Domain table: adds a new public-facing "Contains" column, converting the two-column layout into three columns and populating the new column for all existing rows with descriptive containment entries.

Changes

Cohort / File(s) Summary
Agent Documentation
.agent/AGENTS.md
Added a new "Contains" column to the Task Domain table (header changed from "Task Domain | Read These" to "Task Domain | Read These | Contains"). Populated the new column for every row, expanding descriptions (notably video-related rows include tool/prompt-design descriptors). No other files changed.

Sequence Diagram(s)

(Skipped — changes are documentation-only and do not introduce new runtime control flow.)

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

📋 A column blooms where two once stood,
Each row now tells us what it would,
Contains unveiled in tidy lines,
Docs align — the structure shines! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main change: adding a 'Contains' column with content summaries to the subagent routing table in AGENTS.md, which is the primary objective of this PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request is a great enhancement, adding a "Contains" column to the subagent routing table in AGENTS.md. This provides valuable semantic summaries that should significantly improve the AI's routing decisions by describing the knowledge within each subagent's files. The changes are well-structured and consistently applied across the document. I have one minor suggestion to further improve the clarity of the new descriptions for the AI.

.agent/AGENTS.md Outdated
| macOS automation | `tools/automation/mac.md` | AppleScript snippets, JXA patterns, app control, accessibility API |
| Programmatic video | `tools/video/remotion.md` | React composition, animation timing, render commands, asset management |
| AI image/video generation | `tools/video/higgsfield.md` | 100+ model APIs, prompt formats, style parameters, generation workflows |
| Video prompt engineering | `tools/video/video-prompt-design.md` | Veo 3 meta prompts, 7-component framework, style/motion descriptors |

Choose a reason for hiding this comment

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

medium

In the Contains column, the use of a slash in style/motion descriptors could be ambiguous for an AI parser. It might be interpreted as 'style and motion', 'style or motion', or a single combined term. To ensure clarity and provide a more precise semantic meaning for the AI, I suggest separating this into two distinct items.

Suggested change
| Video prompt engineering | `tools/video/video-prompt-design.md` | Veo 3 meta prompts, 7-component framework, style/motion descriptors |
| Video prompt engineering | `tools/video/video-prompt-design.md` | Veo 3 meta prompts, 7-component framework, style descriptors, motion descriptors |

@augmentcode
Copy link

augmentcode bot commented Jan 23, 2026

🤖 Augment PR Summary

Summary: Enhances subagent routing guidance in .agent/AGENTS.md by adding semantic “Contains” summaries so agents can choose which subagent files to load.
Changes:

  • Added a new Contains column to the “When to read subagents” table with per-row content descriptors.
  • Expanded the tools/video/ folder entry and added a “Video prompt engineering” routing row.
Motivation: Reduce speculative file loading by providing PageIndex-style summaries that improve retrieval/routing decisions.

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

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

Review completed. 1 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

| `tools/context/` | Context optimization - semantic search, codebase indexing, token efficiency | osgrep, augment-context-engine, context-builder, context7, toon, dspy, llm-tldr |
| `tools/conversion/` | Format conversion - document transformation between formats | pandoc |
| `tools/video/` | Video creation - programmatic video generation, AI image/video generation, animations | remotion, higgsfield |
| `tools/video/` | Video creation - programmatic video generation, AI image/video generation, animations, prompt design | remotion, higgsfield, video-prompt-design |
Copy link

Choose a reason for hiding this comment

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

video-prompt-design is referenced here (and later as tools/video/video-prompt-design.md), but that file doesn’t appear to exist under .agent/tools/video/ in this branch. If it’s missing, these entries will create a broken routing target when the agent tries to load the subagent.

Other Locations
  • .agent/AGENTS.md:603

Fix This in Augment

🤖 Was this useful? React with 👍 or 👎

Inspired by PageIndex's tree node summaries, adds a 'Contains' column
to the 'When to read subagents' table. This gives the AI specific
knowledge descriptors for each subagent, enabling better routing
decisions without loading the full file.

Also adds video-prompt-design to the Subagent Folders table.
@marcusquinn marcusquinn force-pushed the feature/subagent-index-summaries branch from 8e8b25b to 7ed28f3 Compare January 23, 2026 22:54
@sonarqubecloud
Copy link

@github-actions
Copy link

🔍 Code Quality Report

�[0;35m[MONITOR]�[0m Code Review Monitoring Report

�[0;34m[INFO]�[0m Latest Quality Status:
SonarCloud: 0 bugs, 0 vulnerabilities, 351 code smells

�[0;34m[INFO]�[0m Recent monitoring activity:
Fri Jan 23 22:55:18 UTC 2026: Code review monitoring started
Fri Jan 23 22:55:18 UTC 2026: SonarCloud - Bugs: 0, Vulnerabilities: 0, Code Smells: 351
Fri Jan 23 22:55:18 UTC 2026: Qlty - 0 issues found, auto-formatting applied
Fri Jan 23 22:55:20 UTC 2026: Codacy analysis completed with auto-fixes

📈 Current Quality Metrics

  • BUGS: 0
  • CODE SMELLS: 351
  • VULNERABILITIES: 0

Generated on: Fri Jan 23 22:56:34 UTC 2026


Generated by AI DevOps Framework Code Review Monitoring

@marcusquinn marcusquinn merged commit 3500a7d into main Jan 23, 2026
9 checks passed
marcusquinn added a commit that referenced this pull request Jan 24, 2026
- #160: aidevops update auto-detects outdated planning templates
- #159: session-time-helper for active time analysis, risk:low/med/high field
- #157: content summaries in progressive disclosure pattern
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.

1 participant