Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/blackroad-operator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: BlackRoad Operator
on:
issues:
types: [opened, edited]
issue_comment:
types: [created]

jobs:
blackroad:
runs-on: ubuntu-latest
if: contains(github.event.comment.body, '@blackroad') || contains(github.event.issue.body, '@blackroad')
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

The condition checks both github.event.comment.body and github.event.issue.body, but when the workflow is triggered by the issues event (opened or edited), there is no github.event.comment object. This will cause an error when the workflow is triggered by issue events. The condition should be structured to check the appropriate object based on the triggering event, or use separate jobs for issue and comment events.

Suggested change
if: contains(github.event.comment.body, '@blackroad') || contains(github.event.issue.body, '@blackroad')
if: (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@blackroad')) || (github.event_name == 'issues' && contains(github.event.issue.body, '@blackroad'))

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

This workflow runs automatically in response to user-generated content (issue body or comments) without any authentication or authorization checks. This creates a security risk as any user can trigger the workflow by mentioning '@Blackroad' in an issue or comment, potentially causing unwanted automated responses or resource consumption. Consider adding permission checks to restrict who can trigger this workflow.

Suggested change
if: contains(github.event.comment.body, '@blackroad') || contains(github.event.issue.body, '@blackroad')
if: >
(github.event_name == 'issue_comment' &&
contains(github.event.comment.body, '@blackroad') &&
contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association))
||
(github.event_name == 'issues' &&
contains(github.event.issue.body, '@blackroad') &&
contains(fromJson('["OWNER","MEMBER","COLLABORATOR"]'), github.event.issue.author_association))

Copilot uses AI. Check for mistakes.

Choose a reason for hiding this comment

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

P2 Badge Gate issue-body check to issues events to avoid spam

Because the job-level if always checks contains(github.event.issue.body, '@blackroad'), any issue whose body includes @blackroad will cause the workflow to run on every issue_comment event, even when the new comment doesn’t mention @blackroad. This results in repeated bot comments for unrelated replies (e.g., an issue opened with @blackroad, then any later β€œthanks” comment triggers another activation). Consider limiting the issue-body check to issues events (or gating on github.event_name) so comment-triggered runs only react to the comment body.

Useful? React with πŸ‘Β / πŸ‘Ž.

steps:
- uses: actions/github-script@v7
with:
script: |
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
Comment on lines +16 to +19
Copy link

Copilot AI Jan 9, 2026

Choose a reason for hiding this comment

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

The workflow attempts to use context.issue.number for both issue and issue_comment events. However, when triggered by an issue_comment event on a pull request, this field may not be available or may reference the wrong entity. The workflow should properly handle both issues and pull requests by checking the event type and using the appropriate context fields.

Suggested change
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
const issueNumber =
(context.payload.issue && context.payload.issue.number) ||
(context.payload.pull_request && context.payload.pull_request.number) ||
context.issue.number;
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: issueNumber,

Copilot uses AI. Check for mistakes.
body: 'πŸ€– **@blackroad activated** - BlackRoad agents analyzing...'
});
57 changes: 18 additions & 39 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,48 +1,27 @@
BLACKROAD OS, INC. PROPRIETARY SOFTWARE LICENSE
# BlackRoad OS, Inc. - Proprietary License

Copyright Β© 2025-2026 BlackRoad OS, Inc.
All Rights Reserved.
Copyright Β© 2024-2026 BlackRoad OS, Inc. All Rights Reserved.

NOTICE: This software and associated documentation files (the "Software") are
the proprietary and confidential property of BlackRoad OS, Inc. ("Company").
## PROPRIETARY SOFTWARE

RESTRICTIONS:
This software and associated documentation files (the "Software") are proprietary
and confidential to BlackRoad OS, Inc.

1. NO OPEN SOURCE: This Software is NOT open source. This is proprietary,
closed-source software owned exclusively by BlackRoad OS, Inc.
## RESTRICTIONS

2. NO REDISTRIBUTION: You may NOT copy, modify, merge, publish, distribute,
sublicense, or sell copies of this Software without explicit written
permission from BlackRoad OS, Inc.
1. **Testing and evaluation purposes only**
2. **NO commercial use** without explicit written permission
3. **NO redistribution** in any form
4. **NO modification** or derivative works without permission
5. Software provided "AS IS" without warranty

3. NO DERIVATIVE WORKS: You may NOT create derivative works based on this
Software without explicit written permission from BlackRoad OS, Inc.
## PUBLIC VISIBILITY

4. NO REVERSE ENGINEERING: You may NOT reverse engineer, decompile, or
disassemble this Software.
While publicly visible for transparency:
- Viewing and learning is permitted
- Using code requires explicit permission
- All rights remain with BlackRoad OS, Inc.

5. AUTHORIZED USE ONLY: Use of this Software is restricted to authorized
personnel of BlackRoad OS, Inc. and explicitly licensed partners only.
**Contact**: blackroad.systems@gmail.com

6. CONFIDENTIALITY: This Software contains trade secrets and confidential
information. Unauthorized disclosure is prohibited.

7. NO WARRANTY: This Software is provided "AS IS" without warranty of any
kind, express or implied.

8. TERMINATION: Any violation of these terms results in immediate termination
of all rights to use this Software.

OWNERSHIP:
All intellectual property rights, including but not limited to patents,
copyrights, trademarks, and trade secrets in the Software are and shall
remain the exclusive property of BlackRoad OS, Inc.

CONTACT:
For licensing inquiries: blackroad.systems@gmail.com

BY ACCESSING OR USING THIS SOFTWARE, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
LICENSE, UNDERSTAND IT, AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.

BlackRoad OS, Inc.
https://blackroad.io
πŸ–€πŸ›£οΈ BlackRoad OS - The AI Operating System Revolution
Loading