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')

Choose a reason for hiding this comment

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

P2 Badge Avoid triggering on unrelated comments once issue body has @Blackroad

For issue_comment events, the job runs when either the new comment contains @blackroad or the issue body contains it. That means once an issue is opened/edited with @blackroad in its body, every subsequent comment on that issue (even without @blackroad) will satisfy the condition and post an activation reply. This can cause spammy auto-replies on unrelated comments. To restrict activation to explicit mentions in the new comment, the issue-body check should only apply to issues events or be gated on the event type.

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

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 in this workflow has a logical flaw. When the workflow is triggered by the 'issues' event (opened or edited), the 'github.event.comment' object will be undefined, causing 'github.event.comment.body' to potentially throw an error or return undefined. Similarly, when triggered by 'issue_comment', 'github.event.issue.body' refers to the issue body, not the comment.

The condition should be restructured to safely check the appropriate context based on the trigger type, or use a more defensive approach that handles undefined values.

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.
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,
body: 'πŸ€– **@blackroad activated** - BlackRoad agents analyzing...'
});
Comment on lines +11 to +21
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 lacks error handling and permissions configuration. The workflow should explicitly declare the required permissions (issues: write) for creating comments. Additionally, there's no error handling if the comment creation fails. Consider adding a 'permissions' block at the job level and wrapping the API call in a try-catch block.

Suggested change
if: contains(github.event.comment.body, '@blackroad') || contains(github.event.issue.body, '@blackroad')
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,
body: 'πŸ€– **@blackroad activated** - BlackRoad agents analyzing...'
});
permissions:
issues: write
if: contains(github.event.comment.body, '@blackroad') || contains(github.event.issue.body, '@blackroad')
steps:
- uses: actions/github-script@v7
with:
script: |
try {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: 'πŸ€– **@blackroad activated** - BlackRoad agents analyzing...'
});
} catch (error) {
console.error('Failed to create issue comment:', error);
core.setFailed(`Failed to create issue comment: ${error.message || error}`);
}

Copilot uses AI. Check for mistakes.
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.
Comment on lines +18 to +23
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 license structure has been significantly weakened compared to the original. The new version permits "viewing and learning" and describes the software as being "for testing and evaluation purposes only" (line 12), which creates ambiguity about actual usage rights. This is a substantial change from the original strict proprietary license that explicitly restricted all use to "authorized personnel" only. This appears to be a significant legal policy change that should be carefully reviewed.

Copilot uses AI. Check for mistakes.

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