You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(model-apps): consolidate the feature-flag gates and unfile the TSX lexer notes
Answering "consolidate or move?" for the 104-line Feature Flags section:
CONSOLIDATE, and keep it in AGENTS.md.
Why not move it to docs/: AGENTS.md is auto-loaded into agent context; docs/*.md
are not - an agent has to choose to open them. These are fail-closed safety gates
whose failure mode is shipping unreleased functionality, so they belong in the
always-loaded file. Moving them would make the rule less likely to be followed,
which is the opposite of the point.
Two changes, both found by reading the section rather than its title:
1. The two gate checklists were STRUCTURALLY IDENTICAL - five numbered points
with the same five categories (discovery, scripts, deploy, ALM, codegen),
written out twice. The shared rule is now stated once and the per-feature
specifics live in a table, with the one genuine asymmetry called out
separately (the connectors dispatch value overriding the plan section).
Every fact survives - verified by grepping for the 12 load-bearing specifics
(helper names, phase numbers, ECS setting, ALM branch, emitted APIs) after
the edit.
2. `scripts/lib/source-literals.js - known limits` was sitting INSIDE the
Feature Flags section. The TSX lexer has nothing to do with feature flags; it
is a component spec that landed in the wrong place, and it accounted for a
quarter of the section's length. Promoted to its own `## TSX source lexer -
known limits` section. The file-tree entry that says 'see "Known limits"
below' now points at a real section.
Net -6 lines, which undersells it: ~35 lines of duplicated prose became a table,
and ~28 lines moved to where they belong.
Also fixes line-ending drift I introduced: the restructure script joined with
\r\n on a file that is LF on main, rewriting all 850 lines. Restored to LF, so
the diff is the real 39/45. Checked the whole branch for the same mistake -
no other file changed style vs origin/main.
Docs only. Plugin suite 1474 pass, 6/6 validators.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 42626da2-b66f-4162-acaa-b1127ef23d89
|**ALM**| the `--connection-refs` branch of `add-page-to-solution.js`| none needed — `config.json`'s `actionBindings` travels inside the page's `uxagentprojectfile` rows automatically (the Custom APIs themselves are a separate deployment prerequisite, bound by name) |
0 commit comments