agentleFS
MicrosoftKnown publishermicrosoft/intelligent-terminal/src/cascadia/LocalTests_TerminalApp/TestHostApp/AGENTS.md

intelligent-terminal / TestHostApp

AGENTS.md2.1k starsChanged 3 months agoMITView on GitHub

One packaged Windows app hosts TerminalApp local tests and real production UI for isolated accessibility checks. It does not replace full-app integration tests. The harness surface fre-settings launches the FRE mode, invokes Next through UI Automation, and scans the resulting settings controls. It is not a separate app or launch argument. Agents mode activates the host window before creating the production view model and navigates its Frame with NavigateToPageArgs. This exercises the page's normal OnNavigatedTo initialization, not a TestHost-only Agents…

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not construct the full Settings MainPage in this AppContainer host.

    line 22
  2. Very specific:

    Add an explicit launch route in UnitTestApp.xaml.cpp and matching readiness/ UIA assertions in the scan harness.

    line 49
  3. Distinctive:

    Use the test package, not deployment over the user's Intelligent Terminal.

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 36,368 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

TestHostApp

One packaged Windows app hosts TerminalApp local tests and real production UI for isolated accessibility checks. It does not replace full-app integration tests.

Launch modes

ArgumentPurpose
No accessibility argumentDefault test-client path for TAEF local tests.
--accessibility-page=freReal FRE overlay, initialized with default settings.
--accessibility-page=agentsReal Agents page reached through Frame navigation with the production view model and navigation arguments.

The harness surface fre-settings launches the FRE mode, invokes Next through UI Automation, and scans the resulting settings controls. It is not a separate app or launch argument. Agents mode activates the host window before creating the production view model and navigates its Frame with NavigateToPageArgs. This exercises the page's normal OnNavigatedTo initialization, not a TestHost-only Agents constructor. No native window root is supplied because this page's initialization does not require one.

Do not construct the full Settings MainPage in this AppContainer host. MainPage eagerly loads Extensions; its filesystem discovery fails with access denied in AppContainer and reaches the debug coroutine assertion. This was confirmed with an owned-process debugger, not inferred from activation errors. The fixture does not establish full Settings navigation, native-window integration or persistence coverage.

Build and test

Build from the repository root:

cmd.exe /c "tools\razzle.cmd && cd src\cascadia\LocalTests_TerminalApp\TestHostApp && bx"

For TAEF, also build TerminalApp.LocalTests.dll; runut in a razzle environment runs it from the TestHostApp output, not the LocalTests output.

For native scans, use test\accessibility\Invoke-AxeWindowsTestHost.ps1 with -Surface set to fre, fre-settings, or agents. Supply the built manifest, Axe.Windows path, output directory, and exact source SHA. An interactive Windows desktop and the app's framework dependencies are required. Setup and artifact limitations are documented in doc\ghaw\ghaw-pr-accessibility.md.

Extending coverage

Reuse production pages, view models, and resources; do not duplicate UI in mocks. Add an explicit launch route in UnitTestApp.xaml.cpp and matching readiness/ UIA assertions in the scan harness. Preserve the default TAEF launch path. Use the test package, not deployment over the user's Intelligent Terminal.

These scans cover selected states, not all Settings pages, terminal-window integration, complete keyboard journeys, Narrator, contrast, or scaling.

Download now (ZIP)

Trending

Quiet since September.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 1 mentionJun 2026: 1 mentionJul 2026: 3 mentionsAug 2026: 2 mentionsSep 2026: 3 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/intelligent-terminal repository that our weekly crawl found: only 10 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about microsoft/intelligent-terminal

The biggest 5 of 10 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 10

Talked about on GitHub and Bluesky (10 times).

On GitHub · 9

4 more on GitHub

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.