RulesCraft
Creator: sagasys technology group
RulesCraft is a VS Code extension for editing Oracle Policy Modeling (OPM / OPA) rule documents using embedded WordCraft and GridCraft editors, with local Oracle compilation and validation.
Proof of concept - early alpha. Use at your own risk. This is experimental software, not production-ready or an Oracle-supported replacement for Policy Modeling. Editing, saving, formatting, validation, or navigation may fail or behave unexpectedly. Work on copies, keep independent backups, and review saved documents and compiler results in OPM before relying on them. No warranty or guarantee of correctness is provided.
Basic functionality
- Edit DOCX rules in WordCraft and XLSX rules in GridCraft inside VS Code. When another tool changes or replaces a rule document on disk, both editors refresh automatically if you have no unsaved edits. They also recheck after opening and when you return to the tab, so a missed file event does not leave old contents displayed. Unsaved edits are kept, not replaced; refresh failures show an error.
- Apply existing OPM paragraph and cell styles. Making a paragraph a Conclusion or Alternative conclusion (Alt+C, the chooser, or a Word paste) clears any other formatting on it, such as highlight, underline, italic, colour, font size or a manual indent, so every conclusion looks the same: bold, in the font and size the template's conclusion style sets. Rule tags, links and tracked changes are kept, and one undo brings the old formatting back. Toggle Comment (toolbar, or Alt+F12) works like the OPM ribbon's: it switches the selected conclusions, condition levels, rule names and rule types to their "Comment - " styles, or back if any of them is already commented. Selecting whole paragraphs toggles just those paragraphs, not the one the selection ends at. Alt+T (or the Rule tags style) inserts a
[Tag] at the start of the paragraph, styled grey with "OPM - ruletags Char", the character style Word itself uses for a tag, so it looks the same in Microsoft Word. Oracle reads a tag from its brackets, so the style only changes how it looks. Tags added by RulesCraft before 0.1.79 looked like plain text in Word; WordCraft fixes them when it opens the document, and the next save keeps the fix.
- Save documents and validate them with your locally installed Oracle compiler.
- Build an OPM project and revisit errors through build output and VS Code Problems.
- Find cached attribute usages, with proof-first results, formatted previews, drill-down into referenced attributes and relationships, and navigation to the source. Each CONDITION result is titled by the rule it's a condition for (that rule's conclusion), with the line that uses the attribute shown underneath.
- Inspect an OPA session: load compiled rules and JSON inputs, run inference, browse the complete model, find source usages, try temporary value overrides, and compare decision reports.
- Debugger Find attribute usage reuses the workspace's selected project when debugging its default output ZIP, or the source project detected beside a selected ZIP. A manually selected source project stays with the session even if a lookup fails. An unrelated ZIP still asks for its source rather than guessing.
- RulesCraft's standard report views are Focus, Outline, Facts and Rule logic. Optional interpretations supplied through the companion API are labelled Externally supplied · references checked, never as Oracle's own explanation; they disappear when their report becomes stale. RulesCraft itself has no interpretation-generation controls.
- New decision reports always start in Outline. Select Rule logic to see ALL required (AND), ANY sufficient (OR) and NOT, with comparisons, concluded values and OTHERWISE branches from the selected ZIP. This built-in view needs no companion or supplied interpretation. It lists candidate proving rules, not a guessed fired rule. Exact report-value links supply case context without claiming a comparison/group was evaluated. Missing evidence is not false; quantifiers, temporal scopes and unsupported constructs remain explicitly structural. The build identity and any limits are shown; unavailable logic has an explicit reason. Out-of-date reports hide their logic until updated.
- Decision report tabs use compact, numbered titles such as Why 1: the person is ready (maximum 36 characters). Long attribute names keep their beginning and ending around an ellipsis. Numbers remain stable within the session; session-coloured icons still distinguish sessions. The full attribute heading and session/instance context remain inside the report. Other VS Code tabs and workspace settings are unchanged.
- In the project dashboard's Search tab, select OPM rule tags only to search leading
[rule tag] labels in saved Word paragraphs (including table cells), without matching the surrounding rule text. Enter the label without brackets; case, whole-word and regular-expression options still apply. Results open at the full tagged paragraph. This does not require a build and is not a compiled-metadata or attribute-custom-property search; Excel cells are not included in tags-only mode.
- Logic is presented as readable-width candidate cards, with bounded AND/OR/NOT groups and reported values beside their evidence links. Expand deeper groups as needed; Details and limits holds build metadata and routine counts. Missing/ambiguous evidence and nonzero omissions remain explicit. Labels and border patterns distinguish operators without relying on colour.
- Conclusion headings show the sentence without a "Conclude:" prefix. Explore proving rules on a condition loads its candidate rules from the same ZIP only when expanded; continue through further conditions to drill deeper. Reopening a condition reuses the loaded structure. Inputs/unsupported items explain why no proving rule is available; scoped constructs do not guess an instance. Cycles, the 12-level exploration limit and the 64-condition per-report limit are explicit. This does not re-run Oracle or claim which candidate fired.
- Edit the project's data model: explore every entity and attribute the rules know about, set public names, override data types, choose how Oracle parses true/false sentences, adjust their generated wording, and add attributes and relationships no rule uses yet.
- Create a DOCX rule document using your locally installed OPM Word template.
- In Word rule tables, OPM paragraph styles identify conclusions, condition levels and the otherwise marker; decorative blue cell shading is not a rule style. Existing document formatting is preserved, not automatically restyled.
- Newly generated rule workbooks use familiar OPM green/yellow/blue cell styles, Verdana 8, thin borders, bold headings and bold-italic Else. Existing workbooks retain their own formatting; opening them does not recolor them.
- While authoring Word or Excel rules, click Function Reference in either toolbar (or run RulesCraft: Function Reference). A shared reference opens beside your document with offline search across all 159 English (US) syntax entries in Oracle's reference: functions, connectors, constants and operators. Filter by category, select a result, and Copy name or a syntax variant; the tool never inserts into or changes your document. Notes are original short summaries with links to Oracle's detailed documentation. Replace placeholders before pasting, check your project's regional argument separator, and validate with Oracle; listing a function does not imply experimental native-compiler support. Close the reference tab when finished; Escape also closes it. The index was reviewed on 2026-11-08, not downloaded or refreshed on every search.
- Right-click an existing DOCX/XLSX file inside an OPM project in Explorer and choose RulesCraft: Include in Project or Exclude from Project. Include moves it into Rules; exclude moves it into Excluded Rules, outside the compiled rule sources. Subfolders are preserved, including when you include it again. Files are never overwritten or deleted. Confirm the destination; save/discard unsaved edits and close Word/Excel first. Clean VS Code editor tabs close before the move. Both actions appear for rule documents; an action that does not apply explains why. Build again afterward: existing compiled ZIPs and running sessions are not changed automatically.
- Run RulesCraft: New OPM Project to create an empty project using your installed Oracle .NET APIs, without Microsoft Word. Confirm a new folder name, English language/region (en-US or en-GB) and a time zone picked from Oracle's own project time-zone list (UTC first, then Olson IDs such as
Etc/GMT or America/New_York; type to filter). Windows names such as "Pacific Standard Time" are no longer offered: Oracle stored them, but its engine evaluated them as GMT. Oracle reopens and compiles it before the folder appears; existing destinations and locations inside existing OPM projects are refused. The verified ZIP is included, but no rules or cases are generated. You can then open the new folder in a separate VS Code window.
- Open an
.xprj project dashboard with Overview, Validation, Search, Inclusions, and Settings tabs.
- Save and validate open rule documents in that project. Configuration opens Workspace settings by default.
- Optionally connect to an Intelligent Advisor Hub, browse accessible workspaces and deployments, and upload a freshly built or existing project snapshot as a new inactive or explicitly active version.
- From the consuming project, run RulesCraft: Import Project as Inclusion and select the source
.xprj. RulesCraft compiles its snapshot automatically: no ZIP preparation, Hub URL or version prompts. Local imports use https://sagasys.invalid/opa-hub, a deliberately non-real placeholder; no Hub is contacted. The first import is version 1. To refresh it, open the previously exported consuming copy and import the same source project again: that inclusion's version increments by 1, even if its source is unchanged. There is no global counter, and preview/cancellation does not change any saved version. Review the changes and confirm export to a new folder outside existing OPM projects. Both originals stay untouched. Supports one non-nested inclusion with matching language/region; unrelated existing inclusions, Hub-managed replacements and local modifications/conflicts are refused. In-place updates/removal and Hub downloads remain unsupported. Test affected cases on the exported copy before use.
Requirements
- Windows with VS Code 1.85 or later.
- A local Oracle Policy Modeling installation; development/testing used 26B.
- A local OPM project with an
.xprj file and rule documents.
Microsoft Word and Excel are not required for the implemented editing/build workflow. Oracle software and private policy documents are not included.
Companion workbook analysis API
The extension's existing API v1 additionally exposes workbookAnalysis: { apiVersion: 1, analyze(bytes: Uint8Array) }. It returns { sourceHash, sheets }: the SHA-256 of exactly those bytes and worksheets containing one-based cell coordinates, text, named styles, optional formulas/date flags, merged ranges, and blocks with inclusive firstRow, lastRow, firstColumn, lastColumn bounds.
Blocks are inferred from contiguous OPM condition/conclusion heading styles and following OPM condition/conclusion/else rows, independently within each column region. They are hints, not compiler-validated rule ranges or proof of equivalent behavior. The API reads no project, editor state, or .xgen cache, does not compile or write files, and throws on unreadable workbooks. A companion such as XLSX Compare can analyze both historical buffers without confusing them with current project compilation results. Canonical compiler-resolved attribute identities are not exposed by this API.
Optional Hub deployment (experimental)
Nothing contacts a Hub on startup or after a build. In a trusted workspace:
The active and inactive deployment buttons build a fresh snapshot. These buttons and their Command Palette equivalents compile your saved project with Oracle in a new disposable copy before uploading. Existing output ZIPs and build caches are never reused. Unsaved edits, build failures or source changes detected before upload block deployment; save and retry. There is no need to run Build OPM first. To upload an already-built snapshot without recompiling, use the separate Deploy existing snapshot... action.
The .xprj dashboard's Overview has an optional Deploy to Intelligent Advisor card with Manage connections, Test connection, Deploy inactive version..., Deploy active version..., Deploy existing snapshot..., and Reconcile upload. The fresh-build actions always build the project displayed on that page, not another selected project. The same actions remain available in the Command Palette.
On wide windows, the deployment card sits beside Data model across the remaining two columns; on narrower windows it moves below at full width. The card offers Upload for review (inactive) and Deploy and activate, with a short explanation of each. Manage connections is always visible; expand Test and recover for the other tools and an explanation of reconciliation.
New-deployment creation is deferred until Oracle's project-default behavior is verified. Workspace selection belongs to that future creation flow, not to adding versions to existing deployments. No guessed compatibility mode or enabled-service setting is sent.
- Run RulesCraft: Manage Hub Connections to add named profiles (for example Development, Test and Production) using their HTTPS Hub addresses. Profiles are kept in VS Code's local extension state, not project settings.
- Use Set credentials there, or enter them when testing the connection. Both the API client ID and secret use masked VS Code prompts. Choose Session only (lost on extension/window reload) or explicitly Remember credentials in VS Code SecretStorage. Forget credentials removes both saved and session credentials. Editing a target address forgets its old credentials.
- Use RulesCraft: Test Hub Connection or RulesCraft: List Hub Deployments to test access or browse existing deployments and their workspaces. Choosing a connection starts the requested Hub operation without an extra connection popup. Authentication success alone does not establish deployment permissions.
- Save your project editors and run RulesCraft: Deploy Inactive Hub Version. Choose a connection, type the exact existing deployment name, then enter a version description. After a successful deployment, the name is remembered for that VS Code workspace and connection and prefilled next time; accept or edit it. There is no workspace picker: the existing deployment keeps its workspace and configuration. The description prompt shows the Hub, deployment, workspace and requested effect. Pressing Enter on the description builds and uploads the project snapshot, with no final confirmation popup. Escape cancels before building. The description includes a unique RulesCraft correlation tag.
- The completion notification reports the new version and INACTIVE status, with Open Hub. Alternatively, RulesCraft: Deploy Active Hub Version (or Deploy active version... on the project page) creates and activates the new version in the same request. Its description prompt says This replaces the live version; submitting it starts deployment without another confirmation. There is no automatic rollback: cancellation or a lost response does not undo activation. The inactive action never requests activation. There is no automatic deployment, standalone activation of an older version, deployment creation/deletion, or other Hub administration.
Deploy an existing snapshot (0.1.163). Choose Deploy existing snapshot... on the dashboard or RulesCraft: Deploy Existing Snapshot in the Command Palette. Select a local OPM deployment snapshot ZIP, choose Inactive or Active, then select the Hub, enter the existing deployment name and submit a version description. The description shows the selected file and live-version effect. This uploads the selected snapshot unchanged, without Oracle compilation or including current editor changes; no open project is required, and the snapshot may belong to another project. Its embedded compiled rulebase, OPM version and size limits are checked before upload. Ordinary runtime/output ZIPs are refused. The existing active/inactive actions still always rebuild.
The ordinary output\<project>.zip is NOT the deployment artifact. Oracle's OPMBuild -snapshot produces a different ZIP, containing project source, rule documents, assets, compiled rules and any bundled project data. Review your project before approving upload; snapshot packaging is not a secrets scanner. Deployment builds do not write to your project, its output folder or caches.
This first version supports Hub-managed / locally managed OAuth API clients, not ordinary Hub logins or OCI identity-domain-managed clients. The client needs Manager permission for the chosen collection (called Deploy Admin in the REST workspace role schema). Locally managed clients may also be used on an OCI-backed Hub. Only advertised API 12.2.43 is currently supported. The compiled artifact and Hub must report full four-part numeric versions in the same major/minor family (for example 12.2). Older OPM releases may deploy to a newer Hub; a compiler newer than the Hub is refused. Oracle determines final snapshot compatibility. Unknown versions, other project kinds and connected data-source deployments are refused. This is a conservative version gate, not a guarantee of Hub acceptance.
HTTPS certificate validation stays enabled; redirects are refused. Tokens remain in the extension host's memory and are discarded after the command. No credential, token or HTTP operation is exposed to webviews or companion extensions. Direct HTTPS is used; VS Code-specific proxy settings are not applied.
If an upload is interrupted, do not immediately retry. RulesCraft never retries the upload POST. An active deployment may already have changed live behavior. It first tries read-only reconciliation using the unique description tag and prior version numbers. An unresolved intent remains in local extension storage across reloads, blocks another upload through that profile (including other VS Code windows), and prevents editing/removing its target. Run RulesCraft: Reconcile Hub Upload. If no single matching version with the requested active/inactive status is found, the profile stays blocked; clear the local record only after independently checking the outcome in Hub and waiting for any in-flight request. Clearing the record does not retry, activate or delete anything in Hub.
Deployments without an active/latest version can be listed with null version fields. Unsupported object shapes identify the affected field without exposing server response contents.
Verification: HTTP/authentication, UI confirmations and recovery have automated mocked tests. Oracle 26B's installed example has been compiled locally to verify snapshot structure and embedded runtime identity. A user-approved, unauthenticated Hub discovery request verified the advertised API-version format. The user reported a successful deployment with 0.1.96; this is not comprehensive live coverage of other environments or recovery paths.
Install and get started
Session input JSON pickers remember the most recently selected folder for this workspace, including when loading another input in an open session. Only the folder path is saved, not the JSON contents; cancelling keeps the previous folder.
When a trusted workspace starts with no editor tabs open, RulesCraft opens the selected project's dashboard (or the only detected project). Existing/restored tabs are left alone. This happens only at startup, not when you close the last tab later; multiple unselected projects are never guessed between.
- In VS Code, open Extensions, select ... > Install from VSIX..., and choose the supplied RulesCraft VSIX. Reload VS Code if prompted.
- Open the folder containing a copy of your OPM project. Trust the workspace only if you trust its contents.
- When the folder has an OPM project (
.xprj) at its root or one folder down, RulesCraft asks once whether to use it (or which one, if there are several) for builds, the data model and new rule documents. Don't Ask Again applies to this workspace only. The choice is remembered by VS Code for this workspace; nothing is written into the project. The status bar shows the project in use (with a warning if it was moved or renamed); select it to change the project, open the project dashboard, run the setup check, or ask about projects again. RulesCraft: Select OPM Project lists the projects found, can search all subfolders, and can browse for one. A project set by hand in Workspace settings (opaCraft.projectFile) always wins. Rule documents use the project in their own folder (or the nearest parent folder) first.
RulesCraft: Run Setup Check (also on the status bar menu and the dashboard's Settings tab) checks the project, Oracle Policy Modeling's OPMBuild.exe and its version (any version), the Oracle libraries beside it, Java for the session inspector, and the Word template. Each result has a fix: choose a project, locate OPMBuild.exe (or use another installed version that was found), or locate java.exe. Oracle and Java locations are saved to your User settings, because they belong to the machine.
Open its .xprj file to show the dashboard. The Overview groups the workflow into Check your edits, Build saved rules, and Explore a decision, with Open data model beside them. The Search tab finds text anywhere in the project's Word and Excel rule documents, which VS Code's own search can't read: paragraphs in every style (comments and headings too), tables, Word comments, headers, footers, notes and text boxes, cell values, formulas, cell comments and sheet names. It searches as you type, with Match case, Whole word and Regular expression; curly and straight quotes match each other. Results are grouped by document with their paragraph (¶) or cell; select one to open the document at that paragraph or cell (a comment opens at the paragraph it is on; header, footer, note and text box text opens the document). It reads the saved files and says which open documents have unsaved edits it couldn't see. Under Settings > Configure workspace, check Oracle Build Path points to your installed OPMBuild.exe. The default is C:\Program Files (x86)\Oracle\Policy Modeling\26B\bin\OPMBuild.exe.
- Open a DOCX or XLSX rule file. If necessary, use Reopen Editor With... > WordCraft / GridCraft. WordCraft and GridCraft open only for editing a local file: a comparison (Git changes, pull requests, Compare Selected) or a version from history shows a short note instead.
- Save your edits, validate the document, or use the dashboard's Save all and validate action. Build OPM compiles saved files in a disposable copy and, when the build succeeds, saves the compiled rulebase to the project's
output folder (output\<project>.zip, replacing the previous one) so it is ready for the session inspector. Turn off opaCraft.saveBuildOutput to build without saving the ZIP. Like compiling in Oracle Policy Modeling, validating a saved document refreshes its rule cache in bin, and Build OPM refreshes the caches of every document it compiled (even if other documents failed). Usage searches and the Proving rule panel read these caches. Validating unsaved edits writes the cache for those edits; after you save, the Proving rule panel notes the document is newer than its cache until you validate or build again.
- Check attribute links. When a document validates without errors, RulesCraft also checks every attribute it uses. An attribute that no rule proves and that has no public name can never get a value, which is almost always a typo in the rule text or a missing public name. The chip beside Validate Document shows ✓ All linked or ▲ N unlinked, and each use gets a warning card beside its paragraph saying whether the attribute is missing from the data model or declared there without a public name, and whether other documents use it. The text the rule wrote is highlighted in the card. When a linked attribute of the same entity has almost the same text (a few characters apart, as with "property begin date" and "property's begin date"), the card shows it as a suggestion with a Copy button; RulesCraft never changes the rule text. Click a card to go to its paragraph, press F8 / Shift+F8 for the next or previous one, or use Find usage, Data model (selects the attribute in the data model editor, opening it if needed) and Copy. Not a bug stops reporting an attribute in this project (stored in VS Code, not in the project); the rail's N dismissed list has Restore. Each use is also listed as a warning in the Problems panel until the next validation or until you close the document; select its
unlinked-attribute code to go to the card. Show all links (or the chip when everything is linked) lists every attribute the document uses, grouped by how it gets a value: unlinked, proven in other documents (named), base-level inputs (public name), entity identifiers, or proven in this document. Select one to go to its first use. Unlinked attributes are warnings: the document still validates and saves. The check reads the other documents' rule caches in bin, so when another document has been saved since it was last compiled, findings are held back (– Links not checked, with the documents named in its tooltip) until you validate those documents or build the project. It does not run while the document has compile errors. Save all and validate on the project page counts documents with unlinked attributes. In GridCraft, a clean validation lists unlinked attributes after any errors as ▲ Unlinked entries with their cell (select one to go to it; suggestions are in its tooltip). Oracle reads unquoted text in a cell as an attribute, so a value typed without quotes (abc for the text "abc") compiles without an error but is always unknown; the entry says so and shows the quoted form, the status line says how the link check went, and the Problems panel lists them too. Attributes dismissed as Not a bug in WordCraft are not reported in workbooks either.
The Command Palette also provides RulesCraft: Select OPM Project, Open Rule Document in VS Code, Add New Rule Document, Open Data Model, and Build Policy Model.
OPA session debugger
Install Java 8 or later (a JRE is enough). If java is not on PATH, set opaCraft.javaPath to its executable in Workspace settings. Oracle engine JARs are loaded from the folder containing your configured Oracle Build Path; Oracle software is never bundled.
Press Ctrl+F1 in the project dashboard, WordCraft or GridCraft to open the session inspector. Alternatively, choose Open session inspector on the dashboard or RulesCraft: Debug OPA Session from the Command Palette. It uses the project's output\<project>.zip without asking; build first if it is missing. To select a different compiled ZIP, use the quieter Debug with another ZIP... dashboard link or RulesCraft: Debug with Another ZIP command. With no selected project, the normal command still asks for a ZIP.
Choose Load input JSON or Empty session after selecting the compiled rulebase. An empty session starts with one case and unknown input attributes, without needing a JSON file; rules still infer whatever they can. For a JSON file with several cases, choose the case. The session opens in a new editor tab and runs straight away. Change input… switches to another file; Empty session replaces the current inputs after confirmation if there are edits or overrides. Inputs use Oracle's batch format: an object containing cases and optionally outcomes, including nested entities, @id references, and temporal value/date objects. Oracle parses and maps the inputs.
Case labels include their @id. Select another case and Run case to switch; subsequent runs use Re-run case.
Manual inputs and instances. Use Session ▾ → Review or edit input JSON to enter input attributes, then re-run. Right-click a forward containment relationship in the explorer or Relationships panel and choose Add instance...; its entity and parent are already selected, so you only enter a unique instance ID. Right-click a supplied instance and choose Add child instance... to choose a child entity type, or Delete instance... to remove that instance and its supplied descendants. Shift+F10 or the keyboard's context-menu key opens the same menus. Add parents before children; new attributes start unknown. Global and engine-inferred instances cannot be deleted or manually created, and unavailable actions explain why. Deletion refuses dangling non-containment references: remove those references from the input JSON and re-run first. Instance editing requires exact @id mappings and an up-to-date run; unsupported or ambiguous input structures show a reason instead of guessing. Changing instances re-runs the case and clears temporary overrides after confirmation. All edits stay in memory. Export input JSON explicitly saves the whole input batch, including manual instances and JSON edits, to a .json file outside the source OPM project; temporary value overrides are not included. Original files are never automatically overwritten.
Several sessions at once. Run Debug OPA Session again to open another session in its own tab, each with its own Oracle session. A session's tab is named after its input file (without .json) and, for a file with several cases, the case's @id (or Case N): for example claims_jan · A-1. A second session on the same input and case is called claims_jan · A-1 (2), keeping its number while it is open. Tabs a session opens end with its name, such as Why: the person is eligible · claims_jan · A-1, and are renamed when the session moves to another input or case; a decision report's context line starts with its session too. Each session also has its own colour, one of eight (no red): its tab icon is a filled square in that colour, the tabs it opens (decision reports, rule loops, cached usages) have outlined icons in the same colour, and its pages have a stripe across the top and a chip with the session's name. A ninth session reuses the least used colour with a hollow icon. The name always identifies the session; the colour only makes it quicker to spot. All of these tabs open in the current editor group instead of splitting the editor. To open one beside the session instead, choose Explain value to the Side (or Explain relationship to the Side) from the row menu, or press Ctrl+Enter or Alt+click on Explain value, Explain relationship, Find attribute usage or Go to data model; you can also drag a tab to another group.
Once inputs are loaded, a single slim row heads the tab and stays there while you scroll: the Model / Changes / Rule activity / Loops views, a status pill, an overrides count when you have overrides, Re-run case (or Ctrl+Shift+Enter; Cancel while running) and Session ▾. The pill shows the last run's result ("Run 3 · 25 ms", or "Error: 2 rule errors" in words), and a newer message for a few seconds; errors stay until the next run. Only notices that need you, such as rules changed since the build (Rebuild & re-run) or a rule loop that didn't settle, appear under the row. Session ▾ (or clicking the pill or the overrides count) opens the Session drawer with everything else: the input file, Change input… and the case; the compiled rulebase; the loop guard; the run summary (model totals, the full status line and run diagnostics); overrides and Reset all overrides & re-run; the input JSON editor; and Messages, the session's last 30 messages with their times. Esc closes the drawer. A run never opens it. Each session runs its own Java process, so many open sessions use more memory, and only one Rebuild & re-run can build a project at a time.
Navigate the Entity explorer: it shows only containment relationships (each entity instance under the instance that contains it), so it is a finite tree. Each instance's containment relationships are indented beneath it along a guide line, which is emphasised for the selected instance. Every instance starts collapsed, with its relationship and related-instance counts as a summary. Expand all and Collapse all above the search change the whole explorer (not while a search is showing its matches); use the chevron beside an instance (or Left/Right on the focused instance) to expand or collapse all of its relationships. Going to an instance (Back / Forward, a relationship target, a search result) expands just the path to it. A re-run of the same case keeps what you expanded; a new input or case starts collapsed again. Click an instance to see its attributes; its inferred and other non-containment relationships are listed under Relationships below the attributes, with clickable targets. Relationships that Oracle uses to create inferred entity instances are marked and listed first: Inferred from on the inferred entity (for example a budget's person, CE benefit, other program assistance, or LTC detail) and Creates instances on the creating entity (for example the person's budgets). Instance labels use Oracle's identifying (debug-name) attribute when available, otherwise the instance ID. Find an instance searches names, relationships, attributes, and values across the model; Filter this instance and Show independently filter the selected instance's attributes, and the filter also narrows its Relationships (by relationship text or a target's name). Every search and filter in the inspector and decision reports matches each word you type, in any order and ignoring case and apostrophes: "expected code" finds "the budget's expected role code". Back / Forward, relationship targets, and parent links help you retrace your exploration and reveal the instance in the explorer; entity types with no instances appear in a collapsed group. Drag the divider beside the explorer (or focus it and use the arrow keys) to resize it; double-click it to reset the width, which is remembered for future sessions. Find attribute usage on a containment relationship only reads the rule documents that actually reference it, so even widely used relationships return quickly. For an inferred entity, the results also include, as PROOF usages, the rules that create its instances through each Inferred from relationship (for example "the program's budget … exists if"), labelled Creates instances through …. Entities that rules create come first, marked Inferred, then everything else, each in alphabetical order. The searches and the Show filter stay as you move between instances, with a Filtered: N of M attributes line and Clear search and filter; ‹ › beside the instance steps through the same entity, so a kept search compares a value across instances. They clear for a new case or input file.
Attribute labels include data-type icons (Boolean, Text, Number, Currency, Date, Datetime, and Time of day), with type names available on hover and to screen readers. Relationship groups start collapsed and show Input, Inferred, or Unset badges in both the navigator and relationship details; unknown targets remain separately identified. Search expands matching paths, and manual expansions persist while exploring the current run. Double-click a row, or focus it and press Enter, for its full value. Temporal values show their map rather than a count or a sampled value: the value cell reads like "Beginning: No → 2026-01-01: Yes → End of time: No" (long series show the first two points, the last point and the total), and details show a From / Until / Value table in which each value applies from its From date up to, but not including, Until. Dates are ISO; Oracle's far-future 9999 dates read End of time. Series of more than 25 points show the first 8 and last 5 rows with Show omitted points controls (50 at a time), and Value on date answers what applied on any date. Attribute filtering also matches timeline dates and values. Row actions live in a menu: right-click a row, press Shift+F10 or the context-menu key, or use the ⋯ button in the State column. The menu offers Details, Explain value, Override value..., Clear override (when overridden), Edit input JSON... (for inputs), and Find attribute usage. Relationships marked Inferred also offer Explain relationship, in their right-click menu and their Relationships section; it opens a decision report tab explaining why Oracle inferred the relationship's targets, which refreshes with overrides and re-runs like attribute reports. Input and unset relationships have no rule to explain. Up/Down moves between rows. The attribute inspector stays beside the table on wide screens and becomes a dismissible floating panel in narrower editors. Escape or Close returns focus to the attribute.
Right-click an attribute or relationship and choose Go to data model to open the project's data model editor with it selected, for example to give it a public name or change how an attribute's text is parsed. RulesCraft finds the project beside the rulebase's output folder (or uses the one chosen for Find attribute usage), and matches by entity and text (a relationship also by its reverse text, its public name, or, for a direction with neither, its data model ID); if the data model doesn't have exactly one match, it says so instead of guessing. Right-click an attribute or relationship and choose Find attribute usage to search its source rule documents using the existing usage previews. Keyboard users can use Shift+F10 or the context-menu key; details and relationship sections also offer a usage button. Select the matching source project when prompted. Its saved OPM cache must match the compiled rulebase. Usages open in their own tab in the same editor group; the session inspector stays usable while that tab is open. In the usage tab, Open rule above the preview (like the decision report's proving-rule panel) opens the selected usage's source document at that rule; double-clicking a usage or pressing Enter does the same. Attributes and relationships referenced by the previewed rule are dotted-underlined: click one (or focus it and press Enter) for Find usages of ..., which replaces the tab's list in place with a breadcrumb trail and Back (Alt+Left), and, for attributes, Why? Decision report. Why? Decision report in the tab header explains the attribute being browsed. Reports are generated from this inspector's current run, inputs, and overrides; if several instances have the attribute, choose one. Run the case first; a report cannot start while the inspector is busy. Drilling is also available from usage tabs opened in WordCraft and GridCraft, without the Why action.
Copy an attribute's or relationship's text to use it in a rule document: press Ctrl+C on its row (in the attribute table, relationships, Changes, Rule activity or a decision report line), or choose Copy attribute text / Copy relationship text from its menu. The attribute inspector, a decision report's value popover and the usage view's title also have a Copy button. RulesCraft copies Oracle's base sentence (for example "the person's age"), never the line with its values, and confirms in the status bar once the text is on the clipboard. Where Oracle doesn't supply that sentence the copy action is unavailable rather than copying an internal ID. For an attribute that isn't true/false, the row menu also has Copy value, which copies its value as the table shows it (for example 1234.5 or a code); for an unknown, uncertain or changing (temporal) value it is unavailable, and its tooltip says why.
Quick temporary overrides: right-click an input or inferred attribute and choose Set true, Set false (single-valued Booleans), or Set unknown to immediately re-run inference in the live Oracle session, without opening details, reloading the JSON or recreating inferred instances. Override value... opens a small editor beside the value, with its typed field already focused; Booleans use radio buttons, not a dropdown. Press Enter to apply a scalar value or Escape to cancel. Expand Advanced: unknown, uncertain or temporal for special states and temporal change points. Active overrides are marked; Clear override, Remove this override & re-run, or Reset all overrides & re-run restores original assignments and normal inference. Unknown clears an assigned value, so Oracle may infer it again; overrides Oracle cannot retain fail explicitly and roll back without replacing the previous results. Overrides survive same-case re-runs and Rebuild & re-run (step 11) but clear when inputs or the selected case change, or when you run after the compiled rulebase changed outside the inspector. Overrides never update the source JSON, and even explicit input export excludes them. No rule document is rewritten.
Each Explain value (or Why? from a usage tab) opens an independent VS Code editor tab, titled Why: ... · , next to the session inspector in the same editor group. Keep multiple reports open, drag tabs between editor groups for side-by-side comparison, and navigate other instances without replacing them. Return to session inspector takes you back to the model. Applying or removing overrides, resetting all overrides, re-running edited inputs or another case, and Rebuild & re-run mark open reports Out of date: old content is hidden behind a banner. An override made within a report automatically refreshes that report; other tabs remain snapshots until you choose Update report. Updating explains the same attribute or relationship of the same instance in the current run, with its evidence values, temporal timelines, search indexes, run context, override count and proving rules. Each report follows its original attribute and exact engine instance identity, not an instance's list position or debug name; after new inputs or another case it updates only when an instance with the same identity exists. The selected view, search text, display toggles and your place in the report are kept. If the instance is no longer in the run or the report can't be generated, the tab says why and stays out of date. Closing a pending report cancels its generation; completed tabs remain readable after the inspector closes (they can no longer be updated) and are discarded when closed or VS Code reloads.
Every new decision report starts in Outline, regardless of the previous view. Switch between Focus / Outline / Facts / Rule logic while reading; your current place carries over between the report-text views. Focus shows one conclusion with its numbered Because reasons: click a reason (or Enter/Right) to drill in, and use the path, Back, or Alt+Left to return; "Shown elsewhere" reasons jump to their explanation. Outline is a compact keyboard tree (arrow keys, Home/End, Expand all/Collapse all) that highlights the path to the selected line. Facts lists each distinct fact at the ends of the explanation once, with how often it appears; open one to see which conclusions it supports and Show in Focus. Rule logic shows the compiled candidate structure and loads further proving rules on demand through Explore proving rules. Find in report highlights matches in Focus, Outline and Facts and steps through them with Enter/Shift+Enter; it also matches the dates and values of temporal timelines. Oracle appends a temporal value's whole map to report sentences (for example "...({No, Yes from 01/01/2026, No from 01/01/9999})"); RulesCraft moves it out of the sentence (long inline maps become "{timeline, N points}") into a muted summary after the line and a Value over time section (in Focus with the conclusion, in Outline and Facts above the proving rule) holding the same table and date lookup as the inspector. When Oracle reports the line for a date range, the summary describes that range ("Relevant 2026-01-01–2026-01-31: Yes · timeline, 3 points") and the matching rows are tagged Relevant and never collapsed. Oracle substitutes each entity instance's identifying value (its debug name) into report text, for example "Waiver Care Facility#LTC:48563's benefit month is ..."; turn off Instance names in the toolbar to read the generic rule wording instead ("The budget's benefit month is ..."). Values stay as calculated, the switch is instant (no re-run), search follows the wording on screen, and the choice is remembered for new reports. The Proving rule panel shows the rule that concludes the selected attribute or relationship, laid out like its source document (Excel rule tables are drawn as the workbook displays each cell: its font, OPM style fill colour, alignment and wrapping, read from the saved workbook, falling back to the cell's named OPM style): in Focus it sits below the conclusion; in Outline and Facts it sits beside the list (above it in narrow tabs). It reads only the documents the compiled rulebase lists as concluding that item, so it usually appears in about a second without a full usage search. Like usage previews, it shows the whole rule, including or/both/any/either connector lines and commented-out lines; lines that Oracle's compilation cache leaves out are restored from the saved document when its rule text still matches. Full view lets a large rule fill the report tab without a height limit (Escape or Exit full view returns to the report). Open rule opens the source document at that rule, a notice warns when the document was saved after its rule cache was last refreshed, and Hide/Show collapses the panel. With Evidence values on (the default, remembered for new reports), each phrase in the proving rule that names an attribute or relationship from this explanation gets a value chip, such as true or $1,200.00; when several instances contribute (for example inside a function over incomes), the chip summarizes them ("3 values ▾") and opens a list of each instance's value (keyboard: Enter, arrow keys, Escape), and choosing a row jumps to that fact in the report. Values come from the decision report, not from re-evaluating the rule. When an item has several concluding rules, the one whose phrases match the most report evidence is listed first and marked Best evidence match; this is a ranking, not a claim about which rule fired, and the other rules are collapsed behind Show rule. Temporal evidence never collapses to one sampled value: the chip shows the series ("No → Yes · 2 points ▾") or its size ("Timeline · 25 points ▾") and opens the value's timeline, and when several instances contribute ("3 timelines ▾") it lists them first so you can open each one. When the rule tests a true/false phrase directly as a condition, its chip also shows whether the value meets that condition: the value is green when it does and red when it doesn't, on a white chip that stays readable over OPM level shading (hover for "Meets/Fails the condition"). This follows the rule's compiled logic, so a negative check such as "the person is not a resident" is met by false. Phrases inside comparisons or functions, conclusions, unknown or temporal values, and phrases where instances disagree are not colored; for several instances, the value list marks each instance individually. Turn Evidence values off to read the plain rule. Inputs and other unconcluded items say so instead. Rule text comes from the project's OPM rule caches (bin\<path under Rules>.xgen). Validating a saved document rewrites its cache, and Build OPM (including Rebuild & re-run) rewrites the caches of every document it compiles, just as compiling in Policy Modeling does; open reports then read their proving rules again. The source project is the inspector's usage project, or the single .xprj beside the rulebase's output folder; otherwise choose it once with Choose source project.... When the entity has several instances, ‹ › and the instance list at the top of a report switch it to another instance in the same tab, keeping your view and place (Alt+Up, Alt+Down, Alt+I). The list says where the value ≠ differs or = same value; Ctrl+click opens an instance beside the report.
Right-clicking a decision-report line (or pressing Shift+F10) opens its actions menu. Attribute lines with an exact current instance identity offer the same quick override actions and typed editor inside the report, without switching to the inspector. Applying or clearing an override recalculates the live session and automatically updates this report's conclusion and evidence; overridden lines carry an Override badge. Other reports remain out-of-date snapshots. Failed edits show their error in the report, retain the draft for correction, and never write the source JSON. Relationships can't be overridden from a report. Overrides are disabled on out-of-date reports until you update them, while Find attribute usage remains available when the inspector is open and idle.
Go to instance answers "which entity is this rule talking about?". A report line about a specific instance offers Go to instance: first in its menu: the session inspector comes forward on the Model view with that instance selected in the explorer and, for an attribute line, its attribute row focused. Relationship lines also offer Go to related: for each target instance (up to seven, then Go to related: all N... opens the full list). In the value lists of a proving rule's evidence (for example "1 true · 1 false" or "3 instances"), each instance row has a Go to button, and a single instance's timeline offers Go to instance. Navigation uses Oracle's exact engine instance names, never list positions or display names; lines without an exact identity offer no go-to, and out-of-date reports must be updated first. If the instance is no longer in the current run, the tab says so.
Review or edit input JSON, or Edit input JSON in an input attribute's details, also supports what-if changes. Loaded JSON is pretty-printed with two-space indentation for readability; it is not reformatted while you type. Editing inputs hides outdated model results until re-run; malformed inputs disable Run and show an error. Replacing edited session inputs or active overrides requires confirmation. Edits remain in memory and never overwrite the original JSON. Use Cancel to stop a run/report/usage search; errors remain visible.
The inspector's guarded input-update API also recalculates in memory without saving the original JSON. It refuses pending manual edits, stale state or a busy session rather than replacing work in progress. Clear temporary overrides before using this input-update path.
Re-run after rule changes. When a rule document in this session's source project validates without errors, the inspector shows a banner naming the changed documents and offering Rebuild & re-run; validation itself never builds or re-runs anything. Accepting saves unsaved project documents (after confirmation; Rebuild Saved Files skips saving), builds the project with OPMBuild into output\<project>.zip, switches the inspector to that rulebase if you had picked another ZIP, and re-thinks the same inputs, case, and overrides in a fresh live session. Open decision reports are marked out of date, as after an override; Update report regenerates them with the new rules. If you run Build OPM yourself, sessions using that project or ZIP offer Re-run with new rules without building again. A failed or cancelled build leaves the session and banner unchanged; validation errors withdraw a document from the banner; Dismiss clears it. Overrides on instances that no longer exist fail explicitly; reset them and re-run.
Report refresh after rebuild (0.1.164). Oracle can change or reuse internal attribute and entity IDs when compiling new rules. Update report resolves the original entity and attribute/relationship by exact wording (and attribute type) in the new build, retaining the exact engine instance name. A recycled ID cannot redirect the report to another attribute. Missing, ambiguous or type-changed targets remain out of date with an explicit reason; no fuzzy matching is used.
See what changed. After an override, a reset, a same-input re-run or Rebuild & re-run, the status line summarises the net effect (for example "Override applied · 152 values changed in 24 instances · 20 instances added, 4 removed") and View changes opens the Changes tab beside Model. Changes starts from the cause: the value you overrode or reset, or, for a rebuild, the documents rebuilt and each rule whose compiled logic differs from the previous build (by its conclusion and document). Below it, entity chips show where the changes landed and filter the list; changes are grouped by entity and instance, each showing its old → new value, with unknown values marked. Oracle recalculates and recreates inferred instances on every re-run, so RulesCraft compares the models before and after: values recomputed to the same result are not listed, and recreated instances are matched by their entity, identifying (debug-name) value and containing instance, with a ? marker where two instances share an identity. Instances that genuinely appeared or disappeared are listed separately. Group: Attribute lists each changed attribute or relationship once, with the instances it changed in, so a change repeated across many people or budgets reads as one pattern. Each row shows the item's type icon; relationships sit under their own heading and show their list size (none, unknown or a count) with the members added or removed. Compare with: Since initial run shows how far the session has moved from the case as first run. Press Enter on a change for its decision report, or use the row menu (right-click, Shift+F10 or ⋯) for Show in Model and Find attribute usage. In Model, changed values have a gutter and their previous value, Show: Changed in last run filters to them, and F7 / Shift+F7 step through the changes. Comparisons stay in memory and reset when inputs, case or rulebase change.
Rule activity. The Rule activity tab shows which rules did the work in the last think, by what they conclude: each row names the attribute or relationship, its entity and rule document, a bar, the time in milliseconds, its share of the think, and how many times it was evaluated across all instances. Rank by Time or Evaluations, filter by text, or switch to Not evaluated for rules this case never needed. Timings come from Oracle's own profiler for that think only and vary between runs, so compare rules relative to each other; after an override or rebuild the figures cover the re-think, which re-evaluates rules broadly while Changes shows the actual impact. Press Enter to open the concluding rule in its document, or use the row menu for Find attribute usage.
Rule loops. Oracle repeats the rules of a rule loop (rules that depend on each other in a circle) until a pass changes nothing. The Loops tab lists the rulebase's loops, with each one's size. Record runs the case again in a separate Oracle session, with the same inputs and overrides; your session is unchanged. Choose First N passes to watch a loop from its start, or Last N passes before the pass limit for a loop that never settles. Anything shortened to fit, such as an attribute name in the Map or a drop-down, shows in full when you hover over it.
Loop guard. A loop that never stabilises fails the run in OPM, can take long enough to time out, or can make OPM run out of memory. The Loop guard panel under Run case decides what happens instead. Its summary line always says what a run will do, for example Loop limit: 3,000 passes (Oracle's default) · fails like OPM · records the last 50; ◆ Guard on shows when you've changed it.
- Stop any rule loop after N passes. Oracle's default is 3,000. A lower limit stops a runaway loop sooner.
- When a loop reaches the limit: Fail the run, like OPM (the default: no results are shown), or Stop the loop and show partial results.
- Record the last N passes (50 by default) of a loop that reaches the limit, in the same run. Its banner then offers Open loop N straight away, with no second run to the limit.
- Make these the defaults for this project keeps the guard in VS Code (never in project files); the defaults come from the
opaCraft.loopGuard.* settings.
- A loop still running at 85% of the run's time limit (
opaCraft.buildTimeoutMs) is stopped too, so the session isn't closed.
When a loop fails the run, the banner names it and offers Open loop N, Show partial results anyway (one run that keeps partial results) and Dismiss. After a runaway, the next run of the same build suggests Turn on loop guard (300 passes); it is never turned on without you.
Partial results are always marked, never only by colour:
- A ⏸ Partial results pill (dashed) names the stopped loop and its pass.
- Values the stopped loop concludes are tagged ⏸ Not final: they are where it stopped, not results.
- Values the rules could derive from them are tagged ◌ May be affected. RulesCraft works this out from the rules, not from the run, so it can mark values that weren't actually affected. When it can't tell (the loop creates instances or concludes relationships), every inferred value is marked.
- The same tags appear in Changes and decision reports; reports from a partial run say so at the top; Show > Not final / may be affected lists them.
If the run takes too long or Oracle runs out of memory, RulesCraft closes the Oracle session but keeps your inputs and overrides, and re-applies them on the next run. The banner offers Run with a loop guard of 300 passes, and Change the time limit… or Change the memory limit…. The memory limit is opaCraft.sessionMaxHeapMb (empty means Java's default, a quarter of the computer's memory).
Open loop opens the loop in its own editor tab:
- The header says whether it stabilised (and after how many passes), didn't stabilise (Oracle stopped it at its limit), or was still changing when the recording stopped.
- The stepper moves through the recorded passes: ◀ ▶, the pass number, or the strip of bars, one per pass, with its height showing how many values changed. ◆ marks where values start repeating, ✕ Oracle's stop and ✓ the pass that changed nothing.
- Values lists every value that changed in the loop, with its status (↻ ×2 from pass 48 for a value that repeats every 2 passes, Unsettled, or Settled @ 6), its value when recording started, the passes around the current one, and its final value. Changed values are marked Δ, and unchanged ones show ″. Drag a column's right edge to make it wider or narrower (arrow keys work too; double-click resets). The pass columns share one width, and the widths are kept for every loop.
- Rules lists the loop's rules in Oracle's order, with what each changed in the pass, Open rule and Find usage. Values and Rules can both show Only this round trip. The Values tab's Changed this iteration and Repeating & unsettled filters show what changed in a pass and what repeats.
- Why (Enter on a value or a change) shows what Oracle recorded as the reasons for a change, with the values as Oracle saw them in that pass. Focus lists the reasons one per line: a reason that changed in the loop opens its own Why, and the trail of reasons you followed stays at the top. Outline shows Oracle's whole tree, where ↶ from pass N and ↶ set earlier in this pass follow a reason to where it was set. Follow back follows the reason that changed in the loop, step by step, until it reaches a value set before the recording, a value from outside the loop, or the same value again (the cycle). When two reasons changed, it stops and asks which to follow. Back and Forward (Alt+Left, Alt+Right) retrace your steps. The Why pane also offers Open rule, Show in Model, Explain value for the live run, Find attribute usage, Watch and Hold…. Under them, Values by pass shows every instance of the attribute at the start, in the passes around the current one and at the end; choose an instance or a pass number to move there, or click a value for both.
- Run to jumps to the next pass that meets up to 3 conditions, such as "the count becomes 0", "the pass changes fewer than 10 values" or "this feedback link changes". Matches are marked under the strip.
- Watch (W) pins up to 6 values as lanes under the stepper, lined up with the strip pass for pass: a line for numbers, filled or outlined blocks for true or false, and a mark at each change for other values. ▷ Play (P) steps through the passes at the speed beside it, from 1 pass every 10 seconds to 25 a second (remembered), and stops at the end, at a Run-to match, or when a watched value marked ◉ changes.
- The loop tab opens on the Map. It starts with what the loop did and which fed-back values changed last, then lists every fed-back value with its links (▸ or the right arrow key opens them). ● means the value changed in the current pass, ○ that it didn't, and ◌ that the recording has nothing on it. Selecting a value, link or rule shows it in the Focus strip and carries across the tabs. M goes to the Map and keeps the focus; Esc clears it. The Focus strip and each round-trip step show the values in the current pass, before → after where they changed. Drag the dividers to resize the summary, the list, the diagram and the Map (arrow keys work too; double-click resets). Selecting an attribute anywhere in the tab, including a Map step or diagram box, opens its Why. To debug a value at one pass, select it and step through the passes, or use the pass numbers at the top of Why: the panel follows. Show in Model and Explain value (final) leave the loop for the session.
- The Map's list is wiring: every row is a connection, whether or not it was active. Rows are grouped by what each did in this recording: ≈ In the repeating cycle or ≈ Last to settle, Downstream, Fed in once, Start-up only, Steady input, Changed, no effect, Never changed and Can't tell (a relationship Oracle kept no record of). Relationships count like any value: Oracle records when they change, but not why, so Why points to the rule. ≈ means inferred from the recording: only Hold… shows what drives a loop.
- Whole loop draws every rule up to 24 rules. On a larger loop it lists the links between entities, those with changes first; select one to filter the wiring list to it (Esc or × Clear filter clears it).
- Map shows the loop's rules in Oracle's order. A link above the line means a rule reads what an earlier rule concluded. A dashed feedback link below the line means a rule uses a value that a later rule (or itself) concludes: these are why Oracle runs the loop again. Links whose value changed in the current pass are drawn thicker and labelled. Small loops are drawn whole. Larger ones show the cycles through the selected value, up to 5 (one per back edge, ◀ ▶ to step through them), or the cycle round the selected back edge; the chain from Follow back is marked on it. Keeping the loop going lists the back edges that carried changes into the last passes, and the full list can be searched and sorted.
- Hold… (H) is an experiment. It records the case again, in a separate Oracle session, with one or more values held fixed from the start: at their value in a pass, at another recorded value, or at a value you type. The result says whether the loop then settled, and RulesCraft compares it with the original. A value of an instance the rules create can only be set once it exists, so Oracle runs the case, sets it, and runs it again; the result says so. Instances the rules create are found by their identifying value, and RulesCraft refuses to hold or compare a value when two instances share it. Experiments keeps the last 8, with Run again, Edit and run…, Pin and Override in session…, which opens the inspector's override editor without applying anything.
- Compare (C) shows another recording of the loop beside this one: an experiment, another run of the loop in this recording, or the recording made before the last re-record. B's changes hang below the strip, each pass cell shows B's value underneath (= or ≠), and a Compare column says when each value first differed.
- Explain iterations (rule loop N), in the menus of the inspector's values, its Changes list, its Rule activity rows and decision report lines, opens the loop that concludes a value, on that value. Those values are tagged ↻ loop N once RulesCraft has read the rulebase's loops (after each run). If the loops aren't recorded yet, it records the first 50 passes first.
Keyboard:
- ] and [ move to the next or previous pass.
- Ctrl+] and Ctrl+[ move to the selected value's next or previous change.
- F7 and Shift+F7 step through every change.
- F8 and Shift+F8 (or Alt+] and Alt+[) move to the next or previous Run-to match. R opens Run to.
- G jumps to a pass number.
- P plays or pauses, W watches, H holds, C compares and M shows the Map for the selected value.
- In the Why pane: F and O switch between Focus and Outline, and Shift+B follows back.
- 1 to 6 switch views.
- Arrow keys move around the Values grid.
Oracle records a loop from the end of its first pass, so pass 1 itself isn't shown. When you re-run the case, an open loop tab is marked as an earlier run, and Re-record records it again with the same settings. Companion extensions that read RulesCraft's debug sessions also see each open loop tab's loop, pass, selected value and experiments.
This is a session inspector, not a rule breakpoint/single-step debugger. Each inspector keeps one local Java process and a live Oracle session: overrides, same-input re-runs, and decision reports use that session. Changing inputs or cases creates a new session; changing the compiled ZIP requires a fresh run, or Rebuild & re-run, which keeps inputs, case, overrides, and open reports. A rebuilt or newly picked ZIP is loaded into the running Java process rather than restarting it, which roughly halves the time to re-run after a rebuild on large rulebases. Cancellation, timeout, or helper failure stops the process; run the inputs again to start a new session without the discarded overrides. Closing the inspector stops its process. All model attributes are evaluated, not just the input file's requested outcomes. Decision reports expand each attribute/instance/temporal-context explanation only once; later occurrences are marked "Shown elsewhere" without repeating the subtree. Different instances and temporal contexts remain distinct. Generation and display retain safety limits of 100,000 Oracle traversal steps, 20,000 displayed lines and 100 levels; the traversal visits hidden, silent and already-explained items too, so it needs several times more steps than the lines shown. Large real rulebases stay well within these limits (their widest conclusions need about 25,000 steps and 7,600 lines and generate in under a second), so the Truncated notice appears only for genuinely oversized reports, which then show completed reasons and an explicit partial-report notice instead of failing the entire session. Report generation uses Oracle's traversal callbacks and its internal text-formatting reporter (verified with OPM 26B); incompatible Oracle versions produce an explicit error. Unknown relationships show their known targets, not an assumed complete list. The selected compiled ZIP may be older than source edits; no automatic build occurs. External services, connectors, decision-service dependencies, and custom Java extensions are not configured by this version; related Oracle errors remain explicit. Case data stays local, temporary request/results are removed after each operation, and closing the panel discards its in-memory data.
Decision reports offer Show rule tags beside Instance names. It starts off and remembers your choice for new reports. In Focus, Outline and Facts it shows the tags Oracle attached to each line, without changing rules or rerunning the case. Long tags wrap and remain readable; lines without tags have no annotation. Grouped Facts show only tags shared by every occurrence, with differing tags alongside their expanded occurrence paths. The option is disabled in Rule logic and Explain.
Viewing project inclusions
Open the consuming project's .xprj dashboard and select Inclusions. Each card shows the inclusion's name, baseline version, recorded Hub URL and update timestamp when present. Local imports are labelled offline provenance; the placeholder URL is not contacted, and the original source project's path is not stored in this metadata. Existing Hub references are shown as recorded, not independently verified. The view reads project XML only: it does not inspect inclusion packages, build rules or check for newer versions.
Refresh rereads the open project's XML; changes made in its text editor update the list automatically. Unsaved XML is clearly labelled, and malformed or ambiguous metadata produces an error rather than an empty list. Import project as inclusion... starts the existing verified-copy import workflow for this exact consuming project; save the XML and trust the workspace first. After importing, open the exported consuming-project copy to see the inclusion. The original project remains unchanged.
Data model editor
Open it with Open data model on the project dashboard or RulesCraft: Open Data Model. RulesCraft loads the model with Oracle Policy Modeling's own .NET model API on a copy of the project (about 10 seconds for a large project), so it lists every entity and attribute the rules know about, whether or not it is in projectDataModel.xml yet.
- Explore. The left pane has health lenses (Unlinked: used, never set, the project-wide version of the rule documents' link check: attributes rules use that no rule proves and nothing names, leaving out entity identifiers; inputs without a public name, unproven data model attributes without one (attributes a rule proves need no public name), attributes with several parses, unused attributes, attributes only in rule text, pending changes) and the entity tree. Click an entity's chevron, or press → and ←, to expand or collapse the entities it contains; a collapsed entity shows how many are hidden, and Expand all and Collapse all sit beside the Entities heading. A lens and an entity narrow the list together, shown as removable chips. Search matches attributes, public names and relationships (their text in both directions, public names and entities), even with no entity selected, and matches each word in any order, ignoring case and apostrophes: "expected code" finds "the budget's expected role code". Long lists show 300 rows at a time. Drag the edge of the left pane to widen it (or focus it and use the arrow keys); double-click resets it, and the width is remembered.
- Public names. Click + Add public name on a row, press Enter or F2, or use the inspector. Hovering or selecting an unnamed row shows a suggested name (the sentence without "the" and the entity's possessive, in camelCase, never one the entity already uses); Enter accepts it and moves to the next unnamed row. Oracle decides which names are valid: each name you type is checked with Oracle's own rule, and names already in the project are never flagged.
- Data types. Click a row's type icon or press T to override the type the rules decide. Oracle checks every rule that concludes or tests the attribute when you review the changes.
- Parses. Oracle's parser can read a true/false sentence in several ways, depending on which words it takes as the verb: "the budget should determine share of cost based on family size" can be read with should determine, share, cost or based as the verb. The inspector's Parse dropdown lists every reading, led by the negative sentence it produces with the inserted words marked, plus its verb and question. Oracle's suggested reading and the saved one are tagged. Press 1–9 on a row to choose directly. The Attributes with several parses lens lists every attribute with more than one reading.
- Wording. The inspector shows Oracle's generated question, statement, negative and uncertain or unknown forms. Override replaces one form with your own text; Reset to generated removes the override.
- Copy text. Press Ctrl+C on an attribute or relationship row to copy its text, ready to use in a rule document; the Details pane also has a Copy button for the attribute and, for true/false attributes, for each wording form (statement, negative, question). RulesCraft confirms each copy in the status bar once the text is on the clipboard. Ctrl+C on selected text or in a text field copies as usual.
- Relationship names. Relationship rows (shown under an entity, or by a search) can be selected. Press Enter or F2, or click the names, to set the public names of both directions; Enter keeps them and Esc cancels. Renames go through Review & Save like attribute edits. A relationship that exists only in rule text (Rules only) can't be named here; add it to the data model in OPM first.
- Relationship types. Select a relationship and use Relationship type in Details, or press T on its row. Choose one-to-one, one-to-many, many-to-one or many-to-many, shown in the source-to-target direction. The change stays pending until Review & Save, where Oracle validates it and the previous model is backed up. Revert to saved relationship type or Discard cancels the pending change. Containment allows one or many children per parent, but never multiple parents per child; Global has only one instance. Relationships that exist only in rule text cannot be edited here. Cardinality changes can affect rules and integrations: rebuild and test your cases afterward.
- Row menu. Right-click an attribute row (or press Shift+F10 or the Menu key) for Copy attribute text, Find attribute usage and Delete attribute; relationship rows offer Copy relationship text. Text boxes keep VS Code's usual Cut, Copy and Paste.
- Delete attribute. Deleting removes the attribute from
projectDataModel.xml when you Review & Save; until then the row is struck through and Undo (in the message) or Restore (in Details) brings it back. If rules still use it, it stays in the rulebase as rule text only, without its public name or data type. Deleting an attribute that has a public name asks you to confirm, like a rename, because input files or integrations may use the name. Attributes that come only from rule text have nothing to delete, and an entity's identifying attribute can't be deleted. Oracle's own delete does the work, on a copy, and the save checks that only the deleted attributes disappeared.
- New attributes and relationships. + New attribute declares an attribute no rule uses yet: pick the entity, finish the sentence, and Oracle's parser shows how it reads, offering every parse when there are several. + New relationship connects two entities, set as two sentences ("Each person has one/many budgets"), with text and a public name for each direction.
- New entities. + New entity creates an entity under an existing declared parent (including one brought in by an inclusion). Enter the entity text, containment text from parent to children, reverse text, and a text identifier, with optional public names. For example: “the form” under Vehicle, “the vehicle forms”, “the form's vehicle”, and “the form code”. Creation is pending until Review & Save; Oracle validates it on a copy and the save changes only
projectDataModel.xml, with backup. Save/reload before adding attributes or children to the new entity. Entity renaming/deletion and changing an existing identifier remain unsupported.
- Review & Save. Every change is pending until you save. Review & Save lists them (Add, Change, Parse, Wording), then runs Oracle's full validation on a fresh copy of the project with the changes applied and confirms that
projectDataModel.xml has not changed on disk since it was loaded. Problems the project already had are not counted. Renaming a public name that is already in use asks for confirmation. Save applies the changes through Oracle's model API on another copy, checks that Oracle changed only the edited entities, attributes and relationships in the file, keeps a backup of the previous file outside the project, then replaces projectDataModel.xml. Compare with backup opens the two in VS Code's diff view and Build OPM builds with the new model. Reload reloads the model and keeps pending changes, matched by entity and sentence. Discard drops them.
The editor adapts when its tab is narrower, for example beside another editor or on a laptop. The public name always stays visible. When there is less room, the lenses and entities move into a drawer opened with ☰ Entities, which shows the current lens or entity. The Data model and Rules columns move into Details, with ⋯ in the header pointing there. On narrow tabs, Details sits under the list with a one-line summary of the selected attribute and can be collapsed, and each row shows the public name and role on a second line. Press I on a row to go straight to its public name in Details.
Press ? for keyboard shortcuts. Closing the editor discards unsaved changes.
Important alpha limitations
Attribute and relationship completion in WordCraft (experimental)
While writing condition lines (any OPM - level style) in WordCraft, press Ctrl+Space to list the project's attributes, negative forms, relationships and aliases that fit what you are typing. The list also opens by itself after you type the , 's or (. Conclusions and other paragraphs are never completed: a conclusion always states something new.
- Suggestions are the exact spellings the project already uses (declared and rule-introduced attributes, both directions of every relationship), so a completed rule links to the attribute you meant instead of creating a near-duplicate. Each row shows its kind as text (ATTR, NOT, REL, ALIAS), the entity and the type; the line below the list describes the selected item, for example its negative form (Ctrl+Space shows or hides that line).
- Under a
ForAllScope(...) or ExistsScope(...) header, the aliases it opens and the attributes read through them (the oPerson's income) come first, then the rule's own entity, related entities and Global. Negative forms appear once you type not.
- Up/Down choose, Enter or Tab insert, Escape closes. A list that opened by itself has nothing selected until you type on or press Down, so Enter and Tab keep their usual meaning. Insertion is a single undo step and is refused if the paragraph changed meanwhile.
- The list comes from the experimental TypeScript compiler's reading of the project, including unsaved edits. It works whether or not live checking is on; on first use it reads the project once (a few seconds on large projects, shown as "Checking project…").
- Functions. Type a function name (
For, Inst, Day) or press Ctrl+Space with nothing typed to list functions (FN, with what they return). Accepting one inserts ForAll() with the caret between the parentheses and lists suggestions for its first argument; after , the list opens for the next argument. Typing ) in front of a ) steps over it while the paragraph's brackets balance.
- Argument hints. Inside a function call a hint above the line shows the function's arguments with the current one in bold and underlined, what it should be (for example "a Boolean attribute of the income; true for every income") and the function's note. Alt+Up/Down show the natural-language forms (
for all of …); Ctrl+Shift+Space hides or shows the hint; Escape closes the list first, then the hint.
- Suggestions follow the argument. Inside
ForAll(the person's incomes, …) the income's Boolean attributes come first, in InstanceSum the income's numbers, in date functions dates, under a line saying what comes first; everything else follows, nothing is hidden.
- Relationship direction. At a relationship argument, directions that start from the entity in context and give the right number of instances (
ForAll, Exists, Instance… go over many, For reads one) come first; each row shows its direction and one or many, and the line below names its reverse. Directions that start from another entity are listed last as "Starts from another entity". If you type a relationship from the wrong side (the person's… inside a ForAll over incomes), the reverse that fits (the income's owner, marked REV) is offered at the top, and the hint warns when a call's relationship starts from the wrong entity or gives one instance where many are expected.
Attribute peek in WordCraft (experimental)
Put the caret on an attribute, negative form, relationship or alias in a WordCraft rule document and press Alt+P (or right-click and choose Peek Attribute) to see what it is and where it is used, without searching the project. The card opens below the line, or above it near the bottom of the editor, and is never larger than the visible area (it scrolls instead).
- The card shows the attribute's type, entity and whether it is declared in the data model or introduced by rules, how Oracle words it (positive, negative, question, uncertain), the rules that prove it (or that it is an input: no rule proves it) and the rules that use it, across every Word and Excel rule document. A negative form describes its positive attribute; a relationship shows its direction, how many instances each side has, its reverse and containment.
- Up/Down move through a list, Tab moves between the lists and buttons, Enter goes to the rule (with the caret on the attribute), Escape or typing returns to where you were. After a jump, Alt+Left goes back (up to 20 steps); otherwise Alt+Left keeps VS Code's own Go Back.
- Whole rules (on by default; the button toggles it) shows each proving and using rule in full, the conclusion and every condition line indented by level, with the line that refers to the attribute marked
› and the attribute in bold; long rules keep the conclusion and the lines around it. Turn it off to see only the matching lines.
- Each wording has a Copy button: the text to use in rules (and the negative wording for Booleans), Oracle's positive, negative, question and uncertain forms, or a relationship's text and its reverse.
- Find usage report opens Find Attribute Usage (from Oracle's rule caches) for the caret's paragraph, narrowed to this attribute when the cache has exactly its wording.
- More than six uses collapse behind Show all … uses in … documents, which groups them per document; with more than 20 uses a Filter uses box narrows the list (up to 500 are listed).
- The card comes from the experimental TypeScript compiler's last check of the project, unsaved edits included, and works whether or not live checking is on (the first use reads the project once). Its footer gives the check's time and says when the paragraph has changed since then. RulesCraft goes to a location only while its text is still what the check saw; otherwise it says so rather than guessing. Oracle remains authoritative.
Live checking while editing (experimental)
Enable RulesCraft: Live Check (opaCraft.liveCheck) to have RulesCraft check the project in the background while you edit a rule document in WordCraft or GridCraft. It is off by default and uses the experimental TypeScript compiler; Oracle validation and Build OPM remain authoritative.
- About 1.5 seconds after you stop typing, the project is checked with your unsaved edits included. Nothing is saved or written to the project; a newer edit cancels a check that is still running. The status bar shows the check while it runs and the number of problems afterwards (select it to open the Problems panel).
- Two kinds of problems are shown, in the Problems panel and in WordCraft's results area: predicted Oracle errors (the build would fail) and silent misreadings, wording that Oracle builds but reads differently from what it looks like, each with a code:
OPM-W003 negations and comparisons in words (is not 18, equals, !=, is not known, it is not the case that), OPM-W006 relationship text in attribute wording, OPM-W007 a hyphen directly between digits, OPM-W008 rule tables or cells Oracle ignores, OPM-W012 rule tags after the start of a paragraph. Wording the native compiler simply cannot verify is not shown, because Oracle may well build it.
- Select a problem to go to its paragraph (WordCraft) or cell (GridCraft). RulesCraft first checks that the document still has the text the check saw; after further edits it does not guess, and the next check follows shortly.
- On a large project a check can take some seconds (about 16 s per edit on a 270-document project; the first edit of a document longer, because its Oracle cache becomes out of date). Smaller projects check in well under a second.
Experimental TypeScript compiler comparison
Enable RulesCraft: Native Compiler Comparison (opaCraft.nativeCompilerComparison) to run the experimental TypeScript compiler alongside Oracle during Build OPM and WordCraft/GridCraft validation. It is off by default. Oracle remains authoritative for errors, save decisions, rulebase ZIPs and rule caches; native output is never published.
Build comparison appears in RulesCraft output. Editor validation opens RulesCraft Native Compiler output with the native result and exact document/paragraph diagnostics. Comparison uses clean project snapshots instead of the warm Oracle helper, so it may be slower. Native validation examines the whole saved project, with the document being validated replaced by its current editor bytes; other unsaved documents are not included.
The native subset is en-US/UTC, Global-only DOCX rules using declared public Boolean/text/number attributes. It supports conditional Boolean conclusions, text/number assignments (attribute = expression with optional if), nested conditions, comparisons (=, <>, <, <=, >, >=) and arithmetic (+, -, *, /, parentheses and unary minus). Conditional number/text assignments use Oracle's verified default of zero/empty text when the condition is false. Verified simple-present singular be/have Boolean wording metadata is supported; custom sentence overrides and other unverified forms remain explicit blockers.
Rule-introduced Global attributes are also supported for ordinary the person is/has ... if conclusions and the person's ... = expression assignments. The compiler discovers conclusions across all documents before compiling rules, so a later document can supply a referenced attribute. Number/text types must resolve from supported literals or typed references/arithmetic; conflicting types, unanchored reference cycles, and undeclared inputs are refused. These attributes have internal identities, not invented public input names. Empty declared models can compile when the rules supply resolved conclusions. Broader wording and new table-only attributes are not yet supported.
Condition-only implicit attributes (0.1.144). Like OPM, the native compiler now accepts undeclared attributes that appear only in conditions, including rule table condition cells: the person is/has ... (Boolean), its is not, does not have and it is not true that negations, and the left side of a comparison such as the person's income > 100 or the person's state = "CA" (Number/Text, typed from the other side). They get internal identities, not invented public names. The wording must be lower-case the person ... with plain words: digits and words that can carry temporal, quantifier or function meaning (for example for, any, was, been, date) are refused, so declare such attributes in the data model. If the same attribute is written with different capitalisation (The person is a resident / the person is a resident), native compilation refuses it: Oracle merges the spellings but picks report wording by its own link order. Comparisons with both sides undeclared are refused, as Oracle refuses them (OPA-E00350).
Real-project blockers cleared (0.1.146). A read-only measurement of an authorized project drove four further verified slices:
- Word template boilerplate. Documents created from Oracle's Word template compile with their header and footer content (including FILENAME/PAGE/DATE fields) and the attached-template link Word saves; Oracle ignores both. Other external links, embedded images (including header logos) and footnote, endnote or comment text are still unsupported.
- Project time zones. Any time zone from Oracle 26B's own list (for example
Etc/GMT, America/New_York, Australia/Sydney, Asia/Calcutta), plus UTC, is accepted and emitted exactly as Oracle does. Other ids, including Windows time-zone names and Asia/Kolkata, are unsupported: Oracle builds them but its engine silently treats unknown ids as GMT. Language and region must still be en-US.
- Model declarations. Attributes without public names,
has-default="false" and custom validation messages are accepted, as are Date, Date-time, Time-of-day and Currency attributes that no rule uses. Rules that use date, time or currency attributes are still reported at the paragraph that uses them.
- Excel rule workbooks (first slice). Rule tables with one OPM - Conclusion Heading column (a declared Boolean/Number/Text attribute) and any number of OPM - Condition Heading columns (declared attributes or the generic
condition heading) compile, with Boolean, number (including comparison operators) and text cells and an optional final else row. Formulas, merged cells, declaration and legend tables, multiple conclusion columns, dates, and workbook parts Excel adds on save that are not yet verified (such as printer settings) are refused with the sheet and cell.
Report wording and profile (0.1.147). Yes/no attributes declared without Oracle's stored wording analysis (for example in a hand-edited data model) now get the same plain report wording Oracle gives them, such as "the person is eligible?", instead of "Is the person eligible?". Native output and its rulescraft-native.json now identify the compiler profile as global-docx-xlsx-en-US-v2, reflecting Excel workbooks and Oracle-listed time zones.
More real-project coverage (0.1.148). Four more slices, each checked against Oracle 26B:
- Rule wording. Curly quotes and apostrophes Word inserts (
’, “ ”) are read as straight ones, as Oracle does. A capital first letter (The person ...) is read the way Oracle reads it. Subjects other than "the person" (the applicant is eligible, the applicant's spouse has a car) and single-word yes/no attributes now work, including is not, does not have and it is not true that. Changed behaviour: a data-model sentence typed with a curly apostrophe (the person’s income) no longer links to rule text written with a straight one; Oracle never linked them (it silently creates a separate attribute), and native compilation now matches.
- AND/OR consistency. Conditions that mix
and and or at one level are now reported as errors at the paragraph where the connector changes, matching Oracle (OPA-E00094). Previously the native compiler accepted them and let AND bind tighter.
- Excel-saved workbooks. Workbooks saved by Excel compile with their printer settings, page setup, notes and threaded comments, print areas, data validation and conditional formatting, all of which Oracle ignores. Rule tables on hidden sheets are compiled, as Oracle does. Formulas, filters, hidden rows/columns, merged cells, images and external links are still refused with the cell.
- Workbook tables and declarations. Rule tables can have several conclusion columns and the generic
conclusion heading. Workbook declaration tables (Attribute Type and Attribute Text columns) declare attributes that Word and Excel rules can use, except that Word rules can't yet use a workbook-declared yes/no attribute. Legend keys, legends and substitutions are still refused.
- Dates. Date and Date-time attributes can be compared and assigned, in paragraphs and Word rule tables, with Oracle's literal formats
2026-01-31 and 2026-01-31 14:30:00. DayDifference, YearDifference and AddDays work on Date values. Other functions (including CurrentDate()), time-of-day, currency and dates in workbooks are still refused. Native output now uses Oracle's exact en-US formatter, so dates in decision reports read like Oracle's (01/30/2026). Number expressions such as 10-5 (no spaces) are now refused, as Oracle refuses them, instead of being read as subtraction.
Round three (0.1.149). Four more slices, each checked against Oracle 26B:
- Workbook legend keys. Legend keys in declaration tables work as short names for their attributes, in headings and cells on every sheet of that workbook, in any case. Duplicate keys (
OPA-E00305) and keys that read as numbers (OPA-E00229) are refused as Oracle refuses them. Substitution tables have no effect in Oracle and are accepted once their keys are checked. Keys don't work in other workbooks or in Word, as in Oracle.
- New attributes from workbooks. Workbook headings and generic cells can introduce attributes, typed from their cells (
true/false, numbers, quoted text) and from uses in other documents, and they can settle the type of automatic attributes in either direction with Word. Under an undeclared heading, unquoted text is refused because Oracle reads it as another new attribute, not as text.
- Dates, part 2.
CurrentDate() and CurrentDateTime(), date-time arguments to the date functions, and more functions (WeekDifference, MonthDifference, AddWeeks, AddMonths, AddYears, ExtractDay/ExtractMonth/ExtractYear, MakeDate, ExtractDate). Function names may use any capitalisation, as in Oracle. Date and date-time cells in workbooks compile too. Mixed Date/DateTime types are refused with Oracle's error codes; date arithmetic and other functions are still refused.
- Rule wording, part 2. Text/number assignments can target any attribute (
the applicant's income = 5, The total = 7). Verbless one-word phrases (the claim, the claim 2), whole numbers inside phrases (is in band 3) and words such as for, from, on inside phrases are accepted. A yes/no conclusion without if is concluded always true, and a paragraph containing only and/or joins two conditions at the same level. Correction to 0.1.148: yes/no wording with a multi-word subject (the benefit claim is valid) is refused again, because Oracle reads it through its dictionary and gives it different report wording (for example "Do the benefit claim is valid?"); a single-word subject, optionally after the/a/an, is accepted.
Round four (0.1.150).
- Entities and relationships. Projects with declared entities and relationships compile when each rule's conclusion and conditions use its own entity's attributes, Global attributes, or both (for example
the child is eligible if the child's age < 18). Rule tables work the same way. Rules that reach other entities (a child or sibling entity from another rule, or an entity from a Global rule) are refused as Oracle refuses them (OPA-E00209). Quantifiers such as "for all of the children" and instance counts are not supported yet, and workbooks remain Global-only.
- Oracle's stored wording readings. For yes/no attributes declared in the data model, Oracle stores its own reading of the sentence. The native compiler now uses those stored readings, so declared attributes with other verbs, tenses, modals, plural or possessive subjects, or wording Oracle reads unusually (for example
the benefit claim is valid) compile with exactly Oracle's report wording. Attributes introduced only by rules or workbook declarations have no stored reading, so such wording there is still refused; declaring the attribute in the data model fixes that.
- "The current date".
the current date and the current date time work as values, and an undeclared phrase compared with or assigned to a Date/DateTime attribute becomes a date input, as in Oracle. Worded date functions (the date 5 days after ...) are still refused.
Round five (0.1.152). Driven by a read-only measurement of a large real project:
- Quantifiers and aggregations. "for all of the children", "for at least one of ...", their one-line and function forms (
ForAll, Exists), negations, and InstanceCount, InstanceSum, InstanceMinimum/Maximum, the ...If variants and InstanceValueIf, including references to Global and enclosing entities inside them. Forms Oracle silently turns into new attributes (for example "and" inside InstanceCountIf, unrecognised quantifier headings, chained paths such as "the child's household's children") are refused.
- Data model metadata. Interview, analysis and audit metadata OPM stores on attributes and relationships (
save-audit, analysis labels, user-created, entity-override, substitutable, display-unformatted, default-gender, silent-if-known, invisible-if-known, default-zero) and the empty parse OPM stores on number/text/date/currency attributes are accepted, with Oracle's exact effects where there are any (display-unformatted and relationship flags are copied to the rulebase, default-gender gives "Who is ...?" questions, and default-zero makes an omitted relationship known and empty).
- More stored wording readings. Irregular verbs Oracle's dictionary knows, perfect, past, passive and continuous readings, older parser versions, and custom positive/negative wording stored with the attribute.
- Entity model shapes. Relationships with no text in one direction, one-to-one containment, identifying attributes Oracle ignores, and entity names that differ only in case. A declared attribute whose sentence starts with another entity's text is refused, because Oracle moves it to that entity.
- Project settings. Up to 1000 rule documents; Office lock and temp files, hidden and system files are skipped as OPMBuild skips them; intended rule loops, data connections, interview styling and all Oracle-accepted compatibility option values are accepted (none change the compiled rules).
.doc/.xls files and project inclusions are refused.
Round six (0.1.153).
- Workbook formatting. Workbook rule cells are checked the way Oracle checks them: only the cell's background fill is compared with its OPM style (OPA-E00531/E00532), so fonts, borders, alignment, wrapping and number formats no longer block compilation. Mismatched fills and malformed style tables are reported with Oracle's error codes at the cell. Excel copies of OPM styles ("OPM - Conclusion 2") are not OPM styles to Oracle; copies holding rule text are refused. Excel inline strings, which Oracle reads as empty cells, are refused when they contain text.
- Workbook table layout. Rule tables are located exactly as Oracle locates them: rule-styled cells outside any table are ignored (Oracle ignores them), and rule rows after blank rows belong to the table above. Numeric cells are read through their number format as Oracle reads them (dates become date values; other formats read as plain numbers). Transposed tables, time formats and the text format (@) are still refused.
- Word paragraph styles. Text in styles Oracle ignores (Normal, Word headings, Title, Comment - ..., OPM - commentary, OPM - blank line, OPM - ignore, custom styles) no longer blocks compilation. OPM - Rule Name, rule type and heading paragraphs end the current rule as in Oracle. Corrections: style names are now matched exactly as Oracle matches them (case-sensitively), "OPM - level 10" and above are refused (Oracle reads them as level 1), empty condition paragraphs are errors (OPA-E00096), and a heading inside a rule now ends it, as in Oracle.
- Attributes starting with several entity texts. The entity with the longest matching text owns the attribute, as in Oracle. Correction: wording such as
the budget-holder's age belongs to the "the budget" entity in Oracle; the native compiler previously treated it as Global.
- Rule tags, scope aliases and currency. Bracketed rule tags (
[R12] the person is eligible if) are emitted as Oracle emits them, so decision reports show the same tags. ForAllScope/ExistsScope with an alias argument work. Currency attributes compile like numbers (with $ and thousands separators in literals), declared as Currency.
Round seven (0.1.154).
- Grouping lines. A condition line containing only
either/any groups the lines below it with OR, and both/all with AND, as in Oracle. Lone true/false condition lines are truth values. "either of the following" (which Oracle silently turns into an attribute), neither and each stay refused.
- Word rule tables. Tables whose first cell is not in the OPM - conclusion style are ignored, as Oracle ignores them (most documentation tables). Boolean (true/false) tables and table headers that introduce a new attribute are supported, and cells are read the way Oracle reads them (only the first paragraph; any condition cell without a level-styled paragraph is the otherwise row).
- Workbook tables. Transposed (column-oriented) tables, merged commentary cells, and whole numbers in the Text (@) format compile as Oracle reads them.
- Relationship membership.
IsMemberOf(...) and " is a member of " compile, and relationships of enclosing scopes and Global can be used inside quantifiers, aggregations and For(). Wording that merely starts with a relationship's text is not navigation in Oracle (it silently becomes a new attribute) and stays refused, with a message explaining why.
- "is" tests.
the colour is Green with a declared one-word attribute (the colour) compiles as Oracle's yes/no attribute, and is known/is unknown/is certain/is uncertain tests work for number and text attributes. Spacing around comparison operators no longer matters.
- Substitution and temporal functions. Attributes declared as substitutable now change other attributes' report wording exactly as in Oracle (decision reports show the value). Correction: 0.1.152-0.1.153 accepted this setting without that effect.
YearStart/YearEnd, ValueAt, TemporalBefore/After/On..., WhenLast/WhenNext and the Interval... functions compile.
- Why some wording is still refused. Many remaining refusals are sentences Oracle reads through its own English dictionary (for example a multi-word subject before "is"). The native compiler cannot reproduce those readings without Oracle and will not guess them. The messages now say so. Declaring such an attribute in the data model fixes it, because OPM then stores its reading in the project.
Round eight (0.1.155): Oracle's own readings.
- Wording Oracle reads through its dictionary now compiles natively when Oracle has compiled it before. For undeclared sentences whose yes/no reading depends on Oracle's English dictionary (for example a multi-word subject), the native compiler now uses the reading Oracle itself produced: from the project's last OPM build (
output\<project>.zip, read through Oracle's Java engine) and from Oracle's per-document caches (bin\*.xgen) when they match the saved documents. Report wording and negation then follow Oracle exactly. Rule logic is always compiled from your documents; only wording readings come from Oracle's output. Brand-new wording of this kind is refused with "build once with OPM or declare it in the data model". Where Oracle's own reading depends on which documents a sentence appears in, the sentence is refused rather than guessed.
- Conclusions without "if" and value assignments (including Currency, Date and Text targets) use those stored readings and types too.
- Merged workbook rule cells compile as Oracle reads them; natural date phrases ("the date 30 days after ...", "the number of days from ... to ...") and
DayDifferenceInclusive/Exclusive/WeekdayCount work; Word table headers may contain punctuation such as -, /, & and brackets; For() over a to-many relationship compiles with Oracle's behaviour.
- Large projects. Discovery limits were raised for real projects (10,000 rule-introduced attributes, 50,000 condition paragraphs), discovery now runs even when the data model has other problems (so rule diagnostics are accurate), and large projects compile about twice as fast.
Round nine (0.1.156): scopes, parent entities, entity wording and types.
- Rule-introduced attributes inside quantifiers, aggregations and For(). Boolean, Number and Text attributes that rules conclude, or that only appear in conditions (including Oracle's stored readings), can now be used inside
for all, for at least one, InstanceSum, InstanceCountIf, For() and similar scopes. As in OPM, they belong to the entity their wording names. Aliased scopes, workbook-introduced attributes and Date/DateTime/Currency introductions stay refused there.
- Attributes of containing entities. Entity rules can use attributes of their parent, grandparent and so on in any condition, value, rule table or date function argument, also inside quantifiers and aggregations; they are read through the reverse containment relationship as Oracle does. Reading a containing entity from an aliased scope is reported as Oracle's OPA-E00209.
- Substitutable entity attributes (for example an identifying attribute "the person" with Allow substitution) are substituted in their entity's and its child entities' wording and relationship texts, so decision reports read "Ann's weekly rate" exactly as with OPM. Wording that contains an entity's text after its start ("the total for the pet") is refused, because Oracle places it in that entity.
- Types. Boolean Word rule tables may conclude another Boolean attribute by naming it exactly;
For() can return Text and InstanceValueIf Number; Oracle's last build anchors the types of attributes it already typed; type conflict messages now name the types each use reads.
- Fewer and clearer diagnostics. One stale
.xgen cache no longer discards the readings from the project's other current caches (its problem is still reported), and a refused attribute's uses are no longer repeated at the paragraph that already reports its refusal.
Rounds ten and eleven (0.1.159): the first project compiles natively.
- A small real project now compiles natively and matches Oracle exactly (rules, report wording, engine values and decision reports).
- Wording whose report forms depend on Oracle's document link order (a sentence used with its negation in some documents and without it in others, different capitalisations of one sentence, workbook Booleans with dictionary-dependent wording, Word uses of Booleans declared in workbooks) now follows the project's last OPM build instead of being refused. The comparison output may show report-wording differences when a later OPM build links the documents in another order; rule logic is unaffected. Such attributes are listed in the native output's metadata.
- Oracle's per-document caches (
bin\*.xgen) are now used together with the last build, so wording validated since the last build is read as Oracle reads it. A stale cache still blocks a native build.
- Newly supported:
ForScope(<relationship>[, <alias>]) headers (to-one and to-many relationships), Default() and DefaultWithUnknown() around a Boolean attribute or a comparison, Maximum()/Minimum() of two numbers, containing-entity and workbook-introduced attributes inside quantifiers and aggregations, and empty conclusion cells in workbook rule tables (including the else row and generic conclusion columns).
- Refused on purpose:
Maximum()/Minimum() with more than two arguments (Oracle silently reads the extra arguments as one attribute).
Rounds twelve and thirteen (0.1.161): relationships, Currency and more functions.
- Inferred relationships: rules such as "the person is a member of the household's eligible members if ..." compile natively (Oracle's relationship conclusions), including membership tests and counts over the inferred relationship. Oracle's own restrictions are reported: an inferred relationship must be one to many from Global and many to many from an entity, and containment relationships cannot be inferred.
- Membership with aliases: "the member is a member of ..." under a
ForAllScope/ExistsScope alias compiles.
- Negated wording across documents: a negation such as "the person has not applied to Medicaid" in a document that does not use the positive sentence now follows Oracle's last build, which links it to the positive attribute (only dictionary-dependent wording becomes an attribute of its own).
- Currency: undeclared attributes assigned from or used beside Currency values are typed Currency exactly as OPM does (an attribute assigned from a declared Number stays Number;
Round/Trunc results are Number).
- Undeclared inputs used only as values (for example "the person's fee" in
the person's rent + the person's fee, or the right side of a comparison) are introduced and typed from their context, when that context contains an attribute with a known type (OPM rejects two undeclared attributes compared with each other).
- Newly supported functions:
Default()/DefaultWithUnknown() as Number values, Round()/Trunc() (in any letter case), and InstanceValueIf/InstanceMinimum[If]/InstanceMaximum[If] over dates.
Rounds fourteen and fifteen (0.1.162): creating entity instances, and more functions.
- Rules that create entity instances compile natively:
<relationship>(<identity>) exists if ... (containment and other relationships; identities may combine text, attributes, Text(...) and For(...)), and counterpart instances <entity> exists for <relationship> (OPM's InferInstanceFor), with or without conditions.
- Text can be joined with
+ (for example "T-" + the case's label), and text with leading or trailing spaces is written exactly as OPM writes it.
- Functions:
Earliest()/Latest(), DefaultWithUnknown() over dates and text, and Substring().
- "and"/"or" inside function arguments (for example in
InstanceCountIf(...) conditions or for all of ..., ...) follows OPM, which reads the whole condition as one attribute, when OPM's last build or the document's cache recorded that attribute.
Rounds sixteen and seventeen (0.1.167): aliases, connector lines and a safety fix.
- Inside
ForAllScope/ExistsScope aliases, rule-introduced yes/no attributes now compile, and a condition written with the alias ("the kid is calm" under ForAllScope(the children, the kid)) is read as the entity's own attribute ("the child is calm"), as OPM does.
- A line containing only "and"/"or" after a condition that has its own deeper lines now joins that condition and the next one, as OPM does.
- Fix: an attribute proved inline in a rule's conditions (a condition line with deeper lines) now counts as a conclusion of that attribute, so proving it twice, or proving it and concluding it elsewhere, is reported as OPM reports it (multiply proven attribute) instead of compiling.
Rounds eighteen and nineteen (0.1.168): dates through types, For() and tables.
- Date and date-time types are inferred for automatic and rule-introduced attributes assigned a date value (a date attribute,
AddDays(...), CurrentDate(), a date literal, or another such attribute), as OPM does.
For() returns dates and date-times too, and For() and the date aggregations (InstanceMinimum(...) and similar) work as date function arguments, for example DayDifference(For(the child's case, the case start date), the child's birth date), and on the left of a comparison.
- Word rule tables accept
For(), aggregations and quantifiers (ForAll, Exists, InstanceCount(...) > 1) in value cells and row conditions.
Rounds twenty to twenty-three (0.1.169): comparing instances, Currency totals, spaces in workbook cells, empty parses.
InstanceEquals and InstanceNotEquals compile when each argument is the current entity, a ForAllScope/ExistsScope/ForScope alias or a to-one relationship, for example InstanceNotEquals(the first, the second) under two ExistsScope headers. Before, these conditions were wrongly reported as errors.
- Currency inside
InstanceSum, InstanceMaximum, InstanceValueIf, For() and quantifiers compiles. As in OPM, a sum (InstanceSum, InstanceSumIf) of a Currency attribute is a plain number, while the other forms keep Currency.
- Relationships from Global to many instances (and one-to-many relationships to Global) are no longer reported as errors; OPM builds them.
- Spaces before or after the text of an Excel rule cell (headings, conclusions, conditions) are ignored, as OPM ignores them; before, such cells were refused. Tabs and other whitespace are still refused.
- Attributes whose sentence OPM stored with an empty parse (common for attributes with an automatic type) no longer block native compilation; they get the same wording as attributes without one.
Rounds twenty-four to twenty-six (0.1.170): English verbs, percent signs and comparisons.
- Sentences are read with an English verb list, as in OPM. Yes/no wording such as
the applicant lives abroad or the benefit claim is valid no longer needs a previous OPM build or a data model declaration: the native compiler finds the verb the way OPM does and writes OPM's exact question and negative ("Does the applicant live abroad?", "the applicant does not live abroad"). It uses the project's verbs.xml when there is one (OPM's custom verbs), otherwise OPM's default list. Wording read from a previous OPM build still takes precedence. A few layouts are still refused until checked against OPM (verbs in Excel-introduced attributes, "cannot", and entity introductions through verbs other than is/has).
- "%" in attribute texts is written in report wording as OPM writes it.
- Comparisons whose left side is arithmetic (
the a - the b < 3), or that extend a declared attribute's text (the case status code = "A" with the case status declared), compile; operators may be written without spaces in conditions. Hyphens between words (income-5) are part of the attribute text, as in OPM, and no longer read as minus.
Rounds twenty-seven to twenty-nine (0.1.172): capitals, hyphens, possessives, and faster compiles.
- Capitalised words in yes/no wording compile, as OPM reads them:
the person receives SSI, the person is eligible for Medicaid, the person is not eligible for Medicaid. A capitalised word is never taken as the verb, so the person's Support payment ends reads the verb "ends". Entity attributes can be introduced with any verb (the applicant receives SSI), not only "is" and "has".
- Wording that starts with a declared attribute (
the person's status is Active, the person's age is greater than 18) is read as its own yes/no attribute, as OPM does; it is never a comparison.
- Hyphenated words (
self-employed, Medi-Cal, long-term) and possessive words after the verb (the person is the applicant's spouse) compile.
- Rules for an entity can count, sum or test the instances of a relationship of the entity that contains it (for example
InstanceCount(the household's cars) in a rule for the person); these were wrongly reported as errors.
- Fewer false errors: conclusions the native compiler cannot read yet are now reported as unsupported, not as errors, because OPM builds them.
- Much faster on large projects: a project with about 270 rule documents compiles in about a minute (it took over half an hour with OPM's saved readings).
Rounds thirty to thirty-two (0.1.173): honest errors and aliased relationships.
- Errors only where OPM fails: conditions and values the native compiler cannot read yet are reported as unsupported, not as errors, because OPM builds them. A condition or value is still an error when OPM rejects it too: a type mismatch (
the person's age = "old"), an operator without a value on one side (the person's income >, 5 * * 2) or unbalanced parentheses.
- Relationships through an alias compile, nested to any depth:
ExistsScope(the oPerson's incomes, the oIncome) under ExistsScope(the household's members, the oPerson), and aggregations such as InstanceSum(the oPerson's incomes, the income's amount). Lines under an alias header that cannot be read yet are reported as unsupported instead of as scope errors.
Rounds thirty-three to thirty-six (0.1.174): aliases, entity wording and known tests.
- Alias names reused across documents no longer block each other: wording that starts with an alias but is used outside that alias's scope is its own attribute, and inside the scope the alias is read, as in OPM.
- Entity wording with possessive subjects compiles without a previous OPM build, including entities whose names are possessives:
the person's initial status is Pending, the person's school attendance's status is Attending Full Time. Capitalised words such as Full Time or Due Date after the verb are read as plain text.
- Known and certain tests:
<attribute> is currently known (or currently unknown), it is currently known whether <yes/no attribute>, and it is known/certain/uncertain whether <yes/no attribute> compile, and the plain is known/is certain tests work on attributes introduced by rules and on Currency attributes.
is known to … and is currently … wording (the person is known to be exempt from screening, the person is currently an open member) compiles as ordinary yes/no wording, as OPM reads it.
Rounds thirty-seven to thirty-nine (0.1.175): values, inline and/or, and aliased relationship rules.
- Code-like values after the verb compile as plain text, as OPM reads them: capitalised words (
is Did Not Pay Monthly Premium, is CORE PARENTS AND GUARDIANS), hyphens and slashes (6-18, aged/blind), codes with digits (E01) and a parenthesised code ((LSF/AB)). Only a lower-case not negates.
- "and"/"or" inside a line are part of one yes/no attribute, as in OPM:
the person is young, local, or remote, the person's age is greater than or equal to 18. Only a line ending in and/or joins conditions.
- Relationship rules with an alias compile:
the person (the other) is a member of the person's relatives if, with conditions such as the other is a member of the person's siblings, the other's age > the person's age and InstanceNotEquals(the person, the other).
Rounds forty to forty-two (0.1.176): more rule-introduced attributes, and correct Currency types.
- Attributes introduced by rules work inside scopes for every type except date-and-time: Currency and Date attributes inside
for all of, for at least one of and aggregations, and all types read through an alias (the member's net pay).
- Correct Currency types: an attribute of an entity that is calculated from a number and then compared or combined with a Currency amount is now a Currency, as in OPM, so its decision report shows
$28.00, not 28. OPM gives inconsistent types in one rare combination; that case is reported instead of guessed.
- Code-like attribute names compile:
the person's Teens 13-19 limit, the person's Spring/Summer code, the case E01 limit, the person's stay length (in weeks), the person's number of open requests.
- Names that start with an entity's name in other capitals, or followed by another word, belong to that entity as in OPM:
the person's Address is old, the person's address zone code, the person's address kind is Rural.
Rounds forty-three to forty-five (0.1.177): fewer false errors, more wording.
- Fewer false errors: these were reported as errors although OPM builds them, and now compile as in OPM:
- dates in
Maximum, Minimum, Default and DefaultWithUnknown (DefaultWithUnknown(the case stop date, Latest()));
- a condition line missing its
and/or when the other lines in its group agree on one.
- An unexpected problem inside the native compiler is now reported as such, not as an OPM error.
- Date, time and number words in yes/no wording compile:
the billing month is before the payment month, the person's time limit is valid for the year, the person's status is valid for the review month.
- Entities whose name starts with a relationship's name (a relationship
the shop beside an entity the shop worker) no longer block that entity's own wording.
Rounds forty-six to forty-eight (0.1.178): fewer false errors, yes/no values, and/or in arguments.
- Fewer false errors. These were reported as errors although OPM builds them:
- a condition line ending in
if with deeper lines under it (an inline proof);
… is verified or not applicable;
the number of people with a bonus > 0;
- lines under a refused quantifier header;
- dates compared with declared dates.
- Yes/no values:
the case should send a notice = the office is open and the person is local = For(the person's household, the household is urban) compile. When such an attribute is also used as a condition, OPM's wording for it varies between projects, so that combination is reported instead.
and/or inside function arguments are part of one yes/no attribute, as in OPM: Exists(the household's members, the person is a Member or Guest), InstanceCountIf(…, the person is ready and willing). With a comparison inside the argument they stay refused, since OPM then splits the text.
Rounds forty-nine to fifty-one (0.1.179): more wording OPM accepts.
- New yes/no attributes inside function arguments compile:
For(the person's household, the household is a Rural Home), Exists(the household's members, the person is a visitor).
- Undeclared input values compile when their names use capitals or codes (
the case QX Pregnant income limit), sit inside parentheses ((the case income * (the case QY percent / 100))), or are compared with an attribute another rule calculates.
- More verb forms and words:
the claimants have been notified, the case has at least one pending claim, the person meets all criteria for the plan, in the most recent review.
Rounds fifty-two to fifty-four (0.1.180): entity wording and rule tags.
- Rule tags (
[T1] …) compile in more places, attached where OPM puts them: on conditions inside for all of and similar groups, on Exists(…) and For(…) conditions, on is certain / is unknown tests, and on relationship rules.
- New yes/no attributes written only inside an
ExistsScope/ForAllScope group compile, for example the household uses a shared kitchen.
- Wording that starts with an entity's name compiles in more forms, placed in that entity as in OPM:
- with a verb word inside the entity's name (
the person's health care plan is verified);
- with the name in other capitals (
the person's Cohort should be used for planning);
- with more words before the verb (
the person potentially gets full cover).
Round ninety-one (0.1.191): sums inside ForScope conditions.
- A
ForScope(<to-many relationship>) header may contain a condition such as InstanceSum(the person's incomes, the income's amount) > 3, with a plain Number attribute as the sum's value. Currency values in that context remain unsupported. Verified against Oracle, including empty, singleton, multiple and unknown relationships.
Round ninety-two (0.1.192): filtered sums inside ForScope conditions.
InstanceSumIf(the person's incomes, the income's amount, the income is valid) also works inside a to-many ForScope condition. The sum value must be a non-Currency Number attribute and the filter a positive Boolean attribute, both on the relationship's target entity.
Round ninety-three (0.1.192): Number comparison filters in ForScope sums.
InstanceSumIf inside a to-many ForScope condition also accepts a target entity's non-Currency Number attribute compared with a Number literal using >, such as the income's share > 3.
Round ninety-four (0.1.193): minimum and maximum inside ForScope conditions.
InstanceMinimum and InstanceMaximum inside a to-many ForScope condition can use a non-Currency Number attribute from the relationship's target entity.
Round ninety-five (0.1.193): filtered minimum and maximum inside ForScope conditions.
InstanceMinimumIf and InstanceMaximumIf also work in that context when the filter is a positive Boolean attribute of the relationship's target entity.
Round ninety-six (0.1.194): Number comparison filters in ForScope minimum and maximum.
InstanceMinimumIf and InstanceMaximumIf inside a to-many ForScope condition also accept a target entity's non-Currency Number attribute compared with a Number literal using >.
Round ninety-seven (0.1.194): filtered counts inside ForScope conditions.
InstanceCountIf(the person's incomes, the income is valid) works inside a to-many ForScope condition when the filter is a positive Boolean attribute of the relationship's target entity.
Round ninety-eight (0.1.195): Number comparison filters in ForScope counts.
InstanceCountIf in a to-many ForScope condition also accepts a target entity's non-Currency Number attribute compared with a Number literal using >, such as the income's share > 3.
Round ninety-nine (0.1.195): selected values inside ForScope conditions.
InstanceValueIf(the person's incomes, the income's amount, the income is valid) works inside a to-many ForScope condition when the value is a non-Currency Number attribute and the filter is a positive Boolean attribute, both on the relationship's target entity.
Round one hundred (0.1.196): Number comparison filters in ForScope selected values.
InstanceValueIf in a to-many ForScope condition also accepts a target entity's non-Currency Number attribute compared with a Number literal using > as the filter.
Round one hundred and one (0.1.196): more Number comparison filters in ForScope counts.
InstanceCountIf in a to-many ForScope condition also accepts <, <=, =, <> and >= when comparing a target entity's non-Currency Number attribute with a Number literal.
Round one hundred and two (0.1.197): more comparison filters in ForScope value aggregations.
InstanceSumIf, InstanceMinimumIf, InstanceMaximumIf and InstanceValueIf in a to-many ForScope condition also accept <, <=, =, <> and >= when comparing a target entity's non-Currency Number attribute with a Number literal.
Round one hundred and three (0.1.197): comparing attributes in ForScope aggregation filters.
- These four functions and
InstanceCountIf also accept > between two non-Currency Number attributes of the relationship's target entity as a filter, such as the income's share > the income's gap.
Round one hundred and four (0.1.198): more attribute comparisons in ForScope aggregation filters.
- Those five functions also accept
<, <=, =, <> and >= between two non-Currency Number attributes of the relationship's target entity. Other operand and aggregation value forms remain unsupported in this context.
Round one hundred and five (0.1.198): negative Boolean filters in ForScope aggregations.
- Those five functions also accept an attribute's direct negative wording as a filter, such as
the income is not valid, when the Boolean belongs to the relationship's target entity.
Round one hundred and six (0.1.199): explicit Boolean negation in ForScope aggregations.
- Those five functions also accept
it is not true that the income is valid as a filter. The negated Boolean must belong to the relationship's target entity; other negated expression forms remain unsupported in this context.
Round one hundred and seven (0.1.199): known Number filters in ForScope aggregations.
- Those five functions also accept a filter such as
the income's share is known, when the attribute is a non-Currency Number on the relationship's target entity.
Round one hundred and eight (0.1.200): unknown Number filters in ForScope aggregations.
- Those five functions also accept
the income's share is unknown for a non-Currency Number on the target entity.
Round one hundred and nine (0.1.200): certain Number filters in ForScope aggregations.
- Those five functions also accept
the income's share is certain for a non-Currency Number on the target entity.
Round one hundred and ten (0.1.200): uncertain Number filters in ForScope aggregations.
- Those five functions also accept
the income's share is uncertain for a non-Currency Number on the target entity.
Round one hundred and eleven (0.1.201): known Boolean filters in ForScope aggregations.
- Those five functions also accept
it is known whether the income is valid when the Boolean belongs to the target entity.
Round one hundred and twelve (0.1.201): certain Boolean filters in ForScope aggregations.
- Those five functions also accept
it is certain whether the income is valid for a target Boolean.
Round one hundred and thirteen (0.1.201): uncertain Boolean filters in ForScope aggregations.
- Those five functions also accept
it is uncertain whether the income is valid for a target Boolean.
Round one hundred and fourteen (0.1.202): currently known Boolean filters in ForScope aggregations.
- Those five functions also accept
it is currently known whether the income is valid for a target Boolean.
Round one hundred and fifteen (0.1.202): currently known Number filters in ForScope aggregations.
- Those five functions also accept
the income's share is currently known for a non-Currency Number on the target entity.
Round one hundred and sixteen (0.1.202): currently unknown Number filters in ForScope aggregations.
- Those five functions also accept
the income's share is currently unknown for a non-Currency Number on the target entity.
Round one hundred and seventeen (0.1.203): known Text filters in ForScope aggregations.
- Those five functions also accept
the income's label is known when the Text attribute belongs to the target entity.
Round one hundred and eighteen (0.1.203): value-type certainty filters in ForScope aggregations.
- Those five functions accept
is known, is unknown, is certain, is uncertain, is currently known and is currently unknown on a target Text, Number, Currency, Date or DateTime attribute. At this round, the aggregation value remained a non-Currency Number on the target entity. Other unverified filters and inline For() forms remain unsupported.
Round one hundred and nineteen (0.1.204): same-type attribute comparisons in ForScope aggregation filters.
- Those five functions also accept comparisons between two target Currency, Date or DateTime attributes using
=, <>, <, <=, > or >=, and between two target Text attributes using = or <>. Other unverified operands and aggregation values remain unsupported in this context.
Round one hundred and twenty (0.1.204): literal comparisons in ForScope aggregation filters.
- Those five functions accept the same six operators between a target Currency attribute and a numeric literal, or a target Date/DateTime attribute and a same-type date/date-time literal. At this round, quoted Text literals and other unverified operands remained unsupported.
Round one hundred and twenty-one (0.1.205): mixed Currency and Number filters in ForScope aggregations.
- Those five functions also accept all six operators between declared target Currency and Number attributes, in either order. Rule-introduced or alias-based mixed operands and other unverified expressions remain unsupported.
Round one hundred and twenty-two (0.1.205): negative Number and Currency literals in ForScope aggregations.
- Those five functions also accept all six operators comparing a target Number or Currency attribute with a negative numeric literal. Negated attributes, nested negation and other unverified expressions remain unsupported.
Round one hundred and twenty-three (0.1.206): Text literals in conditional aggregation filters.
- Those five functions accept
= and <> between a declared target Text attribute and a simple quoted literal, both directly and inside a to-many ForScope. The literal must contain ASCII letters or digits, optionally separated by single spaces, without the words and or or; other quoted forms, aliases and rule-introduced attributes remain unsupported. At this round, aggregated values had to be declared non-Currency target Numbers.
Round one hundred and twenty-four (0.1.206): Currency values in conditional ForScope aggregations.
InstanceSumIf, InstanceMinimumIf, InstanceMaximumIf and InstanceValueIf inside a to-many ForScope can aggregate a declared Currency attribute from the target entity when the filter is a declared positive Boolean attribute of that entity. At this round, other Currency-value filters and unfiltered Currency aggregations in this context remained unsupported.
Round one hundred and twenty-five (0.1.207): typed certainty filters for Currency aggregations.
- Those four functions also accept the six certainty wordings above on a declared target Number, Currency, Text, Date or DateTime attribute, including the Currency value itself. At this round, other Currency-value filters and unfiltered Currency aggregations in this context remained unsupported.
Round one hundred and twenty-six (0.1.207): typed attribute comparisons for Currency aggregations.
- Those four functions also accept comparisons between declared target attributes of the same type:
= and <> for Text, and all six symbolic comparison operators for Number, Currency, Date and DateTime. At this round, mixed Currency/Number filters, literal filters and unfiltered Currency aggregations in this context remained unsupported.
Round one hundred and twenty-seven (0.1.208): typed literal filters for Currency aggregations.
- Those four functions also accept all six symbolic comparisons between a declared target Number or Currency attribute and a numeric literal, including a negative literal, or a declared target Date/DateTime attribute and a same-type literal. At this round, Text literals, mixed Currency/Number attribute comparisons and unfiltered Currency aggregations in this context remained unsupported.
Round one hundred and twenty-eight (0.1.208): mixed Currency and Number filters for Currency aggregations.
- Those four functions also accept all six comparisons between declared target Currency and Number attributes in either order. The aggregated Currency value may itself be a comparison operand. At this round, Text literals and unfiltered Currency aggregations remained unsupported; unverified expressions in this context remain unsupported.
Round one hundred and twenty-nine (0.1.209): Boolean filters for Currency aggregations.
- Those four functions also accept declared target Boolean filters in negative and
it is not true that forms, and it is known, certain, uncertain or currently known whether forms. Other unverified forms, including currently unknown whether, remain unsupported.
Round one hundred and thirty (0.1.209): Text literal filters for Currency aggregations.
- Those four functions also accept the simple quoted Text equality and inequality filters from round 123 with declared target Currency values, both directly and inside a to-many
ForScope. At this round, unfiltered Currency aggregations inside that scope remained unsupported; other quoted forms, aliases and inferred or automatic operands remain unsupported.
Round one hundred and thirty-one (0.1.210): unfiltered Currency aggregations inside ForScope.
InstanceSum, InstanceMinimum and InstanceMaximum inside a to-many ForScope also accept a declared Currency attribute from the target entity. Other unverified Currency aggregation expressions, aliases and inferred or automatic values remain unsupported in this context.
Round one hundred and thirty-two (0.1.210): unfiltered Date and DateTime aggregations inside ForScope.
InstanceMinimum and InstanceMaximum inside a to-many ForScope also accept a declared Date or DateTime attribute from the target entity. At this round, filtered temporal aggregations remained unsupported; unverified operands remain unsupported in this context.
Round one hundred and thirty-three (0.1.211): Boolean-filtered Date and DateTime aggregations inside ForScope.
InstanceMinimumIf, InstanceMaximumIf and InstanceValueIf inside a to-many ForScope also accept a declared target Date or DateTime value with a declared positive target Boolean filter. At this round, other temporal filter forms remained unsupported; unverified operands remain unsupported in this context.
Round one hundred and thirty-four (0.1.211): negative Boolean filters for Date and DateTime aggregations.
- Those three functions also accept declared target Boolean filters in negative and
it is not true that forms. Certainty and comparison filters remained unsupported at this round; other unverified operands remain unsupported for these temporal values inside a to-many ForScope.
Round one hundred and thirty-five (0.1.212): Boolean certainty filters for Date and DateTime aggregations.
- Those three functions also accept declared target Boolean filters in
it is known, certain, uncertain and currently known whether forms. Other temporal filter forms, including currently unknown whether, and unverified operands remain unsupported in this context.
Round one hundred and thirty-six (0.1.212): same-type temporal attribute comparison filters.
InstanceMinimumIf, InstanceMaximumIf and InstanceValueIf over Date or DateTime values also accept filters comparing two declared target attributes of the same temporal type, using all six comparison operators. Mixed types, Text filters, non-target attributes, aliases and inferred or automatic operands remain unsupported.
Round one hundred and thirty-seven (0.1.212): same-type temporal literal comparison filters.
- Those functions also accept comparisons between a declared target Date/DateTime attribute and a same-type date or date-time literal, using all six comparison operators. The literal must match the aggregation value's type; other literal types and unverified operands remain unsupported.
Round one hundred and thirty-eight (0.1.212): same-type temporal value-certainty filters.
- Those functions also accept
known, unknown, certain, uncertain, currently known and currently unknown filters on a declared target Date/DateTime attribute matching the aggregation value's type. Other filter types and unverified operands remain unsupported in this temporal context.
Round one hundred and thirty-nine (0.1.212): cross-type certainty filters on temporal aggregations.
- Those temporal aggregations also accept the six certainty forms on declared target Number, Currency and Text attributes. Temporal filter attributes must still match the aggregation value's Date/DateTime type; other unverified operands remain unsupported.
Round one hundred and forty (0.1.212): cross-temporal certainty filters.
- Date aggregations may use certainty filters on declared target DateTime attributes, and DateTime aggregations may use Date certainty filters. This applies to certainty tests only; temporal comparisons still require matching types.
Round one hundred and forty-one (0.1.213): Text-valued conditional aggregations in nested scopes.
InstanceValueIf with a declared target Text value can now be compared inside a to-many ForScope when filtered by a Boolean, Text equality/inequality, or a supported certainty test.
Round one hundred and forty-two (0.1.213): TimeOfDay attribute comparisons.
- Same-entity declared TimeOfDay attributes may now be compared using
=, <>, <, <=, > and >=. TimeOfDay literals and other TimeOfDay expressions remain unsupported.
Round one hundred and forty-three (0.1.214): TimeOfDay minimum and maximum comparisons.
InstanceMinimum and InstanceMaximum over a declared target TimeOfDay attribute may be compared with a declared TimeOfDay attribute using all six comparison operators in a verified scope. Time literals and other TimeOfDay aggregate or arithmetic forms remain unsupported.
Round one hundred and forty-four (0.1.215): TimeOfDay values through For().
- A declared TimeOfDay attribute reached through a declared relationship may be compared with another declared TimeOfDay attribute using all six comparison operators. Unverified literals, types and relationship paths remain unsupported.
Round one hundred and forty-five (0.1.216): conditional TimeOfDay minimum and maximum comparisons.
InstanceMinimumIf and InstanceMaximumIf over a declared target TimeOfDay attribute may use a positive declared target Boolean filter and compare with another declared TimeOfDay attribute using all six operators. Other filter forms, literals and unverified expressions remain unsupported.
Round one hundred and forty-six (0.1.217): Boolean filters for conditional TimeOfDay extrema.
InstanceMinimumIf and InstanceMaximumIf also support declared target Boolean filters using negation, it is not true that, and the known, certain, uncertain and currently known tests. Other filter types and unverified expressions remain unsupported.
Round one hundred and forty-seven (0.1.218): typed certainty filters for conditional TimeOfDay extrema.
InstanceMinimumIf and InstanceMaximumIf can use known/unknown/certain/uncertain tests on declared target Number/Currency, Text, Date or DateTime attributes. TimeOfDay certainty wording and filters from other entities remain unsupported.
Round one hundred and forty-eight (0.1.219): typed comparison filters for conditional TimeOfDay extrema.
InstanceMinimumIf and InstanceMaximumIf can also be filtered by comparisons between declared target attributes of the same type: Number, Currency, Text, Date or DateTime. Literals, mixed types and other-entity operands remain unsupported.
Round one hundred and forty-nine (0.1.220): typed literal filters for conditional TimeOfDay extrema.
InstanceMinimumIf and InstanceMaximumIf can use supported Number, Currency, Text, Date and DateTime literal comparisons as filters, including negative numbers and Text equality/inequality. TimeOfDay literal filters, mixed types and other-entity operands remain unsupported.
Round one hundred and fifty (0.1.221): mixed Number/Currency filters for conditional TimeOfDay extrema.
InstanceMinimumIf and InstanceMaximumIf also accept comparisons between declared target Number and Currency attributes in either order. Other cross-type attribute comparisons remain unsupported.
Round one hundred and fifty-one (0.1.222): TimeOfDay attribute filters for conditional TimeOfDay extrema.
InstanceMinimumIf and InstanceMaximumIf can use all six comparisons between declared target TimeOfDay attributes as filters. TimeOfDay literals and filters from other entities remain unsupported.
Round one hundred and fifty-two (0.1.223): source-aware TimeOfDay filter validation.
- The paragraph pre-scan now recognizes the exact nested TimeOfDay comparison-filter form and defers it to typed validation. This enables the target filters from round 151 while keeping wrong-entity uses source-located and TimeOfDay literal filters unsupported.
Round one hundred and fifty-three (0.1.224): broader quoted Text filters for conditional aggregates.
- Conditional aggregates now accept Oracle-verified quoted Text filters with punctuation across Number, Currency, Date, DateTime, Text and TimeOfDay value paths. Commas and empty strings remain limited to the verified minimum/maximum forms; repeated spaces are supported only in verified forms.
Round one hundred and fifty-four (0.1.224): parser-sensitive characters in quoted aggregate filters.
- Verified quoted Text filters may contain parentheses,
+, and the words and/or without being mistaken for call delimiters or condition connectors. Unquoted connector traps and unverified literal forms remain unsupported.
Round one hundred and fifty-five (0.1.225): whitespace in quoted aggregate filters.
- Verified aggregate-specific forms preserve leading or trailing spaces, repeated spaces, and whitespace-only values. Count/Sum and extrema/Text-value aggregates retain their measured limits; this is not unrestricted whitespace support.
Round one hundred and fifty-six (0.1.225): additional ASCII symbols in quoted aggregate filters.
- Verified filters preserve
_, ., &, %, !, ?, :, ;, =, @, ~, |, [/], and {/} across conditional aggregate value types. Other unverified characters and embedded-quote forms remain unsupported.
Round one hundred and fifty-seven (0.1.226): leading symbols in quoted aggregate filters.
- Conditional aggregate Text filters now accept the measured leading symbols
(, #, [, &, /, !, { and _ followed by a letter or digit. Leading spaces before these symbols, repeated spaces and commas in these forms remain unsupported.
Round one hundred and fifty-eight (0.1.226): literal-first aggregate filters.
- Conditional aggregate filters can compare a literal first with a declared target attribute, preserving operand order. Number, Currency, Date and DateTime support all six symbolic operators; Text supports
= and <>. This round covered non-negative whole numbers, ISO Date/DateTime values and simple quoted alphanumeric Text.
Round one hundred and fifty-nine (0.1.227): richer literal-first aggregate filters.
- Literal-first filters also support verified signed and decimal numbers (including
$-prefixed positive numbers), and the existing quoted Text filter forms with punctuation and measured whitespace. Other literal forms and non-target attributes remain unsupported.
Round one hundred and sixty (0.1.227): numeric filters for Date and DateTime aggregations.
InstanceMinimumIf, InstanceMaximumIf and InstanceValueIf over Date or DateTime values can use verified Number and Currency literal or attribute comparisons as filters, including mixed Number/Currency attribute comparisons and literal-first comparisons. Referenced attributes must be declared on the aggregate target.
Round one hundred and sixty-one (0.1.228): cross-temporal and Text attribute filters.
- Date/DateTime conditional aggregations can also filter using comparisons of declared target DateTime attributes or literals for Date results, and Date attributes or literals for DateTime results. Text attribute equality and inequality filters are supported too. The two filter operands must still be compatible; Date and DateTime cannot be compared to each other.
Round one hundred and sixty-two (0.1.228): TimeOfDay attribute filters for temporal aggregations.
InstanceMinimumIf, InstanceMaximumIf and InstanceValueIf over declared target Date or DateTime values can filter on comparisons between declared target TimeOfDay attributes. Direct and ForScope-nested aggregations compared with an ISO Date or DateTime literal are supported; TimeOfDay literals remain unsupported.
Round one hundred and sixty-three (0.1.228): temporal attribute comparisons.
- These aggregations can also be compared with a declared matching Date or DateTime attribute on the relationship source, its containing entity, or Global.
Round one hundred and sixty-four (0.1.229): defaults around additional conditions.
Default and DefaultWithUnknown accept verified negated declared Booleans, certainty tests and selected For/InstanceCount comparisons, including inside ForScope. Declared text values selected through a to-one For can also be compared directly with simple quoted alphanumeric literals using = or <>. Other unverified forms remain unsupported.
Round one hundred and sixty-five (0.1.229): Excel and interview metadata.
- The native compiler accepts verified sheet-local Excel filter database and hyperlink bookmark names, and empty interview button sizes. Active filters, other hidden names and unverified references remain unsupported.
Round one hundred and sixty-six (0.1.229): nested aggregate navigation.
- Selected
InstanceCount, InstanceCountIf, InstanceSumIf and InstanceValueIf values can be nested directly inside For(). Selected InstanceValueIf, InstanceMinimum and InstanceMaximum values can also navigate back to a containing entity with For(). Unverified scopes, types and filters remain unsupported.
Round one hundred and sixty-seven (0.1.230): value names and Currency inference.
- Rule-introduced Number and Text names can include verified parenthesised codes and phrases such as
(AB/CD) or (Rate Plan), including in Word table headings. Selected entity values assigned from Global or containing-entity Numbers can be inferred as Currency when directly compared with a declared Currency of the same entity. Ambiguous wording and unverified Currency inference remain unsupported.
Round one hundred and sixty-eight (0.1.230): temporal and numeric functions.
- Word rules support
TemporalDaysSince, TemporalWeeksSince, TemporalMonthsSince and TemporalYearsSince, plus selected IntervalWeightedAverage, IntervalCountDistinct, IntervalMinimum and IntervalMaximum forms. Remainder is supported for Number values in Word and Excel. Unverified argument types and Currency in Remainder remain unsupported.
Round one hundred and sixty-nine (0.1.230): nested relationship navigation.
- Selected nested
For() calls can navigate two relationships in Word conditions and Number, Text or Date values, including Excel conclusion cells. The inner relationship must start at the outer target; unverified operands and deeper nesting remain unsupported.
Round one hundred and seventy (0.1.231): temporal arguments.
- Word temporal reasoning functions accept selected declared Boolean negations, certainty tests and Number comparisons. Selected
For() values, including two-level Number navigation, can also be used in value arguments. Unverified conditions, substitutions and other scoped values remain unsupported.
Round one hundred and seventy-one (0.1.231): grouped conditions and Currency arguments.
- Selected declared conditions in Word and generic Excel condition cells accept whole parentheses. A single space before the opening parenthesis is supported for
DefaultWithUnknown, Exists, ForAll and ExistsScope in conditions. Selected temporal functions and Text accept declared Currency inputs; inferred Currency and other unverified forms remain unsupported.
Round one hundred and seventy-two (0.1.232): temporal timelines and alias scopes.
TemporalOncePerMonth is supported in Word conditions and selected temporal arguments. Selected temporal functions accept a declared Currency value reached directly through For(). Certain overlapping alias wordings, same-entity nested scopes and instance comparisons are also supported; ambiguous and unverified forms remain unsupported.
Round one hundred and seventy-three (0.1.232): scoped conclusions and temporal Currency inference.
- Selected literal Number/Text conclusions and guarded aggregate conclusions can use scoped conditions. Selected possessive alias overlaps are supported, and whole temporal calls over declared Currency can infer Currency or Number targets. Other unverified forms remain unsupported.
Round one hundred and seventy-four (0.1.233): workbook legend keys and alias wording.
- Workbook legend keys can refer to same-type data-model attributes whose declaration text differs only in capitalization. Selected alias wordings can overlap longer or shorter relationship texts; ambiguous and unverified forms remain unsupported.
Round one hundred and seventy-five (0.1.233): scoped values and aliases.
- Selected aliases may extend shorter value-attribute wording, and selected declared scoped values may contain “and” or “or” in their names. Nested
For() calls can use certain rule-introduced Boolean or Number values; unverified forms remain unsupported.
Round one hundred and seventy-six (0.1.234): automatic temporal operands.
- An automatic attribute can inherit Date or DateTime from a compatible whole-value assignment or comparison, including selected Word rule table values. Conflicting or unverified uses remain unsupported.
Round one hundred and seventy-seven (0.1.234): assignment spacing and Currency inference.
- Word assignments accept extra spaces around
=, preserving quoted values. Selected entity values calculated from declared Currency and a Global or containing-entity Number infer Currency; ambiguous cases remain unsupported.
Round one hundred and seventy-eight (0.1.235): defaults and alias scopes.
Default() and DefaultWithUnknown() accept selected resolved automatic and rule-introduced tests, negations and scoped values. Selected nested entity/alias identity comparisons also compile; ambiguous and unverified shapes remain unsupported.
Round one hundred and seventy-nine (0.1.235): Currency inputs.
- Selected temporal functions and
Text() accept direct rule-introduced Currency values. Selected resulting Currency, Number and Text attributes can also be introduced by Word rules or tables; unverified inference remains unsupported.
Round one hundred and eighty (0.1.235): Word table headings and default comparisons.
- Selected Word table value headings may contain an internal
and or or; selected Boolean headings may contain capitalized words. Literal comparisons inside Default() and DefaultWithUnknown() can determine an automatic attribute's type.
Round one hundred and eighty-one (0.1.236): Currency table arithmetic.
- An isolated Word table calculation can use an introduced Currency value and a containing entity's Number. Ambiguous shared-source Currency inference remains unsupported.
Round one hundred and eighty-two (0.1.236): temporal Currency.
- Selected temporal calculations accept resolved automatic or introduced dates and
AddDays() date arguments. Selected InstanceSumIf() calculations can use ValueAt() on Currency with an introduced Boolean filter; selected Text() conversions accept automatic Currency values.
Round one hundred and eighty-three (0.1.237): implicit temporal inputs.
- Selected
ExtractYear(), ExtractMonth(), MonthDifference() and YearDifference() calls can introduce Date or DateTime inputs. Direct InstanceMinimum() and InstanceMaximum() assignments can introduce child temporal inputs; ambiguous types and unverified scopes remain unsupported.
Round one hundred and eighty-four (0.1.237): text expressions.
- Text concatenation accepts selected expressions without spaces around
+. Selected Substring() indices can use declared Number attributes or Find() and Length(); unverified argument forms remain unsupported.
Round one hundred and eighty-five (0.1.238): workbook Boolean headings.
- Selected future-tense entity Boolean headings compile in workbook rules. Other Boolean headings can use their exact reading from the last Oracle build; stale or ambiguous readings remain unsupported.
Round one hundred and eighty-six (0.1.238): case-variant Boolean readings.
- When a cached Boolean conclusion is also used with different capitalization, the native compiler can follow the last Oracle build's matching linked reading. Missing or incompatible readings remain unsupported.
Round one hundred and eighty-seven (0.1.239): nested temporal values.
- Selected
ValueAt() expressions can navigate to rule-introduced Numbers, or through nested InstanceValueIf() values using Number or Currency and a Text equality filter against an enclosing scope. Unverified scopes and filters remain unsupported.
Round one hundred and eighty-eight (0.1.239): certainty and monthly inputs.
- Selected Boolean certainty tests accept
whether or not. Whole TemporalOncePerMonth() Word conditions can introduce selected Number day inputs when their Date arguments are resolved. Conflicting types, ambiguous capitalization and unverified forms remain unsupported.
Round one hundred and eighty-nine (0.1.240): guarded scopes and entity dates.
- Selected aggregate conclusions can use matching inferred Boolean guards. Selected
For() values accept matching known-and-certain scope guards; nested For() calls can read declared Currency values or a containing entity's Boolean. Selected first/last-day-of-month Date conclusions can be placed in the entity named within their wording. Ambiguous placement and unverified forms remain unsupported.
Round one hundred and ninety (0.1.240): unknown tests and tagged conditions.
- Selected Boolean
it is [currently] unknown whether [or not] ... tests and rule tags on scope headers or selected Default() and DefaultWithUnknown() conditions are supported. Other unverified tagged default operands remain unsupported.
Round one hundred and ninety-one (0.1.241): nested scopes and workbook headings.
- Selected nested scopes can read relationships from the enclosing rule and Number/Currency or Boolean values from a containing entity. Temporal functions accept selected defaulted Boolean conditions. Trailing line breaks in workbook conclusion headings are read as Oracle reads them; other unverified line breaks remain unsupported.
Round one hundred and ninety-two (0.1.241): mixed alias scopes.
- Selected nested aliases can compare an instance reached through an enclosing
For() relationship with the innermost alias. Selected unaliased quantifiers inside an alias can also test a declared Boolean from the enclosing rule entity. Other scope shapes remain unsupported.
Round one hundred and ninety-three (0.1.242): implicit TimeOfDay inputs.
- Selected conditional TimeOfDay minimum and maximum filters can compare a declared target time with an implicit Global TimeOfDay input. Even a clock-shaped expression such as
09:30 AM is an input in these Oracle-verified forms, not a time literal. Conflicting or unverified uses remain unsupported.
- Ambiguous implicit conditions such as
the shade is not AB are now refused rather than silently compiled as a negation: Oracle can read the entire wording as a positive Boolean. Explicitly declared Boolean negations continue to work.
Round one hundred and ninety-four (0.1.242): nested aggregate values.
- Selected conditional aggregations can now use another child aggregation or a to-one
For() as their value. Verified Number, Currency, Text and Date forms include selected rule-introduced values and filters; other nested shapes remain unsupported.
Round one hundred and ninety-five (0.1.243): stored modal wording.
- Selected rule-introduced
should get conclusions can use Oracle's stored Boolean reading when not is part of the object text, such as a status label. Conflicting readings and ambiguous document contexts remain unsupported.
Round one hundred and ninety-six (0.1.243): Excel Apply Sheet tables and cell reading.
- A rule table whose only conclusion column is headed
Apply Sheet now compiles: each row's conditions decide which worksheet's tables apply, and OPM's consolidated rule is built for each attribute those worksheets conclude (no more false "more than one rule concludes" errors). Worksheets that no row names compile as ordinary tables. Each applied worksheet must have exactly one table concluding each attribute.
- Inside a rule table, cells in other styles (commentary, Normal, Excel's copied styles such as
OPM - Else 2) are ignored as empty, as in OPM.
- Number cells are read by their stored value (a cell saved as
9.5000000000000001E-2 is 0.095) when that value has at most 15 significant digits.
- The typographic apostrophe
’ reads as ' in attribute wording in Excel cells; text values keep it as written. Typographic double quotes are not quotes in Excel and stay unsupported.
Round one hundred and ninety-seven (0.1.243): Excel cell values, keys and tests.
- A conclusion cell whose whole value names an undeclared attribute (bare under a Number or Currency heading, or in parentheses under any Number, Currency or Text heading) introduces that attribute as an input of the heading's type, as OPM does. Automatic data-model attributes used that way take the heading's type.
- Legend keys that are one identifier joined by underscores (such as
APP_CODE) can be used inside cell expressions, not only in headings.
- Known, unknown, certain and uncertain tests (including
currently) are supported in Excel cells.
- A Text conclusion cell containing quotation marks is literal text, as in OPM: one pair of outer quotes is removed and the rest is kept as written (it is never a concatenation).
uncertain in a Text cell is the uncertain value.
Round one hundred and ninety-eight (0.1.243): Currency or Number from the last OPM build.
- Whether OPM types an undeclared amount Currency or Number can depend on the whole project (for example an entity amount assigned from a Global Number and compared with Currency). When the last OPM build is available, the native compiler now follows the type that build stored instead of refusing. Without a previous build these attributes stay unsupported; declaring them in the data model removes the dependency.
Round one hundred and ninety-nine (0.1.243): conditions inside Default and negated function arguments.
- An undeclared yes/no attribute used only as the condition of
Default(<condition>, true|false) or DefaultWithUnknown(...) is introduced, as it already was inside Exists, ForAll, For and the Instance...If functions.
- A negated condition inside one of these functions (for example
the household does not have a car) introduces the positive attribute that the last OPM build links it to.
Round two hundred (0.1.243): data model declarations as OPM builds them.
- A declared attribute whose text starts with another entity's text (or with no entity's text) is placed as OPM places it: in the entity its text names, or in Global. When the declaration is marked to keep its entity (OPM's entity override, set when you choose the entity yourself), it stays where the data model puts it. Previously both were refused.
- The same attribute declared twice in one entity (same text, name and type) is treated as one attribute, as in OPM.
Round two hundred and one (0.1.243): data model gaps filled from the last OPM build.
- A declared yes/no attribute whose wording the native compiler cannot read (no stored parse, or a parse it does not verify) now takes the report wording the last OPM build stored for it.
- An automatic attribute that the rules leave untyped for the native compiler takes the type the last OPM build gave it. Date and DateTime are taken only when no rule the native compiler reads uses the attribute, so a stale build cannot override a use.
- Without a previous build both stay unsupported, as before.
Round two hundred and two (0.1.243): worksheet display features and fewer false stale caches.
- Hidden columns and rows are read like any other cells, as OPM reads them. A worksheet picture (with its image) is ignored as presentation; charts, shapes and text boxes stay unsupported.
- A merged rule cell whose covered cells repeat its own value compiles as an ordinary merge.
- Word rule caches are no longer reported out of date for page-break-only paragraphs, whitespace-only blank lines, or a leftover
otherwise in a commented-out table.
Round two hundred and three (0.1.243): dates as text, and Global values in entity tables.
Text(<date>) and Text(<date and time>) convert dates to text, also inside text concatenations such as debug names.
- In Excel, a Date or DateTime conclusion cell wholly in parentheses (a reference, a date function or
For()) is that expression.
- An entity's Excel rule table can read Global attributes in any cell, not only in its headings.
Round two hundred and four (0.1.243): automatic dates typed from date functions.
- An attribute of automatic type that is used only inside date functions now gets the type OPM infers for it (OPM shows "Automatic (Date)"). The uses can be
ExtractYear/ExtractMonth, YearDifference/MonthDifference beside a date, or a minimum/maximum aggregation inside Minimum()/Maximum() beside a date, plus "is currently known" tests. This also works in Word rule table value cells.
- Attributes assigned from date functions that return a number (
ExtractMonth, YearDifference, TemporalDaysSince and similar) are Numbers. Dates computed from them (AddDays(<date>, <that number>)), and minimum or value aggregations of dates filtered by rule-made yes/no attributes, are Dates, as OPM infers.
- A yes/no attribute declared without a name, that no rule uses and whose wording native can't read, no longer blocks the build. OPM leaves it out of the rulebase.
Native compiler speed and editor groundwork (next release).
- The native comparison compiles a large project about two to two and a half times faster, with identical results.
- Groundwork for live checking in WordCraft (linter roadmap phase 1): diagnostics can carry codes, severities, character spans, related locations and quick fixes, and Word paragraph diagnostics can be located to the exact characters of the paragraph as written. Nothing user-visible uses these yet.
- A native project session can keep the compiler open on a project and check live, unsaved document content against the rest of the project, recompiling only the rules of documents that changed (groundwork; not yet wired into the editors). Results are always identical to a full compile.
Round two hundred and sixty-six (0.1.243): anchored date/time inputs.
- Word assignments and comparisons can introduce Date/DateTime inputs with verified capitalized names or one internal
and/or. Entity inputs can use an already typed Global or same-entity date/time anchor; Word table condition cells are included.
- Conflicting types or spellings, unverified scopes, aliases and table function-input/value discovery retain their safeguards.
- Large project: native-only diagnostics 550 to 543; with stored readings, one deliberate safety refusal remains. Source, caches and output unchanged.
Round two hundred and sixty-five (0.1.243): Boolean spelling in Word and Excel conditions.
- An implicit yes/no attribute with case variants in Word can also be used as an exact Excel condition heading or generic condition cell without a previous build, for the verified
the <one-word subject> is/has ... wording when first spellings agree. Other workbook contexts for these case variants and ambiguous spellings remain unsupported.
- Large project: native-only diagnostics remain at 550; with stored readings, one deliberate safety refusal remains.
Further investigation confirmed that Oracle can choose different report spellings on identical fresh builds, and different Boolean report forms when only inert document content changes. These native-only linking cases still require a compatible previous-build reading or explicitly declared model wording; filename order is not a safe replacement.
The large project's 91 workbook-declared Booleans were checked individually: all have conflicting Word and Excel reading candidates, with no agreement case to enable from source alone. Their 229 native-only diagnostics remain deliberate safeguards, not missing type declarations.
Round two hundred and sixty-four (0.1.243): Boolean spelling and commentary.
- Word commentary, rule names and headings no longer block verified case-variant Boolean readings; rule text still determines the spelling.
- Large project: native-only diagnostics 552 to 550; with stored readings unchanged at one deliberate safety refusal.
Round two hundred and sixty-three (0.1.243): Currency remainder.
- In Global Word paragraphs,
Remainder() accepts verified arithmetic using declared Global Currency and Number attributes. Its result is inferred as Number unless other uses affect the type.
- Large project: native-only diagnostics remain at 552; with stored readings, one deliberate safety refusal remains.
Round two hundred and sixty-two (0.1.243): Boolean spelling and negatives.
- Verified case variants can also share their exact verb-list negative in supported Word paragraphs and table conditions. Each document using the negative must also use the positive; ambiguous readings are still refused.
- Large project: native-only diagnostics 553 to 552; with stored readings unchanged at one deliberate safety refusal.
Round two hundred and sixty-one (0.1.243): Boolean spelling.
- Verified case variants of an implicit yes/no attribute can share the first spelling in Word paragraphs and Word table conditions. When several documents use it, their first spellings must agree; ambiguous readings are still refused.
- Large project: native-only diagnostics 576 to 553; with stored readings unchanged at one deliberate safety refusal.
Round two hundred and sixty (0.1.243): positive Boolean wording.
- In verified same-document cases, a positive
is or has wording and its natural negative are treated as one yes/no attribute, even when another word could be read as a verb. This applies to rule conclusions and condition-only inputs.
- Ambiguous cross-document, workbook, custom-verb and stored-reading cases are not guessed.
- Large project: native-only diagnostics remain at 576; with stored readings, one deliberate safety refusal remains.
Round two hundred and fifty-nine (0.1.243): Boolean readings.
- Implicit yes/no wording such as
the people have received a letter uses the project's verb list to recognize the participle and link the people have not received a letter.
- Long implicit Boolean objects also work after verified single verbs with multiword subjects, including entity rules.
- A Boolean explicitly declared in the data model can retain its verified custom negative wording when also declared in an Excel workbook and used from Word.
- Large project: native-only diagnostics 585 to 576; with stored readings unchanged at one deliberate safety refusal.
Round two hundred and fifty-eight (0.1.243): longer Boolean wording.
- Implicit yes/no rules accept verified object phrases containing
to have been, has been or has already been after the sentence's first verb.
- Implicit
the <subject> is/has ... rules accept object phrases of up to 32 words, including their linked negative forms. Unverified wording remains unsupported.
- Large project: native-only diagnostics 605 to 585; with stored readings unchanged at one deliberate safety refusal.
Round two hundred and fifty-seven (0.1.243): parenthesized workbook Text conditions.
- In a declared Text condition column,
(the applicant's code), = (the applicant's code) and <> (the applicant's code) compare against the declared Text attribute, rather than against literal cell text. Other parenthesized expressions remain unsupported.
Round two hundred and fifty-six (0.1.243): workbook declarations and inputs, document negations, defaulted comparisons.
- A workbook that redeclares an attribute with exactly the same model (including relationship wording) compiles instead of being refused as a conflicting declaration.
- Workbook Boolean declarations whose capitalisation differs from the stored reading are respelled to the stored spelling, so their negated forms resolve as OPM reads them.
- Workbook text conditions with quotes inside an unquoted cell, and workbook value inputs whose wording starts with another attribute's text (any capitalisation), compile as OPM reads them.
- A condition-only verb attribute negated in one document takes its negative reading from that document's own rule cache.
DefaultWithUnknown(<attribute> = "<text>", true|false) introduces its attribute like a plain condition line.
- Large project: with readings 9 diagnostics to 1 (the remaining one is a deliberate safety refusal); native-only 609 to 605.
Round two hundred and fifty-five (0.1.243): heuristic (shortcut) default rules.
- A rule marked heuristic by an "OPM - rule type" paragraph ("shortcut rule", "heuristic rule") compiles when it is an unconditional value assignment (
<attribute> = <value>), as OPM emits it; conditional heuristic rules are still refused.
- Large project: with readings 11 to 9 diagnostics (clean Word 202 to 203, clean Excel 61); native-only 611 to 609.
Round two hundred and fifty-four (0.1.243): workbook Number declarations used as Text.
- A workbook-declared number attribute that a Word rule builds as text and that its own workbook also joins into text compiles as text, as OPM does (either use alone is still rejected, as OPM rejects it).
- Repeated spaces in any workbook condition cell read as one.
- Large project: with readings 18 to 11 diagnostics (clean Word 199 to 202, clean Excel 60 to 61); native-only 618 to 611.
Round two hundred and fifty-three (0.1.243): aliases compared as values.
- An alias compared with a value (
the skip <> the group's category) reads as the identifying attribute of its entity, when that attribute is spelled like the entity, as Oracle reads it.
- Large project: with readings 20 to 18 diagnostics (clean Word 199, clean Excel 60); native-only 620 to 618.
Round two hundred and fifty-two (0.1.243): IsMemberOf() relationship conclusions with an alias.
IsMemberOf(<entity>, <alias>, <relationship>) if compiles as the relationship conclusion <entity> (<alias>) is a member of <relationship> if, with the alias usable in its conditions (membership tests, ForScope(<alias>'s <relationship>, ...)).
- Large project: with readings 24 to 20 diagnostics (clean Word 199, clean Excel 60); native-only 624 to 620.
Round two hundred and fifty-one (0.1.243): multi-conclusion workbook tables that build on their own columns.
- In a workbook table with several conclusion columns, a column may use another column's result (no column may depend on itself, directly or round a cycle).
- Workbook currency columns may add and subtract currency attributes.
- Large project: with readings 25 to 24 diagnostics (clean Word 199, clean Excel 59 to 60); native-only 625 to 624.
Round two hundred and fifty (0.1.243): TRUNC expressions in workbook number conditions.
- A workbook number or currency condition cell may compare with
TRUNC(<expression>, 0) (for example <= TRUNC(100% Base One * 1.5 + Step-Up Amount, 0)).
- Legend keys with a percent word (
100% Base One) or hyphenated words (Step-Up Amount) now work inside cell expressions, not only as headings.
- Large project: with readings 26 to 25 diagnostics (clean Word 199, clean Excel 58 to 59); native-only 626 to 625.
Round two hundred and forty-nine (0.1.243): long Text concatenations.
- A Text conclusion may concatenate an
InstanceValueIf() whose value itself joins Text with " " and DefaultWithUnknown(<text>, <text>), together with Text(<date>) of a containing entity.
- Large project: with readings 27 to 26 diagnostics (clean Word 198 to 199, clean Excel 58); native-only 627 to 626.
Round two hundred and forty-eight (0.1.243): defaulted For() values, nested ForScope over several instances, negations in other documents.
- A yes/no attribute may be assigned
DefaultWithUnknown(For(<relationship>, <yes/no>), FALSE), also over a relationship with several instances.
ForScope() over several instances may contain another ForScope() over several instances (with aliases, counts, ExistsScope and InstanceEquals).
- A negated wording used in a document without its positive compiles when that document's current Oracle cache links it to the attribute.
- Large project: with readings 30 to 27 diagnostics (clean Word 196 to 198, clean Excel 58); native-only 628 to 627.
Round two hundred and forty-seven (0.1.243): leftover table columns and workbook Exists() cells.
- A Word rule table on a three-column grid whose third column Word left empty (an empty narrow header cell,
gridAfter on the other rows) compiles like OPM, ignoring that column.
- Workbook generic condition cells may be one
Exists(<relationship>, <condition>) call, also when the condition is an undeclared yes/no wording that the last build stored as one attribute (repeated spaces read as one).
- Large project: with readings 32 to 30 diagnostics (clean Word 195 to 196, clean Excel 58); native-only 630 to 628.
Round two hundred and forty-six (0.1.243): case variants and capitalized table headers, from the last build.
- With stored readings, a workbook heading or generic conclusion cell that differs only in letter case from a rule-introduced yes/no attribute compiles, spelled as the last OPM build spelled it (Oracle's spelling depends on link order).
- With stored readings, an undeclared true/false Word table header with capitalized words (
... for Child Safety XY) is introduced with the last build's reading.
- Without stored readings, such case variants in generic conclusion cells are now refused instead of compiled with a guessed spelling.
- Large project: with readings 35 to 32 diagnostics (clean Word 194 to 195, clean Excel 57 to 58); native-only 627 to 630 (one more link-order case refused, two extra messages on cells already refused).
Round two hundred and forty-five (0.1.243): workbook declarations and headings.
- A legend key whose workbook declaration gives another type than the data model now names the data-model attribute with the data model's type (verified: a workbook Text over a model Number or Currency, a workbook Boolean over a model Text).
- The same attribute declared in two workbooks with different capitals is one attribute; with stored readings its spelling is the one the last OPM build used.
- A data-model attribute of automatic type whose text contains "and" or "or" can be a
For() value.
- Undeclared workbook headings may contain hyphenated words (
The Part-Time Bonus Multiplier).
- Large project: with readings 39 to 35 diagnostics (clean Word 194, clean Excel 55 to 57); native-only 628 to 627.
Round two hundred and forty-four (0.1.243): more workbook forms.
- Workbook legend keys that only share a prefix with other keys (
ZONE_CODE and ZONE_CODE_TYPE) work in cells, and a cell naming a longer key that contains a shorter one (Blue Ready beside READY) reads the longer key.
- An empty template table (generic headings, no content) is skipped; an empty condition heading heads a generic condition column.
- Excel TRUE/FALSE cells in generic condition columns, repeated spaces around
= in condition cells, and repeated spaces in generic conclusion cells read as Oracle reads them.
- Large project: with readings 45 to 39 diagnostics (clean Word 194, clean Excel 50 to 55); native-only 632 to 628.
Round two hundred and forty-three (0.1.243): Word table notes and commented-out rows are dropped like OPM does.
- In Word rule tables, native compilation now drops exactly what Oracle drops, without a message (decision 2026-11-25): extra paragraphs after the first in a header or value cell (any style), text beside otherwise, rows whose value cell is written in a comment style (commented-out rows), and rows whose condition cell holds only commentary.
InstanceMinimumIf() may filter with For(<relationship>, <number attribute> = <number>).
- Large project: with readings 50 to 45 diagnostics (clean Word 190 to 194, clean Excel 50); native-only 634 to 632.
Round two hundred and forty-two (0.1.243): instance creation tables and more table and relationship forms.
- A Word rule table whose header names a relationship creates instances (each value is the new instance's identity), for containment relationships from an entity.
- A table value may be
For(<relationship>, For(<relationship from the same entity>, <amount>)), and a tagged ... is currently known line works inside nested scopes.
- A membership conclusion written with other capitals is a relationship conclusion everywhere (also when its condition reads the relationship's source).
- "OPM - blank line" paragraphs inside table cells may contain brackets; they are ignored like Oracle does.
- Large project: with readings 55 to 50 diagnostics (clean Word 187 to 190, clean Excel 50); native-only 638 to 634.
Round two hundred and forty-one (0.1.243): relationship conclusions, workbook currency columns, inline proofs.
- A relationship conclusion may write its entity with other capitals (
The club's qx record (the other record) is a member of ...).
- Workbook currency columns accept
For(...) times a number, a number attribute (declared or concluded in Word), and a number at the end of a For() chain.
- Workbook condition cells may be one
TemporalOnOrAfter(<date>) call.
- Under a relationship conclusion's alias,
<the rule's entity> is a member of <relationship> compiles.
- Inside
ExistsScope(), a condition with deeper lines may prove an attribute of an entity that contains the scope's entity (one or two levels up).
- Large project: with readings 62 to 55 diagnostics (clean Word 185 to 187, clean Excel 49 to 50); native-only 644 to 638.
Round two hundred and forty (0.1.243): DateTime from text, NextDayOfTheWeek, ValueAt in workbooks.
DateTime(<text>), ConcatenateDateTime(<date>, TimeOfDay("hh:mm:ss")) and DefaultWithUnknown() of the two compile as date-and-time values; such a value concluded in Word can be used inside aggregations.
NextDayOfTheWeek(<date>, <day name>) compiles.
- An
InstanceValueIf() filter may be For(<relationship>, For(<relationship>, DefaultWithUnknown(<yes/no>, false))).
- A workbook conclusion cell may be a whole
ValueAt(<date>, ...), also of a currency amount reached through For() and InstanceValueIf().
- Large project: with readings 67 to 62 diagnostics (clean Word 182 to 185, clean Excel 48 to 49); native-only 647 to 644.
Round two hundred and thirty-nine (0.1.243): temporal values in aggregations, "latest" filters and aliases.
InstanceValueIf(<relationship>, For(<relationship>, WhenLast(...)/WhenNext(...)), <yes/no>) compiles, also inside AddDays().
- An
InstanceValueIf() filter may pick the instance with the highest or lowest number: <number> = InstanceMaximum(<the same relationship>, <the same number>).
InstanceEquals() accepts an alias written with different capitals, and the rule's own entity compared with an alias two scopes down.
- An alias may start with an entity's possessive (
the group's partner while entity the group exists).
- A Word value with one closing parenthesis too many stays refused: Oracle silently reads the parenthesis into a new attribute.
- Large project: with readings 73 to 67 diagnostics (clean Word 182, clean Excel 48); native-only 654 to 647.
Round two hundred and thirty-eight (0.1.243): more nested aggregations.
InstanceSum(<relationship>, For(<relationship>, InstanceSumIf(...))), InstanceCountIf(<relationship>, For(<relationship>, <yes/no>)) and For(<relationship>, InstanceValueIf(<relationship>, <amount>, For(<relationship>, <yes/no>))) compile.
- Inside
ForScope() over several instances, InstanceMinimum()/InstanceMaximum() may take a date of the entity that contains the relationship's target.
- Large project: with readings 77 to 73 diagnostics (clean Word 180 to 182); native-only 657 to 654.
Round two hundred and thirty-seven (0.1.243): InstanceValueIf() with quoted filters, inputs beside For().
InstanceValueIf(<relationship>, <number>, <text> = "<text>") may take a number concluded in Word, and may sit inside For() and ValueAt() (ValueAt(<date>, For(<relationship>, InstanceValueIf(...)))), with to-one and to-many relationships.
- A new value compared with
For(<relationship>, <attribute>) is typed from the attribute even when the attribute's name starts with a relationship's text.
- Large project: with readings 81 to 77 diagnostics (clean Word 178 to 180); native-only 662 to 657.
Round two hundred and thirty-six (0.1.243): new values in table cells, Minimum()/Maximum() and nested For().
- A value nothing concludes may appear as a Word rule table value (whole, in arithmetic or as a
Minimum()/Maximum() argument) under a number, amount or text header; it becomes an input typed by the header, as OPM types it.
- A condition
For(<relationship>, For(<relationship>, <value>)) <op> <new value> types the new value from the inner one.
- Large project: with readings 82 to 81 diagnostics; native-only 663 to 662.
Round two hundred and thirty-five (0.1.243): formatted number cells and operator-led text in workbook text columns.
- Number cells in a workbook text column read as their stored value whatever their non-date number format (percent included: 1.33 shown as 133% reads "1.33"), as OPM reads them.
- Text conclusion cells may start with
< or > followed by a space and a word, or by a digit (< one year in care, >375%); they are literal text.
- Large project: with readings 85 to 82 diagnostics (clean Word 178 to 178, Excel 46 to 48); native-only 666 to 663.
Round two hundred and thirty-four (0.1.243): "has ... not ..." wording, commas in aggregation filters.
- Yes/no wording with a literal "not" after "has" (
the person has a valid exception that is not plan specific) follows the last OPM build's stored reading when native reads it the same way.
- The condition of
InstanceSumIf() and the other Instance...If() functions may be a yes/no attribute whose text contains commas, when the text is exactly that attribute.
- Large project: with readings 88 to 85 diagnostics (clean Word 176 to 178, Excel 46 to 46); native-only 666 to 666.
Round two hundred and thirty-three (0.1.243): "is ... not ..." yes/no wording from the last build, automatic yes/no values.
- Yes/no wording with a literal "not" after "is" (
the person's document type is photo only not stamped) follows the last OPM build's stored reading when native reads it the same way.
DefaultWithUnknown(<yes/no attribute>, true|false) values may use automatic declarations resolved as yes/no.
- Large project: with readings 92 to 88 diagnostics (clean Word 174 to 176, Excel 46 to 46); native-only 667 to 666.
Round two hundred and thirty-two (0.1.243): yes/no wording with commas in For(), DefaultWithUnknown() yes/no values.
- A
For(), Exists() or ForAll() condition that is exactly a yes/no attribute concluded in Word and contains commas (the person is young, local, or remote) reads as that attribute.
<yes/no attribute> = DefaultWithUnknown(<yes/no attribute>, true|false) compiles; with stored readings, also when the concluded wording itself is read from the last OPM build.
- Large project: with readings 95 to 92 diagnostics (clean Word 172 to 174, Excel 46 to 46); native-only 670 to 667.
Round two hundred and thirty-one (0.1.243): TemporalFromRange timelines.
<yes/no attribute> = TemporalFromRange(<relationship>, <start date>, <end date>, <condition>) compiles: the dates and the condition belong to the relationship's target (end dates may use AddDays(); automatic attributes resolved as dates count), and the yes/no attribute is concluded in Word.
<that attribute> is certain may be the condition of IntervalAlways() and the other temporal functions.
- Large project: with readings 97 to 95 diagnostics (clean Word 171 to 172, Excel 46 to 46); native-only unchanged (670).
Round two hundred and thirty (0.1.243): For() over many inside aliased conclusions, date comparisons in parentheses in table cells.
- Inside a relationship conclusion with an alias,
For() over a to-many relationship to the alias's entity (directly or nested in another For()) compiles without its own alias, as OPM numbers it.
- A Word rule table condition cell that is one date comparison in parentheses (
(the benefit month < <date>)), with a declared or Word-concluded date on the right, compiles.
- Large project: with readings 100 to 97 diagnostics (clean Word 169 to 171, Excel 46 to 46); native-only 672 to 670.
Round two hundred and twenty-nine (0.1.243): attribute names with "and"/"or" in For(), ValueAt() conditions, text joined around For().
- A function argument that is exactly the text of an attribute concluded in Word reads as that attribute even when its name contains "and" or "or" (
For(<relationship>, the detail's home or facility end date)).
- A condition line that is a whole
ValueAt(<date>, <yes/no wording>) introduces that yes/no attribute, as OPM does.
- Text joined with
" - " or ": " inside For(<relationship>, ...), and For(...) + ": " + <text>, compile.
- Large project: with readings 104 to 100 diagnostics (clean Word 167 to 169, Excel 46 to 46); native-only 675 to 672.
Round two hundred and twenty-eight (0.1.243): trailing periods, en dash before a function, scope headers in and/or groups, timeline-guarded amounts.
- A condition line ending with a period (
the case has a review reason., the case's age > 10.) reads without it, as OPM reads it.
- An en dash with a space before it and a function call right after it (
the a –Maximum(0, the b)) is a minus.
- A quantifier header without "and"/"or" in the middle of a condition group takes the group's connective when every other line but the last uses the same one.
- A number or amount rule may be conditioned by
TemporalOnOrAfter(InstanceMinimum(<relationship>, <date>)), with the date on the relationship's target or source entity (declared or concluded in Word).
- Large project: with readings 108 to 104 diagnostics (clean Word 166 to 167, Excel 46 to 46); native-only 678 to 675.
Round two hundred and twenty-seven (0.1.243): conditions as yes/no table values, bookmarks in tables, Contains().
- A yes/no Word rule table value may be a condition:
DefaultWithUnknown(<yes/no attribute>, false), a comparison of a number or currency amount with another of the same entity or with a number, or TemporalFromStartDate(<relationship>, <date of its target>, true).
- Bookmarks that Word saves directly inside a rule table or row (a bookmark ending at a cell boundary) are ignored, as OPM ignores them.
Contains(<text>, "<text>") accepts text attributes concluded in Word, text inputs typed by a comparison, and automatic attributes typed as text, also inside DefaultWithUnknown(..., false).
- A condition line ending with a period right after a quoted value (
<text> = "A%".) reads without the period.
- Large project: with readings 118 to 108 diagnostics (clean Word 162 to 166, Excel 46 to 46); native-only 688 to 678.
Round two hundred and twenty-six (0.1.243): text tests in temporal conditions, scoped currency timelines.
- A text attribute compared with quoted text (
<text> = "<text>") may be the condition of IntervalAtLeastDays() and the other temporal functions even when its name contains an entity's name ("the person's health record temporal"), declared or concluded in Word.
ValueAt(<date>, For(<relationship>, InstanceValueIf(..., <currency amount>, ...))) may be assigned to an amount concluded in Word, which is then a currency amount, also when the assignment is guarded by two nested ExistsScope lines ending in a text comparison.
- Large project: with readings 124 to 118 diagnostics (clean Word 161 to 162, Excel 46 to 46); native-only 694 to 688.
Round two hundred and twenty-five (0.1.243): value inputs named after an entity, read through For().
- Undeclared values named " " ("the person's stay record negative code") are placed in that entity even when one of their words is also a verb, as OPM places them.
- Such values may be read through
For(<relationship>, ...): as an assigned value, compared with a value on the other side, or compared with "-".
- Large project: with readings 126 to 124 diagnostics (clean Word 159 to 161, Excel 46 to 46); native-only 692 to 694.
Round two hundred and twenty-four (0.1.243): more nested For() and aggregation forms.
For(<to-many>, For(<to-one>, ...)) may read a currency amount concluded in Word, or compare a number concluded in Word with a number, on the inner target.
For(<to-one>, InstanceValueIf(..., <text>, <text> = "<text>")) and For(<to-one>, InstanceSumIf(..., <currency amount>, ...)) compile.
InstanceValueIf(<relationship>, InstanceSum(<many-to-many relationship of the target>, <amount>), <yes/no attribute>) compiles.
- Large project: with readings 132 to 126 diagnostics; native-only 698 to 692.
Round two hundred and twenty-three (0.1.243): workbook headings of an entity, repeated spaces.
- Workbook conclusion headings that start with an entity's text in other capitals ("The Motor Vehicle Disregard ...") or with its possessive ("the person's ...") introduce number and text attributes of that entity, as OPM places them.
- Repeated spaces between words in rule wording ("the person meets ...") read as one space, in Word rules and in workbook cell expressions; quoted text keeps its spacing.
- Large project: with readings 142 to 132 diagnostics (clean Word 156 to 159, Excel 45 to 46); native-only 707 to 698.
Round two hundred and twenty-two (0.1.243): long value names, en dashes in words, inline proofs in table cells.
- Number, text and date attributes introduced by rules may have names longer than 16 words.
- An en dash between two letters ("Garden-Plot–Summer") reads as a hyphen, as OPM stores it.
- In Word rule table cells, a condition ending in "if" with deeper lines in the same cell is proved inline, as in rule bodies.
- Large project: with readings 150 to 142 diagnostics (clean Word 152 to 156, Excel 45 to 45); native-only 715 to 707.
Round two hundred and twenty-one (0.1.243): workbook conditions on amounts, For() and InstanceEquals beside aliases, tags on outer-entity conditions.
- Workbook condition cells may compare a currency amount concluded in Word with a number, in parentheses (also with a leading capital) or through
DefaultWithUnknown(<amount>, 0) > 0, and a declared date with a date concluded in Word.
For(<to-one relationship>, ...) may read an entity that is also open through an alias (ForAllScope(..., the other member), or a relationship conclusion's own alias).
InstanceEquals(<alias>, <entity text>) compiles when the entity is open through an unaliased ExistsScope directly above the alias.
- Rule tags on a negated condition about the containing entity, and on
Default(<attribute> is currently unknown, true).
- Large project: with readings 157 to 150 diagnostics (clean Word 149 to 152, Excel 45 to 45); native-only 718 to 715.
Round two hundred and twenty (0.1.243): workbook yes/no expressions, case variants, temporal text tests.
- Workbook yes/no conclusion cells may hold
(uncertain), a parenthesised yes/no attribute (also through a legend key) or (For(<to-one relationship>, <yes/no attribute>)).
ValueAt(<date>, <text attribute>) = "<text>" (and <>) compiles, including dates such as AddMonths(<date>, -1).
- A text value built from quoted text, attributes and
Text(...) ("name + "-" + Text(number)") types its attribute as text.
- A number assigned
InstanceMaximumIf/InstanceMinimumIf of a currency amount, guarded by Exists() with the same filter, compiles.
- A yes/no attribute written with different capitals, whose first spelling is a negated condition, follows the spelling the last OPM build kept.
- Large project: with readings 163 to 157 diagnostics (clean Word 147 to 149, Excel 43 to 45); native-only 724 to 718.
Round two hundred and nineteen (0.1.243): quoted text in quantifiers, nested scopes, negations of workbook yes/no attributes.
Exists(), ForAll() and For() conditions may compare a text attribute with simple quoted text (letters, digits, single spaces or hyphens, such as "NON-JUNIOR"), also DefaultWithUnknown(<text>, "") = "<text>".
TemporalBefore(), TemporalOnOrAfter() and the other one-date temporal conditions accept InstanceMinimum()/InstanceMaximum() over a relationship as their date.
- A Word condition " is not …" negating a yes/no attribute declared in a workbook now compiles when the last OPM build read that negation in the Word document, even if the workbook's reading decided the report wording.
- More nested forms:
For(<to-one>, <workbook yes/no attribute of the target's containing entity>) (also inside Exists() and as an aggregation filter), For(<to-one>, Exists(<to-many>, <yes/no attribute of the Exists source>)), and InstanceCountIf(<relationship>, InstanceCountIf(...) > 0).
- Large project: with readings 179 to 163 diagnostics (clean Word 144 to 147, Excel 43 to 43); native-only 733 to 724.
Round two hundred and eighteen (0.1.243): wording the last build read, inline proofs of negations, true conditions.
- Yes/no attributes of an entity worded " is/has …" with a multi-word entity text ("the gardener's plot has a stone path") now compile when the last OPM build read the wording; before, having that build's reading made native compilation refuse them.
- A yes/no attribute concluded with "=" and also used as a condition follows the last OPM build's wording.
- A yes/no wording containing "or" inside
Default()/DefaultWithUnknown() in a function argument compiles when the last build stored it as one attribute.
- A negated condition line proved by deeper lines ("the case does not have a hold" with "false" below it) compiles as OPM builds it: the deeper lines prove the positive attribute false; rule tags on the line go on that proof.
true or false as the condition of Exists(), ForAll() and the conditional aggregations compiles.
- In a workbook cell, a legend key that is only part of a declared attribute's full text no longer refuses the cell, also when the key starts another key.
Round two hundred and seventeen (0.1.243): workbook spacing and uncertain cells, assignment spacing.
- A workbook heading with a doubled space is read as OPM reads it: the spaces collapse to one and the text names an attribute of its own (a legend key written with the doubled space does not match it).
- An
uncertain conclusion cell under a heading whose attribute is made by rules compiles, and merges with the table's final uncertain row as in OPM.
- An assignment with no space after "=" ("the case total =the case base amount * 2") compiles as the assignment.
Round two hundred and sixteen (0.1.243): negated conclusions from the last build's readings.
- A negated yes/no conclusion whose positive attribute appears only in the last OPM build ("the case is not currently an open file if …") now compiles: the positive attribute is introduced from that build's reading and concluded false when the conditions hold, as in round 215.
Round two hundred and fifteen (0.1.243): negated yes/no conclusions.
- A conclusion written as the negative of a yes/no attribute ("the case is not currently an open file if …") now compiles as OPM builds it: the attribute is false when the conditions hold and true otherwise. The attribute must exist elsewhere (declared, made by another rule, or read from the last OPM build).
Round two hundred and fourteen (0.1.243): hyperlinks in comments, nested Exists in For(), containing entities under aliases.
- A hyperlink in a commentary, Normal or heading paragraph no longer blocks the build. Hyperlinks inside rule paragraphs are still refused.
For(<single-instance relationship>, Exists(...)) and For(..., ForAll(...)) over a relationship of that instance compile when the inner condition is a yes/no attribute of the inner instances.
- Inside an alias scope, a condition can read an attribute of the current instance's containing entity by its own wording, even when that entity is also open through the alias.
Round two hundred and thirteen (0.1.243): negated workbook yes/no attributes and connector chains in tables.
- A Word condition that negates a yes/no attribute declared in a workbook ("the case does not use X") now links to that attribute when the last OPM build stored that negation.
- In Word rule table cells, a lone "and" or "or" line after an "either"/"both" group can be followed by a chain of conditions ending with the same connector, as OPM reads it.
Round two hundred and twelve (0.1.243): inline proofs inside scopes, spacing and commas.
- A condition about the rule's own entity that is proved by deeper lines ("the household is roomy" with "the household's size > 3" below it) now compiles inside
ExistsScope/ForAllScope over another entity, with or without an alias, as OPM builds it.
- An assignment written without a space before "=" ("the case total= …") compiles as the assignment.
- Inside
ForAll/Exists/For arguments, a declared attribute whose wording contains "and", "or" or commas ("the item is red, green, or blue", "the item's start date and hour") reads as that attribute.
Round two hundred and eleven (0.1.243): temporal arguments, table aliases and instance rules.
- Temporal functions such as
IntervalAtLeastDays, IntervalAlways and WhenNext now accept attributes made by other rules: a negated yes/no attribute, or a text attribute =/<> a quoted literal.
- Parenthesised workbook conditions now accept rule-made yes/no and number attributes (also starting with "The") and a comparison of two declared dates.
ForScope/ExistsScope alias headers work in Word rule table cells, including ForScope(<alias>'s <relationship>) on the next line.
- "
<entity> exists for <relationship> (<alias>)" (InferInstanceFor with an alias) compiles, its conditions reading the alias. Rule tags on an instance conclusion now compile too.
Round two hundred and ten (0.1.243): heading capitals and more nested For().
- A workbook heading that spells a declared attribute with different capitals ("The Fence Limit" for "the Fence Limit", "Lost In Transit" for "Lost in Transit") now names that attribute, as in OPM, when exactly one declared attribute matches.
For() over a relationship that can have several instances, whose value or condition is another For() over a single-instance relationship, now also accepts a number or yes/no attribute of that instance's containing entity.
InstanceValueIf and InstanceMaximum accept a value For(<single-instance relationship>, <number of the instance or its containing entity>). InstanceValueIf also accepts a filter For(<single-instance relationship>, <yes/no attribute>). Exists(<relationship>, Exists(<single-instance relationship>, <yes/no attribute>)) compiles too, and so do rule-made text values in For(<single-instance relationship>, InstanceValueIf(...)).
Round two hundred and nine (0.1.243): line breaks, title fields and more nested quantifiers.
- Manual line breaks (Shift+Enter) inside rule paragraphs and rule table cells now compile. OPM removes them without adding a space, so put a space before or after the break when it separates two words. A paragraph that holds only a page break is ignored, as in OPM.
- A document property field (such as a title field) in a Normal or OPM - Heading paragraph no longer blocks the build. Fields inside rule paragraphs are still refused.
- A one-line
Exists or ForAll without an alias, over a relationship of the rule's entity, inside an ExistsScope or ForAllScope alias of the same entity now accepts negated, rule-made and compared conditions, not only declared yes/no attributes.
Round two hundred and eight (0.1.243): workbook instances with attributes, and more nested aggregations.
- A workbook rule table whose first conclusion column names a relationship (one instance inferred per row) can now also set attributes of each inferred instance in its other conclusion columns, as OPM builds it. This works for a contained entity whose instances have plain text identities and when the table has no else row.
InstanceValueIf whose value is For(<to-one relationship>, <attribute>), and InstanceSumIf over a Global relationship whose value is an InstanceValueIf, now compile. Filters and values made by other rules are accepted in these nested forms too, not only declared ones.
Round two hundred and seven (0.1.243): codes with underscores and more yes/no wording.
- Codes joined by underscores ("the person's AB_ID is valid", "the AB_CD is for XYZ", "the person's REC_ID") now compile without a previous OPM build, in yes/no wording, in number and text attribute names, and in entity names.
- So do yes/no wording ending in "is true" or "is set to true" (and its "is not true" negation), a capitalised contraction ("via Didn't Reply"), "300%" (also in parentheses), "for each" and "will" after the verb.
- Still refused: an en dash inside a word (OPM stores it as a hyphen), a full stop at the end of a condition (OPM drops it), and "should only be ".
Round two hundred and six (0.1.243): more value names and functions.
- Number and text attributes named with ordinals or similar tokens ("the case 18th review count"), "any", "to be" or a capitalised "Not" now compile.
Contains(<text attribute>, "<text>") works as a condition, also after "it is not true that".
- Interval functions such as
IntervalAtLeastDays and IntervalSometimes accept a text comparison (= "Open", <> "Open") as their condition.
Round two hundred and five (0.1.243): more wording read without OPM.
- Yes/no wording with codes joined by slashes before the verb ("the person's AB/CD document is valid", also in parentheses) now compiles without a previous OPM build, as OPM reads it.
- So does a capitalised "Not" or "most recently" before the verb, a whole quoted value after it ('is "Not Listed"'), a value starting with "not-" ("is not-checked") and "at least ".
Round eighty-eight (0.1.191): connector lines before inline proofs in Word rule tables.
- In a rule table cell, a lone
and/or line may also come before a condition proved by one level of deeper lines. The connector joins the previous condition with that complete proof, as in OPM. More deeply nested layouts remain unsupported. Verified with Oracle's rule XML and three engine cases (table-connector-before-inline-proof.json).
Round eighty-nine (0.1.191): nested inline proofs after connector lines.
- In a rule table cell, the condition after a lone
and/or line may now have a nested group inside its inline proof. The connector still joins the whole proof to the previous condition. Deeper nesting remains unsupported. Verified with Oracle's rule XML and three engine cases (table-connector-before-nested-inline-proof.json).
Round ninety (0.1.191): bounded expression nesting.
- Function calls and parentheses in native rule expressions are limited to 32 nested levels. Deeper expressions are refused at their source paragraph or workbook cell, rather than recursing without a bound. This is a RulesCraft safety limit, not an Oracle language limit.
Round eighty-seven (0.1.191): more connector lines in Word rule tables.
- In a Word rule table cell, a line containing only
and or or may now follow a group (either with its conditions) or a condition proved by deeper lines, as in OPM.
Rounds eighty-four to eighty-six (0.1.190): aliases, membership through an alias and counts inside aliased scopes.
Inside a scope with an alias, InstanceCount/InstanceCountIf over a relationship to the same kind of entity (for example a person's relatives) compiles, as in OPM.
ForAllScope/ExistsScope aliases may include _, a possessive (the member's twin) or the word month (the review month), as in OPM.
Inside a scope with an alias, a condition such as the person is a member of the home's members (a relationship read through the alias) compiles, as in OPM.
Rounds eighty-one to eighty-three (0.1.189): Abs typing, Excel value cells and nested ForScope.
ForScope(<relationship to several instances>) may now contain InstanceCount(...), For(...) over a single instance, and ExistsScope/ForAllScope/"for all of" lines, as in OPM.
An attribute calculated with Abs(...) and not declared in the data model is now typed as a number, also when the value inside is a currency amount, as in OPM.
Excel value cells may name another attribute with a capital first letter ((The person's assets total)) and may use For(<relationship>, ...) in an entity's rule table, as in OPM.
Rounds seventy-eight to eighty (0.1.188): text functions, Abs and empty text.
- Conditions such as
DefaultWithUnknown(the person's code, "") = "A" and Substring(the person's code, 0, 2) = "AB" now compile, as does Number(Substring(...)), as in OPM.
Abs(...) compiles, and function calls may have a space before the parenthesis (InstanceMinimumIf (...)), as in OPM.
- Empty text values (
"") are now written exactly as OPM writes them; they had been written in a slightly different form.
Rounds seventy-five to seventy-seven (0.1.187): more use of your last OPM build.
- A yes/no attribute of an entity declared in an Excel Declarations tab and used in Word rules now takes the wording of your last OPM build, as Global ones already did.
- Excel rule caches from your last OPM build are no longer reported out of date because of spaces around cell text or merged cells, so their wording is used.
- Yes/no wording about an entity that RulesCraft cannot read by itself (
the person has at least one ... record) compiles with the wording your last OPM build recorded for it.
Rounds seventy-two to seventy-four (0.1.186): Excel instance creation, containing entities and a parentheses fix.
- An Excel rule table whose conclusion heading is a relationship's text (for example
the household's notes) creates an instance per row, named by the cell's text or by an attribute in parentheses, as in OPM.
- An Excel rule table for an entity may use attributes of the entity that contains it (for example a person table reading the household's size), in headings and in condition cells, as in OPM.
- A text cell written wholly in parentheses, such as
(the person's code), is a formula in OPM, not text. RulesCraft now compiles such a conclusion cell as that attribute's value; it had used the literal text. In condition cells it reports the cell as not supported yet, instead of comparing with the literal text.
Rounds sixty-nine to seventy-one (0.1.185): Excel Currency formulas, Global conditions, redeclarations and entity headings.
- An Excel rule table heading for an entity may introduce a yes/no attribute worded
the person is ... or the person's ... is ..., as in OPM.
- An Excel Declarations tab may give a type to a data-model attribute whose type is automatic, and the same attribute may be declared in several workbooks, as in OPM.
- A declaration whose type differs from the data model is accepted while its key is unused; using that key in a heading is reported.
- A Currency column may hold formulas over numbers and declared Number attributes (
((Group Size - 4) * 25) + 300) and uncertain, as in OPM.
- A rule table for an entity may use a Global attribute as a condition heading (for example a Global date). Global attributes inside condition or conclusion cells of such a table are not supported yet.
Rounds sixty-six to sixty-eight (0.1.184): Excel legend keys, entity rule tables and cell forms.
- Headings that use a legend key from the workbook's Declarations tab now always link to the declared attribute. Before, one unrelated problem in the data model could stop every declaration tab from being read.
- Declarations tabs may declare attributes of entities (
the person's ...), placed in that entity as OPM does.
- Excel rule tables for an entity (round sixty-seven): a table whose conclusions and conditions all use one entity's attributes, such as the person or the person's income, now compiles for that entity, as in OPM. A table that mixes entities, or an entity with Global attributes, is not supported yet.
- Declared Booleans with any wording (
the person's plan tier is GOLD) are accepted.
- Codes typed as numbers (
12) in a text column are read as text, as OPM does.
- Date conditions may compare with
Earliest() or Latest() (<= Latest()).
- The generic headings may be written
Condition and Conclusion.
Rounds sixty-three to sixty-five (0.1.183): Excel legend keys, declaration tables and Currency values.
- Legend keys that share words with other keys (
CODE and CODE TYPE) or with attribute text used elsewhere (TYPE) now work as rule table headings, as in OPM. Inside cell formulas, write the attribute text instead of such a key.
- Declaration tables no longer need the template's exact heading text. An empty or misspelled heading is read by its cell style, as OPM does.
- A legend key with a stray space at the start or end works.
- A key with a double space inside is ignored, as in OPM; RulesCraft points out the heading that uses it.
- An Excel conclusion column for a Currency attribute may now take its value from another calculated attribute, alone, in parentheses or through
For(<relationship>, …). That attribute becomes Currency too, as in OPM. Arithmetic in such cells is not supported yet.
Rounds sixty to sixty-two (0.1.182): Excel declarations, legend keys and connector lines.
- Excel declaration tables may now declare Currency, Date and DateTime attributes. They can be used as rule table headings, with number values for Currency and
yyyy-mm-dd comparisons for dates. Using a Currency attribute inside a cell formula is not supported yet.
- Legend keys with punctuation, numbers or common words (
MULTI-MEMBER, TYPE_CODE, KIND CODE (APP), PLAN UNDER 7, VISIT DAY OF WEEK) now work as rule table condition and conclusion headings, as in OPM. Inside cell expressions, use only keys made of plain letter and digit words.
- Declared attribute text with a stray leading or trailing space is trimmed, as OPM does, instead of refusing the declaration table.
- Because these keys no longer make RulesCraft refuse the whole declaration table, the false "conflicting type" errors that refusal caused are gone.
- A line containing only
and or or between two conditions in a Word rule table cell now compiles, as in OPM.
- A connector line that repeats the previous condition's connector (
… and followed by and), or comes before a grouping line such as either, compiles in tables and rule text.
Rounds fifty-five to fifty-nine (0.1.181): matching OPM on comments, relationship wording and more.
- Comments in Word rule tables: paragraphs in a non-OPM style inside table cells, such as an author's note among a row's conditions or below a value, are ignored, as in OPM. Before, the document was refused.
- Wording that starts with a relationship's name (
the household's head is retired, where the household's head is a relationship) compiles as an attribute of the outer entity, exactly as OPM reads it.
uncertain as a value: the case review date = uncertain if … compiles for dates, numbers and text.
- More wording:
and/or inside the subject (the person's Junior and Senior category is High), and known inside a name (the case known costs).
Automatic declared types (type="auto" in OPM's model) now resolve to Boolean, Number or Text from supported whole-project assignments, comparisons, Boolean conditions, and ordered table values/conditions. Constraints flow in both directions through references, including inputs used only in conditions. Public names are preserved; no model files are rewritten. Automatic Boolean declarations now accept the verified singular simple-present be/have parse forms when they exactly reconstruct the declared sentence, including negative-only conditions and Oracle's parsed question/negative/report wording. Parse metadata alone does not assign a default type. Unused or ambiguous automatic attributes, conflicting uses, other parse forms and other data types prevent native output. Oracle's generic report wording for automatic Booleans without stored parse metadata is unchanged.
Conditional Word rule tables can now conclude a declared Global number/text attribute using ordered value/condition rows and an explicit final otherwise value. Use the standard two-column table with a merged conclusion header (WordCraft's Add Rule Table starter), existing OPM styles, and nested condition paragraphs. Overlapping true conditions use the first matching row, with unknown/uncertain behavior checked against Oracle. Standalone otherwise paragraphs and separate rules repeatedly concluding the same attribute remain errors, not last-rule-wins assignments. Boolean table conclusions, legends, nested tables, vertical merges and other unverified layouts remain unsupported. Native metadata records table/row/cell/paragraph source identities.
Compatibility diagnostics are grouped by category and document, with paragraph locations. XLSX, inclusions, additional entities and unsupported rule/model constructs are reported explicitly, not skipped. A compiled structure match compares attribute types and identity-normalized rule expressions; it does not prove execution or policy equivalence. No case results are compared automatically.
- Save/validate from the dashboard includes only open WordCraft/GridCraft documents inside that project's folder, not every rule document.
- Watch external DOCX updates in WordCraft (0.1.160). Keep the DOCX tab open with no unsaved changes: completed file writes refresh the document in the running editor, without reloading the webview or restarting its graphics engine. The status shows Updated … from disk. Updates appear per saved document, not character by character; rapid file events are coalesced. Hidden tabs catch up when shown. Unsaved user edits are never replaced, and refresh failures are reported explicitly.
- The attribute link check covers attributes, not relationships. It never changes the document or the project. GridCraft shows findings as a list without the Data model, Not a bug or Show all links actions.
- Attribute usage search reads the project's
bin XGEN rule cache. Validating a saved document refreshes its cache, and Build OPM refreshes the caches of every document it compiles, just as compiling in Policy Modeling does. Unsaved edits are not reflected until saved and validated or built.
- Mirrored relationship usages (0.1.165). The session inspector's Find attribute usage supports both relationship directions, including relationships involving inferred entities. For example, searching "the owner's ownership group" resolves its reverse relationship wording rather than reporting that the relationship cannot be mapped.
- Overrides on disappearing instances (0.1.166). If another override prevents an inferred instance from existing, RulesCraft automatically discards overrides on that instance and keeps the remaining overrides. A warning identifies what was removed; the recalculated results and override count stay consistent. Discarded overrides do not return if the instance is later inferred again. Source JSON is never changed.
- With Oracle Build Path configured, usage search loads Oracle's dependency model on an isolated project snapshot, then reconstructs previews only for candidate documents. Oracle DLLs are resolved beside the configured
OPMBuild.exe; no separate dependency path or Java installation is needed. This currently uses internal Oracle 26B APIs and reports incompatible installations explicitly. The snapshot protects project files from Oracle's implicit metadata writes. Without a configured compiler path, search reports that it used the slower full-cache scan.
- Faster searches, validation and builds (on by default). RulesCraft keeps the project loaded in a background Oracle process (
opaCraft.oracleHost). Usage searches (including those from the session inspector), Validate Document (also from the project's Save all and validate) and Build OPM (including the session debugger's Rebuild & re-run) use that process, so a rebuild recompiles only the rule documents you changed instead of running a full OPMBuild.exe build in a fresh copy of the project. Turn the setting off to go back to a full build and a fresh project snapshot each time. A value you set for the earlier opaCraft.experimental.oracleHost still applies until you set opaCraft.oracleHost. The process starts loading the project in the background as soon as you open one of its rule documents or its project page, which takes about 10 seconds for a project of about 270 rule documents; anything you run meanwhile waits for it. After that, an attribute or session-item search takes about a second or less, a validation a fraction of a second, and a build about a second, or a few seconds after a rule document changed. Through this process, results come from caches Oracle compiles from your saved documents in a private temporary copy of the project, not from the project's bin folder, so they include saved edits you have not validated or built. A build saves the rulebase and refreshes the caches in bin as a normal build does, and its Problems point at the rule document, with the paragraph or cell, where Oracle reports one. The process needs roughly half a gigabyte of memory for a project of about 270 rule documents, stops after 20 idle minutes or when VS Code closes, and deletes its copy when it stops. Apart from a build's rulebase and caches, it never writes to your project.
- Usage identities include the entity's canonical reference or declared name plus the attribute's base text. Numeric model IDs and document-local attribute IDs are not used to join attributes across documents. Oracle's escaped source control characters are preserved when reading caches; DTDs and external XML entities remain disabled.
- Previews reconstruct cached rule formatting; they are not exact reproductions of all Word/Excel layout features. Word previews render on a document page using the source DOCX's own paragraph styles (fonts, sizes, indents, OPM level shading), rebuild rule tables from cached cell positions, and underline the matched attribute.
styles.xml is read without modifying the document; if it cannot be read, the standard OPM template styles are used. Direct (non-style) formatting and table column widths are approximated.
- Existing OPM styles are required; arbitrary Office features and complete round-trip fidelity are not guaranteed.
- In WordCraft, Ctrl+C, Ctrl+X and Ctrl+V use the system clipboard, so you can paste text copied in other programs. The ribbon's and the right-click menu's Paste now paste what is on the system clipboard too: VS Code hands its text to WordCraft whenever the editor gets focus. Copying in one WordCraft document and pasting in another keeps the formatting, as long as the system clipboard still holds that copy; text copied elsewhere since then pastes as plain text.
- Copying from Microsoft Word and pressing Ctrl+V in WordCraft keeps tables (including merged cells), bold and other formatting. Paragraphs keep their Word style when the document has a paragraph style of the same name, so rule tables come across with their OPM conclusion and condition styles. Paragraphs in a style the document doesn't have keep Word's formatting instead; the status bar says which styles those were. Copies from other programs still paste as plain text.
- After an OPM Alt shortcut (Alt+C, Alt+B, Alt+Z...), the next key you type goes into the document; WordCraft's ribbon key tips no longer open and swallow it.
- Ctrl+Shift+P opens VS Code's Command Palette from WordCraft and GridCraft. The embedded editors keep most other keys for themselves, so this key no longer opens WordCraft's Font Size; use the font size box on the ribbon instead.
- In GridCraft, Ctrl+V pastes what is on the system clipboard, including text copied in other programs (VS Code reads the clipboard for the workbook). The ribbon's and the right-click menu's Paste now use the system clipboard as well, and copying cells in one workbook and pasting in another keeps their formatting, as long as the system clipboard still holds that copy. Pausing while you type in a cell no longer ends the edit when VS Code saves its recovery backup.
- GridCraft's native Format Painter destination interaction is not wired up; use Paste Special > Formats instead.
- Settings retain their original
opaCraft.* identifiers. Use Workspace scope for project-specific configuration.
- The data model editor writes only
projectDataModel.xml, and only on Save. It does not yet edit default values, validation, value lists or silent/invisible flags, rename/delete entities, or delete relationships. Find usage in Details opens the usage list for the selected attribute, as in rule documents.
- The project dashboard does not rewrite
.xprj XML. Use Open project XML or Reopen Editor With... > Text Editor for direct edits.
Graphics troubleshooting
WordCraft needs a usable WebGPU or WebGL2 device inside VS Code. A graphics driver reset, remote-desktop setup, acceleration settings, or context exhaustion can interrupt an editor even when just one document is open.
If graphics fail before the document loads, use Retry editor or Try WebGL2 in the error panel. For a persistent alternative, set opaCraft.wordRenderer to webgl in Workspace settings, then close and reopen WordCraft. The default auto retains automatic backend selection. Changing the setting does not reload open documents.
If the graphics context is lost during editing, try Save / Ctrl+S and wait for confirmation before closing or restarting. RulesCraft does not automatically reload the editor or discard edits; saving/recovery may not be possible after a GPU failure. Keep independent backups. Diagnostic details appear under View > Output > RulesCraft Graphics. Do not disable hardware acceleration as a blanket fix: the embedded editor still needs a working graphics backend.
Credits
RulesCraft embeds patched WordCraft 0.15.0 and GridCraft 0.16.0 runtimes. Their MIT and Apache-2.0 license files are included in the runtime archives. Bundled dependency notices are provided in THIRD-PARTY-NOTICES.txt.
RulesCraft is an independent proof of concept by sagasys technology group. It is not affiliated with or endorsed by Oracle or the upstream editor projects.
| |