HAP Analysis: Archive docs and create implementation action plan

- Archive all existing markdown documentation files
- Create comprehensive HAP_ACTION_PLAN.md with:
  * Analysis of current BZZZ implementation vs HAP vision
  * 4-phase implementation strategy
  * Structural reorganization approach (multi-binary)
  * HAP interface implementation roadmap
- Preserve existing functionality while adding human agent portal
- Focus on incremental migration over rewrite

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-08-29 14:10:13 +10:00
parent 92779523c0
commit ec81dc9ddc
25 changed files with 368 additions and 48 deletions

View File

@@ -226,25 +226,25 @@ export default function LicenseValidation({
{/* Validation Result */}
{validationResult && (
<div className={`card ${validationResult.valid ? 'border-green-200 bg-green-50' : 'border-red-200 bg-red-50'}`}>
<div className={`panel ${validationResult.valid ? 'panel-success' : 'panel-error'}`}>
<div className="flex items-start">
<div className="flex-shrink-0">
{validationResult.valid ? (
<CheckCircleIcon className="h-6 w-6 text-green-500" />
<CheckCircleIcon className="h-6 w-6 text-eucalyptus-950 dark:text-eucalyptus-50" />
) : (
<ExclamationTriangleIcon className="h-6 w-6 text-red-500" />
<ExclamationTriangleIcon className="h-6 w-6 text-coral-950 dark:text-coral-50" />
)}
</div>
<div className="ml-3">
<h4 className={`text-sm font-medium ${validationResult.valid ? 'text-green-800' : 'text-red-800'}`}>
<h4 className={`text-sm font-medium panel-title`}>
{validationResult.valid ? 'License Valid' : 'License Invalid'}
</h4>
<p className={`text-sm mt-1 ${validationResult.valid ? 'text-green-700' : 'text-red-700'}`}>
<p className={`text-sm mt-1 panel-body`}>
{validationResult.message}
</p>
{validationResult.valid && validationResult.details && (
<div className="mt-3 text-sm text-green-700">
<div className="mt-3 text-sm panel-body">
<p><strong>License Type:</strong> {validationResult.details.licenseType || 'Standard'}</p>
<p><strong>Max Nodes:</strong> {validationResult.details.maxNodes || 'Unlimited'}</p>
<p><strong>Expires:</strong> {validationResult.details.expiresAt || 'Never'}</p>
@@ -262,18 +262,18 @@ export default function LicenseValidation({
</div>
)}
{/* License Information */}
<div className="bg-blue-50 border border-blue-200 rounded-lg p-4">
{/* Need a License Panel */}
<div className="rounded-lg p-4 border bg-chorus-warm border-chorus-border-subtle dark:bg-mulberry-900 dark:border-chorus-border-defined">
<div className="flex items-start">
<DocumentTextIcon className="h-5 w-5 text-blue-500 mt-0.5 mr-2" />
<DocumentTextIcon className="h-5 w-5 text-chorus-text-primary mt-0.5 mr-2 opacity-80" />
<div className="text-sm">
<h4 className="font-medium text-blue-800 mb-1">Need a License?</h4>
<p className="text-blue-700">
<h4 className="font-medium text-chorus-text-primary mb-1">Need a License?</h4>
<p className="text-chorus-text-secondary">
If you don't have a CHORUS:agents license yet, you can:
</p>
<ul className="text-blue-700 mt-1 space-y-1 ml-4">
<li>• Visit <a href="https://chorus.services/bzzz" target="_blank" className="underline hover:no-underline">chorus.services/bzzz</a> to purchase a license</li>
<li>• Contact our sales team at <a href="mailto:sales@chorus.services" className="underline hover:no-underline">sales@chorus.services</a></li>
<ul className="text-chorus-text-secondary mt-1 space-y-1 ml-4">
<li>• Visit <a href="https://chorus.services/bzzz" target="_blank" className="underline hover:no-underline text-chorus-text-primary">chorus.services/bzzz</a> to purchase a license</li>
<li>• Contact our sales team at <a href="mailto:sales@chorus.services" className="underline hover:no-underline text-chorus-text-primary">sales@chorus.services</a></li>
<li>• Request a trial license for evaluation purposes</li>
</ul>
</div>
@@ -298,4 +298,4 @@ export default function LicenseValidation({
</div>
</form>
)
}
}

View File

@@ -48,19 +48,19 @@ export default function TermsAndConditions({
{/* Terms and Conditions Content */}
<div className="card">
<div className="flex items-center mb-4">
<DocumentTextIcon className="h-6 w-6 text-bzzz-primary mr-2" />
<h3 className="text-lg font-medium text-gray-900">CHORUS:agents Software License Agreement</h3>
<DocumentTextIcon className="h-6 w-6 text-ocean-500 mr-2" />
<h3 className="text-lg font-medium text-chorus-text-primary">CHORUS:agents Software License Agreement</h3>
</div>
<div className="bg-gray-50 border border-gray-200 rounded-lg p-6 max-h-96 overflow-y-auto">
<div className="prose prose-sm max-w-none text-gray-700">
<h4 className="text-base font-semibold text-gray-900 mb-3">1. License Grant</h4>
<div className="bg-chorus-warm border border-chorus-border-subtle rounded-lg p-6 max-h-96 overflow-y-auto">
<div className="prose prose-sm max-w-none text-chorus-text-secondary">
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">1. License Grant</h4>
<p className="mb-4">
Subject to the terms and conditions of this Agreement, Chorus Services grants you a non-exclusive,
non-transferable license to use CHORUS:agents (the "Software") for distributed AI coordination and task management.
</p>
<h4 className="text-base font-semibold text-gray-900 mb-3">2. Permitted Uses</h4>
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">2. Permitted Uses</h4>
<ul className="list-disc list-inside mb-4 space-y-1">
<li>Install and operate CHORUS:agents on your infrastructure</li>
<li>Configure cluster nodes for distributed processing</li>
@@ -68,7 +68,7 @@ export default function TermsAndConditions({
<li>Use for commercial and non-commercial purposes</li>
</ul>
<h4 className="text-base font-semibold text-gray-900 mb-3">3. Restrictions</h4>
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">3. Restrictions</h4>
<ul className="list-disc list-inside mb-4 space-y-1">
<li>You may not redistribute, sublicense, or sell the Software</li>
<li>You may not reverse engineer or decompile the Software</li>
@@ -76,42 +76,42 @@ export default function TermsAndConditions({
<li>You may not remove or modify proprietary notices</li>
</ul>
<h4 className="text-base font-semibold text-gray-900 mb-3">4. Data Privacy</h4>
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">4. Data Privacy</h4>
<p className="mb-4">
CHORUS:agents processes data locally on your infrastructure. Chorus Services does not collect or store
your operational data. Telemetry data may be collected for software improvement purposes.
</p>
<h4 className="text-base font-semibold text-gray-900 mb-3">5. Support and Updates</h4>
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">5. Support and Updates</h4>
<p className="mb-4">
Licensed users receive access to software updates, security patches, and community support.
Premium support tiers are available separately.
</p>
<h4 className="text-base font-semibold text-gray-900 mb-3">6. Disclaimer of Warranty</h4>
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">6. Disclaimer of Warranty</h4>
<p className="mb-4">
THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. CHORUS SERVICES DISCLAIMS
ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE.
</p>
<h4 className="text-base font-semibold text-gray-900 mb-3">7. Limitation of Liability</h4>
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">7. Limitation of Liability</h4>
<p className="mb-4">
IN NO EVENT SHALL CHORUS SERVICES BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL,
OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THE SOFTWARE.
</p>
<h4 className="text-base font-semibold text-gray-900 mb-3">8. Termination</h4>
<h4 className="text-base font-semibold text-chorus-text-primary mb-3">8. Termination</h4>
<p className="mb-4">
This license is effective until terminated. You may terminate it at any time by
uninstalling the Software. Chorus Services may terminate this license if you
violate any terms of this Agreement.
</p>
<div className="bg-blue-50 border-l-4 border-blue-400 p-4 mt-6">
<div className="panel panel-info mt-6">
<div className="flex">
<ExclamationTriangleIcon className="h-5 w-5 text-blue-500 mt-0.5 mr-2" />
<div className="text-sm text-blue-700">
<ExclamationTriangleIcon className="h-5 w-5 text-ocean-600 dark:text-ocean-300 mt-0.5 mr-2" />
<div className="text-sm panel-body">
<p><strong>Contact Information:</strong></p>
<p>Chorus Services<br />
Email: legal@chorus.services<br />
@@ -131,13 +131,13 @@ export default function TermsAndConditions({
type="checkbox"
checked={agreed}
onChange={(e) => setAgreed(e.target.checked)}
className="mt-1 mr-3 h-4 w-4 text-bzzz-primary border-gray-300 rounded focus:ring-bzzz-primary"
className="mt-1 mr-3 h-4 w-4 text-ocean-600 border-chorus-border-defined rounded focus:ring-ocean-600"
/>
<div className="text-sm">
<span className="font-medium text-gray-900">
<span className="font-medium text-chorus-text-primary">
I have read and agree to the Terms and Conditions
</span>
<p className="text-gray-600 mt-1">
<p className="text-chorus-text-secondary mt-1">
By checking this box, you acknowledge that you have read, understood, and agree to be
bound by the terms and conditions outlined above.
</p>
@@ -160,7 +160,7 @@ export default function TermsAndConditions({
</div>
</div>
<div className="flex justify-between pt-6 border-t border-gray-200">
<div className="flex justify-between pt-6 border-t border-chorus-border-defined">
<div>
{onBack && (
<button type="button" onClick={onBack} className="btn-outline">
@@ -171,11 +171,11 @@ export default function TermsAndConditions({
<button
type="submit"
disabled={!agreed}
className={`${agreed ? 'btn-primary' : 'btn-disabled'}`}
className="btn-primary"
>
{isCompleted ? 'Continue' : 'Next: License Validation'}
</button>
</div>
</form>
)
}
}