Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Example App — Agentic Licence Workflow Sandbox

This Flutter app is a test sandbox for exercising the flutter_licences_mcp agentic licence-check workflow. The app itself is intentionally simple — what matters is its pubspec.yaml and the AGENTS.md that governs how AI agents must behave when adding packages to it.

Purpose

Use this directory to verify that an AI agent correctly:

  1. Calls list_licences before touching pubspec.yaml
  2. Adds a requested dependency
  3. Calls check_licence_compliance after the change
  4. Acts on the result (proceeds, warns, or reverts) according to the policy in AGENTS.md

Setup

flutter pub get

Running the app is not required for licence testing. flutter pub get must be run so that pubspec.lock exists for the MCP tools to inspect.

Trying it out manually

List all current dependency licences:

Tool: list_licences
Arguments: { "rootDir": "<absolute path to this directory>" }

Check compliance against the project's allowed list:

Tool: check_licence_compliance
Arguments: {
  "rootDir": "<absolute path to this directory>",
  "allowedLicences": ["MIT", "BSD", "Apache-2.0", "ISC", "Unlicense"]
}

Current direct dependencies

Package Licence
cupertino_icons MIT
http BSD-3-Clause
intl BSD-3-Clause
provider MIT