Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .bestpractices.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@
"vulnerability_report_response_status": "N/A",
"vulnerability_report_response_justification": "The maintainer confirmed on 2026-09-05 that no private vulnerability reports were received in the preceding six months; the project advisory list was also empty. The policy requires acknowledgment within 14 days for future reports. https://github.com/lennrt/tempestkeep/blob/main/SECURITY.md https://github.com/lennrt/tempestkeep/blob/main/docs/openssf.md",
"build_status": "Met",
"build_justification": "The source builds with Go 1.27.0 and make using CGO_ENABLED=0. Go and make are FLOSS; no proprietary build tool is required. https://github.com/lennrt/tempestkeep/blob/main/Makefile https://github.com/lennrt/tempestkeep/blob/main/README.md",
"build_justification": "The source builds with Go 1.27.2 and make using CGO_ENABLED=0. Go and make are FLOSS; no proprietary build tool is required. https://github.com/lennrt/tempestkeep/blob/main/Makefile https://github.com/lennrt/tempestkeep/blob/main/README.md",
"build_common_tools_status": "Met",
"build_common_tools_justification": "The source builds with Go 1.27.0 and make using CGO_ENABLED=0. Go and make are FLOSS; no proprietary build tool is required. https://github.com/lennrt/tempestkeep/blob/main/Makefile https://github.com/lennrt/tempestkeep/blob/main/README.md",
"build_common_tools_justification": "The source builds with Go 1.27.2 and make using CGO_ENABLED=0. Go and make are FLOSS; no proprietary build tool is required. https://github.com/lennrt/tempestkeep/blob/main/Makefile https://github.com/lennrt/tempestkeep/blob/main/README.md",
"build_floss_tools_status": "Met",
"build_floss_tools_justification": "The source builds with Go 1.27.0 and make using CGO_ENABLED=0. Go and make are FLOSS; no proprietary build tool is required. https://github.com/lennrt/tempestkeep/blob/main/Makefile https://github.com/lennrt/tempestkeep/blob/main/README.md",
"build_floss_tools_justification": "The source builds with Go 1.27.2 and make using CGO_ENABLED=0. Go and make are FLOSS; no proprietary build tool is required. https://github.com/lennrt/tempestkeep/blob/main/Makefile https://github.com/lennrt/tempestkeep/blob/main/README.md",
"test_status": "Met",
"test_justification": "The MIT-licensed Go test suite runs with make test or go test ./... -count=1 -timeout=5m, and in GitHub CI. https://github.com/lennrt/tempestkeep/blob/main/Makefile https://github.com/lennrt/tempestkeep/blob/main/CONTRIBUTING.md",
"test_invocation_status": "Met",
Expand Down
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
*.yml text eol=lf
*.txt text eol=lf
*.tape text eol=lf
*.js text eol=lf
*.mjs text eol=lf
*.css text eol=lf
*.html text eol=lf
internal/mcpapp/ui/app.html linguist-generated=true
.env.example text eol=lf
Makefile text eol=lf
go.mod text eol=lf
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ body:
attributes:
label: Environment
description: Include the operating system, architecture, and `go version` when relevant.
placeholder: macOS arm64; go version go1.27.0 darwin/arm64
placeholder: macOS arm64; go version go1.27.2 darwin/arm64
validations:
required: true
- type: textarea
Expand Down
36 changes: 30 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,30 @@ jobs:
- name: Validate specifications and active changes
run: npm run spec:check

mcp-apps:
name: MCP Apps browser checks
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24.19.0"
cache: npm

- name: Install locked development tools
run: npm ci --ignore-scripts --no-audit --no-fund

- name: Check the embedded app matches its source
run: npm run app:check

- name: Install Chromium
run: npx playwright install --with-deps chromium

- name: Test the sandboxed app with the official host bridge
run: npm run app:test

platforms:
name: Native tests (${{ matrix.os }})
strategy:
Expand All @@ -50,7 +74,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand All @@ -64,15 +88,15 @@ jobs:
run: go build ./...

verify:
name: Go 1.27.0 verification
name: Go 1.27.2 verification
runs-on: ubuntu-latest
timeout-minutes: 25
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand Down Expand Up @@ -106,7 +130,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand All @@ -123,7 +147,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand All @@ -147,7 +171,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.27.0"
go-version: "1.27.2"
check-latest: false
cache: true

Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
/coverage.out
/scorecard-results.sarif

# Development-only OpenSpec dependencies
# Development-only specification and MCP Apps tooling
/node_modules/
/dist/playwright/

# OS
.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# golangci-lint v2.13.2 configuration.
# golangci-lint v2.14.0 configuration.
version: "2"

run:
Expand Down
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# Changelog

## 0.3.0 (proposed, unreleased)

### Added

- MCP Apps views for available read-only weather and archive tools, embedded in
the Go binary and rendered by supporting MCP hosts.
- Weather charts and searchable, sortable, paginated tables with host themes
and refresh through the same read-only tool.
- Self-contained app resources with no external network origins or device
permissions. API credentials remain in the Go server.
- Protocol and Playwright browser coverage, plus reproducible screenshots from
a synthetic MCP Apps test host.
- MCP Apps setup, compatibility, privacy, architecture, and OpenSpec requirements.

### Changed

- Pin Go 1.27.2 for module builds, repository checks, CI, and release qualification.
Contributors must use the updated patch toolchain. See
[ADR 0007](docs/adr/0007-go-patch-toolchain.md).
- Update the pinned golangci-lint to v2.14.0 so static analysis can read the
patched toolchain's compiler export data.

### Compatibility

MCP Apps is additive. Hosts that advertise support receive UI resource metadata
on read-only tools. Ordinary clients retain the existing tools and results.
Resource discovery gains HTML resources. Existing tool schemas, annotations,
result shapes, archive formats, and configuration remain unchanged.

The app's refresh action does not collect history or mutate the archive.
Frontend development uses pinned npm dependencies. The Go build and runtime do
not require Node.js. Existing archives need no migration. See
[ADR 0006](docs/adr/0006-mcp-apps.md) for the protocol and security boundaries.

Version 0.3.0 is proposed because MCP Apps adds a user-facing feature. Development
and plugin metadata use that version. No tag, release, or plugin publication is
part of this change. Qualification still follows [RELEASING.md](RELEASING.md).

## 0.2.0 (unreleased)

### Added
Expand Down
22 changes: 21 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ review; do not submit only a final source archive.

## Prerequisites

- Go 1.27.0.
- Go 1.27.2.
- A Unix-like shell and make for the Makefile and shell scripts.
- A C toolchain for race tests.
- Network access to the Go module proxy for the first tool download.
Expand Down Expand Up @@ -140,6 +140,26 @@ A spelling or link correction does not need a new behavior proposal. Run
`make docs-check` for such edits. The ADR requirements still apply to public,
wire, storage, security, and configuration changes.

## MCP Apps frontend

The Go executable embeds the committed HTML bundle. Ordinary Go builds and
runtime use do not need Node.js. Frontend changes require Node.js 20.19.0 or
later and the browser dependencies described in the [MCP Apps guide](docs/mcp-apps.md).

After installing the pinned npm dependencies, run:

```sh
npm run app:build
npm run app:check
npm run app:test
npm run app:screenshots
```

Commit changed frontend sources with their rebuilt bundle. Inspect screenshots
before committing them, and use only synthetic fixtures. Tests must cover the
SDK lifecycle and meaningful interactions, including missing data and errors.
Keep tool payloads, read-only boundaries, and plain MCP compatibility stable.

## Publication

Do not publish a release or plugin from an unreviewed change. The release
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ NPM ?= npm
VHS ?= vhs
BIN_DIR ?= bin

GO_VERSION := 1.27.0
GO_VERSION := 1.27.2
GOIMPORTS_VERSION := v0.44.0
GOLANGCI_LINT_VERSION := v2.13.2
GOLANGCI_LINT_VERSION := v2.14.0
ACTIONLINT_VERSION := v1.7.12
GOVULNCHECK_VERSION := v1.7.0
GITLEAKS_VERSION := v8.30.1
Expand Down
8 changes: 8 additions & 0 deletions NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@ or sponsored by WeatherFlow or the Tempest weather platform.
WeatherFlow and Tempest names and marks belong to their respective owners. Use
of those names identifies compatible services and products. It does not imply
an official relationship.

## Embedded frontend dependencies

The MCP Apps HTML bundle includes third-party JavaScript. Its
[generated source](internal/mcpapp/ui/app.html) retains the bundled packages'
license and notice text in an HTML comment. The
[asset builder](scripts/build-mcp-app.mjs) collects those texts from the pinned
dependencies. Rebuilding the app updates its code and notices together.
Loading
Loading