Skip to content

feat: DSPX-2653-llms-txt-v1#256

Merged
marythought merged 2 commits intomainfrom
feat/DSPX-2653-llms-txt-v1
Mar 20, 2026
Merged

feat: DSPX-2653-llms-txt-v1#256
marythought merged 2 commits intomainfrom
feat/DSPX-2653-llms-txt-v1

Conversation

@eugenioenko
Copy link
Contributor

@eugenioenko eugenioenko commented Mar 19, 2026

The pull request introduces two new documentation files, llms-full.txt and llms.txt, which provide comprehensive and summarized overviews of the OpenTDF specification, platform, and Web SDK, respectively.

Summary by CodeRabbit

  • Documentation
    • Added comprehensive reference documentation covering OpenTDF specification, platform architecture, service descriptions, and Web SDK implementation guidance
    • Introduced organized documentation index providing hierarchical table of contents for streamlined access to all available resources including specification, platform guides, SDK references, and development materials

@coderabbitai
Copy link

coderabbitai bot commented Mar 19, 2026

📝 Walkthrough

Walkthrough

Two new static documentation files were added: a comprehensive OpenTDF reference document containing specification details, platform architecture, service descriptions, and Web SDK documentation; and a structured index file providing organized navigation links to the full reference material.

Changes

Cohort / File(s) Summary
Documentation Index Files
static/llms.txt, static/llms-full.txt
Added comprehensive OpenTDF documentation including specification (TDF container, manifest schema, encryption/policy structures, ABAC components), platform overview (architecture, services, deployment modes), documentation site references, and Web SDK documentation (authentication, encryption, configuration, error handling).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 Hops of joy through docs so bright,
OpenTDF takes its flight,
Specifications, guides, and more,
Knowledge opened at the door!
A rabbit's gift of clarity clear,
Welcome, dear developer, here!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'feat: DSPX-2653-llms-txt-v1' is vague and uses a ticket identifier rather than describing the actual change. It does not convey meaningful information about what was added (OpenTDF documentation files). Consider using a more descriptive title like 'feat: Add OpenTDF comprehensive documentation index files' to clearly communicate the main change to reviewers.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/DSPX-2653-llms-txt-v1

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can disable sequence diagrams in the walkthrough.

Disable the reviews.sequence_diagrams setting to disable sequence diagrams in the walkthrough.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request introduces a significant update to the project's documentation by adding comprehensive guides and reference materials for the OpenTDF ecosystem. The new content covers the core TDF specification, the platform's architecture and services, and detailed usage instructions for the Web SDK, all structured for clarity and ease of access. This enhancement aims to provide developers with a single, authoritative source for understanding and implementing data-centric security solutions with OpenTDF.

Highlights

  • Comprehensive OpenTDF Documentation Added: A new, extensive documentation file, 'llms-full.txt', has been added, providing in-depth details on the OpenTDF Specification, the OpenTDF Platform, and the OpenTDF Web SDK. This includes architectural overviews, detailed component descriptions, quick start guides, configuration references, API specifications, and development guidelines.
  • Structured Documentation Index Introduced: A companion file, 'llms.txt', was added to serve as a high-level index and summary of the comprehensive documentation. It categorizes the content into key areas like TDF Specification, Platform, Documentation Site, and Web SDK, with direct links to relevant sections within 'llms-full.txt'.
  • Enhanced Reference for LLM Integration: These new documentation assets are specifically designed to provide a consolidated and easily navigable reference for understanding and integrating with OpenTDF, particularly relevant for applications involving Large Language Models (LLMs) that require robust data-centric security.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request introduces two new documentation files, llms-full.txt and llms.txt, which provide comprehensive and summarized overviews of the OpenTDF specification, platform, and Web SDK, respectively. The content is well-structured and appears to be intended for consumption by Large Language Models or as a detailed reference. The llms.txt file effectively acts as an index to the more detailed llms-full.txt.

@github-actions
Copy link
Contributor

📄 Preview deployed to https://opentdf-docs-pr-256.surge.sh

@eugenioenko eugenioenko marked this pull request as ready for review March 20, 2026 15:39
@eugenioenko eugenioenko requested review from a team as code owners March 20, 2026 15:39
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (2)
static/llms-full.txt (2)

679-679: Consider broadening the Apple Silicon workaround note.

The note specifically mentions "Apple M4 chip users," but this SIGILL issue with the JVM affects all Apple Silicon chips (M1, M2, M3, M4). Consider updating to "Apple Silicon users" or "Apple M-series chip users" for broader applicability.

📝 Suggested rewording
-> **Apple M4 chip users**: Set `export JAVA_OPTS_APPEND="-XX:UseSVE=0"` before running commands to resolve SIGILL errors.
+> **Apple Silicon users**: Set `export JAVA_OPTS_APPEND="-XX:UseSVE=0"` before running commands to resolve SIGILL errors on M1/M2/M3/M4 chips.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@static/llms-full.txt` at line 679, Update the Apple Silicon workaround text
that currently reads 'Apple M4 chip users' to a broader phrase such as 'Apple
Silicon users' or 'Apple M‑series chip users' and ensure the adjacent command
export JAVA_OPTS_APPEND="-XX:UseSVE=0" remains unchanged; locate the line
containing the exact string 'Apple M4 chip users' and replace that phrase only
so the note correctly applies to M1, M2, M3, and M4 devices.

1-2805: Consider the maintainability implications of a single 2800+ line file.

While consolidating all OpenTDF documentation into a single file works well for LLM consumption (following the llms.txt convention), this creates a very large file that may be challenging to maintain over time.

Consider:

  • Current approach (single file): Optimal for LLM context windows, simpler for AI agents to consume
  • Alternative (modular): Split into separate files (llms-spec.txt, llms-platform.txt, etc.) and concatenate during build/publish

The current approach is valid for the intended use case, but if the team experiences merge conflicts or difficulty locating sections for updates, a build-time concatenation strategy could provide both maintainability and the single-file LLM benefit.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@static/llms-full.txt` around lines 1 - 2805, The single large documentation
file (containing "OpenTDF Specification", "OpenTDF Platform", and "OpenTDF Web
SDK" sections) is hard to maintain; split the monolithic static/llms-full.txt
into smaller logical files (for example: llms-spec.txt, llms-platform.txt,
llms-sdk.txt) preserving the same top-level headings (e.g., "OpenTDF
Specification", "OpenTDF Platform", "OpenTDF Web SDK"), update any internal
references to point to the new fragments, and add a build-time concatenation
step (in CI/build script) that reassembles these fragments into the single
llms-full.txt for LLM consumption so authors edit modular pieces while consumers
continue to receive one aggregated file.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@static/llms-full.txt`:
- Line 679: Update the Apple Silicon workaround text that currently reads 'Apple
M4 chip users' to a broader phrase such as 'Apple Silicon users' or 'Apple
M‑series chip users' and ensure the adjacent command export
JAVA_OPTS_APPEND="-XX:UseSVE=0" remains unchanged; locate the line containing
the exact string 'Apple M4 chip users' and replace that phrase only so the note
correctly applies to M1, M2, M3, and M4 devices.
- Around line 1-2805: The single large documentation file (containing "OpenTDF
Specification", "OpenTDF Platform", and "OpenTDF Web SDK" sections) is hard to
maintain; split the monolithic static/llms-full.txt into smaller logical files
(for example: llms-spec.txt, llms-platform.txt, llms-sdk.txt) preserving the
same top-level headings (e.g., "OpenTDF Specification", "OpenTDF Platform",
"OpenTDF Web SDK"), update any internal references to point to the new
fragments, and add a build-time concatenation step (in CI/build script) that
reassembles these fragments into the single llms-full.txt for LLM consumption so
authors edit modular pieces while consumers continue to receive one aggregated
file.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 167c288d-ba61-4842-86ef-84b082efc61c

📥 Commits

Reviewing files that changed from the base of the PR and between 8c2c6d6 and d50d005.

📒 Files selected for processing (2)
  • static/llms-full.txt
  • static/llms.txt

Copy link
Contributor

@marythought marythought left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude told me this would have saved us hours working on a new application project. It's still mad at me today. 😆 Awesome work setting our robot overlords buddies up for success.

@marythought marythought merged commit ed65e02 into main Mar 20, 2026
6 checks passed
@marythought marythought deleted the feat/DSPX-2653-llms-txt-v1 branch March 20, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants