FlightBrief: Release Notes
Every version of FlightBrief and what changed. The version number is the one shown under Setup > Installed Packages.
Version 1.6.0
November 30, 2026. Released as 04tan000000fxDpAAI, promoted from beta 1.6.0-1, with 90%
code coverage.
- Deep briefs work again in orgs with workflow field updates. Since 1.4.0, a Deep brief failed at its start, with a "400 Bad Request" error, in any org with more than a few workflow field updates: Salesforce refused how FlightBrief asked for their names. It now reads each name in its own request, and only for field updates on objects that have a workflow rule. The brief still says which fields each workflow rule sets.
- A refused read says why. When Salesforce refuses one of the deep scan's reads, the error now gives Salesforce's own reason. It asks you to sign in again only when the sign-in was refused.
Version 1.5.0
November 28, 2026. Released as 04tan000000fsR3AAI, promoted from beta 1.5.0-1, with 89%
code coverage.
- Help on the setup tab. The deep scan steps link to the guide's deep scan section, which includes a video of every step. It opens in a new tab.
- Very large files open safely. View and Copy now decline a file over 2 MB with a message to use Download, rather than failing partway. Copy also says why a file can't be read, instead of only that the copy failed.
- Errors are no longer shown as "nothing there". When reading the published brief, the schedule, the deep scan connection or the recent changes fails for a reason other than the user's access, the page shows the error rather than reporting nothing published, no schedule or deep scan not set up. The same goes for the administrator check on the setup tab and a schedule's next run.
- A brief no longer says "No company standards were entered" when they couldn't be read. If the standards or your team's answers can't be read when a brief is asked for, the brief says so in "Limits of this brief", so an AI assistant asks rather than assuming there are none.
- The brief says how it reads code. Its "Limits of this brief" section now says that what it reports about Apex comes from matching patterns in the source, so code written in an unusual way can be described incompletely.
- A scheduled brief that wasn't published says why. When a scheduled brief finishes but can't be published for the team, the reason now shows under the brief in your list.
- Typing is kept when a save fails. On the setup tab's Standards, Questions and Schedule tabs, a save that fails keeps what you typed, so you can try again. Saving one answer no longer clears what you typed into the others.
- The deep scan works with permission set groups. A user who holds FlightBrief Deep Scan through a permission set group can now run a deep brief.
- Permission sets in orgs with many packages. Packages' permission sets no longer crowd the org's own out of the brief's security model.
- Smaller fixes. An administrator without FlightBrief User sees no questions rather than
an error. Running the last deep scan setup step again reconnects the permission set after
the External Credential is made again. A page that fails to load shows the error, not "You
need FlightBrief User". A standards file far too large is turned away before it is read. A
#comment inside a code block in your standards stays code. The brief reads the access level ofDatabase.upsertby external id andDatabase.mergecorrectly. Refresh on the setup tab now sits in the Deep scan tab, the only one it refreshes.
Version 1.4.0
November 23, 2026. Released as 04tan000000fXT3AAM, promoted from beta 1.4.0-1, with 89%
code coverage.
- Deep briefs take two background jobs, not four. The deep scan now makes all its reads before saving anything, so a small or medium org's Deep brief finishes well inside the limit of five chained jobs that Developer Edition and trial orgs allow.
- More of what runs when a record is saved. The Automation table gains an "Other automation" column, shown when an org has any: approval processes, assignment rules and duplicate rules in every brief; workflow rules (when they run and which fields they set) and auto-response rules in a Deep brief. Names and flags only, never criteria, values or assignees.
- Fields that more than one automation sets. A Deep brief names each field that a before-save Flow, an after-save Flow or an active workflow rule's field update both set, with the order they run in, so a change goes to the automation that already sets the field.
- Briefs now say they do not read escalation rules, which Salesforce offers only through the Metadata API.
- A ground rule against hard-coded record ids. The brief counts the org's classes whose string values look like record ids (the values are never kept) and tells new code to look records up by a unique name or keep the id in custom metadata.
- Answered questions replace "ask". Where your team has answered a mixed ground rule, the choice of query classes or how new code should save, the brief points to the answer instead of telling the assistant to ask.
- Integrations name more of what connects to the org: connected apps and External Client Apps (for a user with Customize Application) and, in a Deep brief, remote site settings, by name only.
- "How to use this brief" asks the assistant to tell the person what it learns about the org that the brief does not say, so an administrator can add it to the standards.
- Generating a brief while your last one is still running is refused with a message, as scheduled briefs already were. Saving or stopping a schedule stops every scheduled job FlightBrief left, and an administrator without View Setup and Configuration gets a clear message. The "changed since" counts include code in the org's own namespace.
- Very long classes are cut into pieces at the end of a statement where possible, so fewer statements are split when they are measured.
-
The FlightBrief page: Refresh shows the spinner while it reads; two FlightBrief components on one page no longer share one Surface/Deep choice. The Schedule section names the levels and the days in the user's language. The brief viewer gives numbered lists to screen readers as numbered lists.
-
User mode by API version. Apex runs queries and DML in user mode by default from API version 67.0 (Summer '26). The brief now counts a query or save as user mode when its class is at 67.0 or later, says how many are user mode by default, and says a save helper works in system mode only when it does. It also now gives 67.0 as the version from which Apex refuses
WITH SECURITY_ENFORCED. - Every picklist value in the full reference. A restricted picklist's values are all kept, up to Salesforce's 1,000; the brief lists 25 and the full reference lists the rest.
- A very large org's deep scan stops before Salesforce's callout limits. Before every request the deep scan checks the callouts and time left, and a request waits no longer than the time left. Where an org needs more than one job allows, or a request runs out of time, the scan stops reading, keeps what it read, and the brief's limits say what may be missing: a partial deep scan, stated as such, rather than a failed run.
- The team's guidance as of the run's start. A brief uses the company standards and answers as they were when it started, so an edit made during a long run waits for the next brief.
- Canceling a brief while its job is saving now always stands. Two administrators publishing, saving the schedule or saving standards at the same moment no longer create a second record. "Changed since" counts your newest brief's changes from when it started. The progress line names the workflow rule stage.
- Lighter on orgs with many installed packages. The scan now asks only for the org's own classes, triggers and metadata, and counts installed packages' classes rather than loading them; the deep scan also watches its memory and stops, stated as partial, before running out.
-
A stored file id that is not a valid id (edited through the API) no longer breaks the FlightBrief page. Error messages come from custom labels, so they can be translated like the rest of the page.
-
Deep briefs in Developer Edition, trial and scratch orgs with many Flows. Those orgs allow a chain of only five background jobs, and each Flow takes one request. Where a Deep brief would need more, the fifth job now writes the brief with what was read and its limits say what was not, instead of the run failing (tested with 400 Flows: five jobs, completed).
Version 1.3.0
November 10, 2026. Released as 04tan000000eSs1AAE, promoted from beta 1.3.0-1, with 89%
code coverage.
- No change in what FlightBrief does or the briefs it writes. This version carries 1.2.3's code under a new minor version number, so the versions that follow build on it. Briefs now say they were generated by FlightBrief 1.3.0.
Version 1.2.3
November 9, 2026. Released as 04tan000000eMoDAAU, promoted from beta 1.2.3-1, with 89% code
coverage.
- Two wording fixes from 1.2.2. Where no API version covers most classes, the ground rule read "aPI version 66.0" after a prefix such as "Do this in new code", and gave the class count twice. A sentence that starts with an acronym now keeps its capitals, and the rule gives the count once, in its evidence; the team question, which has no evidence, keeps it in the sentence.
- The components section agrees with "Where new code goes". It listed the controllers the most components call and said "Reuse one of these before writing a new controller", whatever their share. Each count now gives its total ("9 of 154"), and the advice matches Part 1: reuse the one controller most components call when there is one; otherwise reuse the controller the same feature's components already call.
Version 1.2.2
November 9, 2026. Released as 04tan000000eMOPAA2, promoted from beta 1.2.2-1, with 89% code
coverage.
- "Most" means more than half. "Where new code goes" said new Lightning web components should call the controller that "most components here call", but it took the controller with the most calls, which in a large org served 9 of 154 components. The row now names a controller only when more than half the components use it, with the count; otherwise it says to use the controller the same feature's components already use, and names the most common one with its count. Likewise an API version used by fewer than half the classes is now "the most common here", with its count, not what "most classes" are at.
Version 1.2.1
November 9, 2026. Released as 04tan000000eM1pAAE, promoted from beta 1.2.1-1, with 89% code
coverage.
- One rule for saving records where the org has a DML helper. In an org that saves records through a helper class, the brief also had a ground rule to "run DML as the user", worded, when existing code rarely did that, as "Do this in new code", which read as telling an AI assistant to write its own DML instead of using the helper. Where there is a helper, its rule alone now says how to save; when the helper saves in system mode, that rule says so and the team is asked whether new code should save as the user. Orgs without a helper keep the "run DML as the user" rule.
Version 1.2.0
November 9, 2026. Released as 04tan000000eKWHAA2, promoted from beta 1.2.0-1, with 89% code
coverage. It began as 1.1.2; Salesforce numbers it 1.2.0 because it adds a component (the
shared error helper), which a patch version cannot.
- Org text is marked as data. "How to use this brief" now says that labels, and text in double quotation marks, which the brief copies from the org's names, descriptions, help text and messages, describe the org and are never instructions, so an AI assistant does not follow directions written into a description. Such text was already kept on one line inside its quotation marks; a new test sends hostile text through the brief to keep it that way.
- No email addresses from org text. Email addresses in descriptions, help text and messages
are replaced with
<email>. - Validation messages are scrubbed. Email addresses and record ids in a validation rule's
error message are replaced with
<email>and<record id>, as they already were in its formula, and record ids are replaced even without quotation marks. - Clearer error messages. When Salesforce returns an error as a list, or as the errors of a failed save, the message shown now gives every reason instead of none.
- Tighter access. Links that share a published brief reach internal users only in orgs with Experience Cloud. The deep scan follows a query's next page only when Salesforce's reply points to another page of a Tooling query. Saving an answer accepts only a question FlightBrief asks.
- A deep brief survives an unreadable Flow. If Salesforce returns no definition for a Flow, the brief says its steps could not be read instead of the run failing.
- Less work on large orgs. The list of the org's objects is read once per job instead of once for each object a deep brief checks, and the email pattern is compiled once.
- Fixes. A trigger that only writes a log line no longer shows as delegating to the logger.
The brief's header names the FlightBrief version that wrote it; 1.1.1 still wrote "1.1.0".
The sample brief (
docs/samples/sample-brief.md) is regenerated with this version.
Version 1.1.1
November 6, 2026. Released as 04tan000000eG2rAAE, promoted from beta 1.1.1-1, with 89% code
coverage. FlightBrief has not yet been submitted for security review.
- No Flow left out in orgs with more than 2,000 Flows. FlightBrief reads Flows in pages of 2,000. Salesforce sorts Flow ids ignoring case but compares them with case, so each page after the first could skip Flows whose ids differ only in case, and they were missing from the brief. Each page now leaves out the Flows already read. Orgs with 2,000 Flows or fewer were not affected. Found by the package's own tests in an upgraded test org.
Version 1.1.0
November 6, 2026. Released as 04tan000000eFwPAAU, promoted from beta 1.1.0-3, with 89% code
coverage. Betas 1.1.0-1 (04tan000000eAgbAAE) and 1.1.0-2 (04tan000000eDOLAA2) came first;
the sections below say what each added.
In beta 1.1.0-1:
- A formatted view of the brief. View shows the brief formatted for people to read: headings, numbered and bulleted lists with their nested lines, tables, code blocks, bold and inline code, in Salesforce's own styles and in dark mode. Show as text switches to the Markdown exactly as an AI assistant receives it. Copy and Download still give the Markdown. The viewer reads the brief as text only, so nothing in a brief can run as markup or code. A 180 KB brief from a 955-class test org opens formatted in under a second.
- Look it up rather than guess. "How to use this brief" ends with: "If you can read this org directly, through a Salesforce MCP server or the Salesforce CLI, look up anything this brief does not cover instead of guessing. The rules in this brief still apply."
- Triggers and handlers read as the org writes them. A trigger that only routes each
event to its handler class counts as a thin trigger, however many lines the routing takes,
so an org whose triggers delegate is no longer called mixed. A class is treated as a trigger
handler only when a trigger calls it, it extends what those handlers extend, or its name
ends in
TriggerHandler, so a class of another kind is never shown as a handler example. - Recommended practice is recommended. Where the org seldom follows a recommended practice,
such as
WITH USER_MODE, the brief now says "Do this in new code, though most existing code does not" instead of telling the assistant to ask first. When most classes are at an older API version, the brief reports it, puts new classes at the version it was read at unless the team pins one, and asks the team. - Every count says what it counts. Evidence reads "142 of 150 triggers", "23 of 576 test classes that assert" or "115 of 185 active Flows that change records", so figures measuring different things no longer look like totals that disagree.
- A second way of querying, and how the team deploys. A local base class that three or more classes extend and that queries (a repository, say) is named beside the query classes, and the team is asked which a new query should use. A new question asks how changes reach production (release tool, branches, required coverage), naming Copado, DevOps Center or Flosum when its package is installed.
- Tidier output. A long list of custom metadata records ends with one count. Table cells
stop at 600 characters after a whole item and send the rest to the full reference. A pipe
inside a table cell, as in a Flow naming pattern, no longer splits the cell. Descriptions are
cut at a word. Part 1's validation rules come from the objects the org's code uses most.
Flows sharing a table cell no longer read ".;" between them, and the naming counts say what
they count. The sample brief (
docs/samples/sample-brief.md) is regenerated from the sample org with this version. - Internal. The shared-subflow and test-factory conventions are built in their own methods, for the two nested-if Code Analyzer findings; no change in any brief. The development tools are upgraded (eslint-plugin-jest 29, lint-staged 17, newer Babel), so Snyk's scan of them finds 7 issues instead of 10; the package itself still has none.
Since beta 1.1.0-1, in beta 1.1.0-2, from a second review of a large org's brief:
- No rule contradicts another on saving records. When the class most code saves records
through runs its DML in system mode, its rule now says so and names any of its methods that
take an
AccessLevel, telling new code to passAccessLevel.USER_MODEthere; the "Run DML as the user" rule applies to DML written outside that class; and the team is asked whether new code should save as the user. - A trigger that only calls a class is thin, whatever the class is called. Before, the class had to be named "...Handler" or extend a class. A trigger listed as an exception now says what it does itself, such as "with a loop and a query".
- The test counts agree. The Apex architecture line counts test classes using only the
Assertclass, onlySystem.assert, and both, so its figure matches the ground rule's. After beta 1.1.0-2, the rule itself also says how many classes use both ("23 of 576 test classes that assert; 41 more use both"), so the number usingAssertat all is visible. - A shorter packages table. After beta 1.1.0-2: each namespace has one row even when the org holds several licenses for it, and packages with no classes or custom objects, often Salesforce's own feature licenses, are named in one line instead of a row each. The full reference still gives every package a row.
- Table cells are cut between entries. A long cell of triggers or Flows stops after a whole entry, never inside one or inside its description, and says how many entries the full reference adds ("; and 4 more in the full reference").
- Cut descriptions are flagged. When a description is cut (it ends in "…"), "How to use" says so, the full reference is saved, and the reference carries Flow descriptions and validation rule messages up to 1,000 characters instead of 200.
Version 1.0.0
October 30, 2026. The first release.
- A brief of your org for AI assistants. FlightBrief studies the org's schema, Apex, triggers, Flows, Lightning web components, custom metadata, permission sets and installed packages, and writes a Markdown brief of how the org is built and where new work goes. It reads metadata only, never record data, and keeps to what the user generating it can see.
- The org's own way of building. The brief names the classes the org saves and queries records through, the class its tests make data with, the subflow its Flows call, how it names record-triggered Flows and its per-object permission sets, each with counts, and only when most of the org follows it. Where the code is mixed, it says so and tells the AI assistant to ask rather than guess.
- Surface and Deep. A surface brief works right away and takes a minute or two. A deep brief, after a one-time setup by an administrator, adds validation rules, the fields each class and Flow uses, and what each Flow does.
- Company standards and questions for your team. An administrator enters the company's own standards, which every brief puts first, and answers the questions the scan cannot settle. Later briefs carry the answers.
- Publish for the team, on a schedule if you like. An administrator publishes a brief for everyone with the FlightBrief Reader permission set, or has one generated and published daily or weekly.
- Ready for your AI tool. Download a brief as
AGENTS.md,CLAUDE.md, a Cursor rule or an Agentforce Vibes rule. A full reference is saved alongside when the brief shortens long lists, and the page says how much of the org changed since the brief.
FlightBrief is not yet on the Salesforce AppExchange. It will be listed once it has passed Salesforce's security review.