flamerobin copilot-instructions.md

Project instructions for FlameRobin, a C++ desktop application for administering Firebird databases. They cover building, running, dependencies, and tests on Linux, Windows, and macOS.

In plain words
What is it for?
Use them when changing FlameRobin, configuring its CMake build, handling dependencies with vcpkg, or running its Boost.Test and CTest tests.
Why use it?
They give coding agents the repository’s exact commands and conventions, reducing setup mistakes and incorrect test runs.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/mariuz/flamerobin/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/mariuz/flamerobin

Made for: GitHub Copilot.

Per session 1,376 This file is loaded in full into every session.
When invoked 1,376 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01376 $0.01376
Opus 5 $0.00688 $0.00688
Sonnet 5 $0.00275 $0.00275
Haiku 4.5 $0.00138 $0.00138

Measured 3d ago against content hash bdb93514b73e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flamerobin copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/copilot-instructions.md · 114 lines

How it starts

The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.

FlameRobin — Copilot Instructions

FlameRobin is a C++20/wxWidgets GUI administration tool for Firebird DBMS.

Build

Linux (Debian/Ubuntu)

mkdir build && cd build
cmake ..
make -j$(nproc)
# Run from build dir (sets up paths to resource subdirs):
./run_flamerobin.sh

Windows (CMake + vcpkg)

cmake -S . -B build -A x64
cmake --build build --config Release

macOS

mkdir build && cd build
cmake -DCMAKE_PREFIX_PATH="$(brew --prefix)" ..
make -j$(nproc)
open flamerobin.app

vcpkg is used for dependencies and is auto-detected if cloned into the repo root as ./vcpkg. The fb-cpp dependency is supplied via a custom overlay port in ports/fb-cpp/.

When adding new .cpp files, re-run CMake to register them (cmake .. or cmake -S . -B build).

Tests

Run the full test suite from the build directory:

ctest --output-on-failure
# or with verbose Boost.Test output:
ctest --output-on-failure -V
BOOST_TEST_LOG_LEVEL=all ctest -R <test_name>

Run a single named test:

ctest -R index_ddl_test
# or run the executable directly:
./index_ddl_test

Test files are named *Test.cpp and are co-located with the source they test (e.g., src/metadata/IndexDDLTest.cpp). Tests use Boost.Test. Prefer comprehensive test cases that verify all related properties in one test rather than many small single-assertion tests.

Architecture

src/
├── engine/db/          # Database Abstraction Layer (DAL)
│   ├── IDatabase.h     # Core interfaces (IDatabase, ITransaction, IStatement, IService, IBlob)
│   ├── DatabaseBackend.h  # Shared types, enums (ColumnType, StatementType, BackupConfig, etc.)
│   ├── DatabaseFactory.{cpp,h}
│   ├── fbcpp/          # Modern fb-cpp backend (DEFAULT)
│   └── ibpp/           # Legacy IBPP backend (planned for removal)
├── metadata/           # Object model: Database, Table, View, Procedure, etc.
├── gui/                # wxWidgets frames and dialogs
├── core/               # Subject/Observer, template processing, utilities
├── sql/                # SQL tokenizer, statement splitter, keyword sets
├── ibpp/               # IBPP library source (legacy)
└── fb-cpp/             # fb-cpp submodule (keep clean — patches in ports/fb-cpp/)

Read the full file on GitHub · 114 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 114 lines · 1,376 tokens per session scan A bdb93514b73e

Subscribe to this mod's changes

flamerobin copilot-instructions.md is an instructions file published in the GitHub repository mariuz/flamerobin (263 stars, last pushed 8d ago), licensed MIT. It adds 1,376 tokens to every session, about $0.0069 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.