refactor(structure): promote app to repo root + remove redundant workspace cruft
Standard production layout: the OKR app (was nested under AINative_OKR_CASAN5/) is now
the repository root. No more wrapper directory.
- Promote AINative_OKR_CASAN5/* -> repo root (backend/ frontend/ packages/ apps/
.specify/ docs/ infra/ nginx/ scripts/ + configs). Merge tool dirs: .gitea (kept the
active deploy ci.yml, added harness-ci.yml + runbooks), .claude (agents/commands +
launch.json), .github moved up.
- Remove redundant: 00_SUBMISSION_PACKAGE, scattered root notes (FPT_CASAN_Full.md,
tu-tuong-casan.md, casan-tu-sinh..., casan_harness_assessment.md, source-review...,
README_CASAN5_REFINED.md), casan-next-plans/ and optimize-docs/ (competition/planning
artifacts — roadmap + design history preserved in git log / commit messages).
- Update all references to the old layout:
- .gitea/workflows/{ci,harness-ci}.yml, .github/workflows/{ci,deploy}.yml:
working-directory .; drop AINative_OKR_CASAN5/ prefix; .specify/{tests,scripts}
-> packages/casan-harness/... (.specify/logs state kept)
- .claude/launch.json, .gitea/*-runbook.md: path prefixes
- CLAUDE.md, README.md: docs/input -> apps/okr/domain/input
- policy-bundle.yaml: 8 policy paths -> packages/casan-harness/...; manifest re-signed
- secrets-scan.sh: fixture excludes -> new package/domain paths.
Full gate from the new root: PASS=64 FAIL=0 SKIP=3.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
7101af9fd4
commit
36a4812ef3
@@ -0,0 +1,7 @@
|
||||
Generate a safe OKR plan for employee ***MASKED_EMAIL***.
|
||||
Expected sections:
|
||||
- Objective
|
||||
- Key Results
|
||||
- Security gate
|
||||
- Governance decision
|
||||
- AgentOps metrics
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"timestamp": "2026-07-08T03:59:04Z",
|
||||
"harness": "L5-drift-detection",
|
||||
"status": "pass",
|
||||
"action": "allow",
|
||||
"reasons": [],
|
||||
"golden_negations": 0,
|
||||
"candidate_negations": 0,
|
||||
"must_keep_missing": [],
|
||||
"similarity_ratio": 1.0,
|
||||
"length_delta_ratio": 0.0,
|
||||
"golden_hash": "cd93d5689c8e175ba67627e686c9eaa8b24b75a5b3420de81b47cbf495768092",
|
||||
"candidate_hash": "cd93d5689c8e175ba67627e686c9eaa8b24b75a5b3420de81b47cbf495768092",
|
||||
"golden_file": "/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/apps/okr/domain/golden-runs/okr-plan.golden.txt",
|
||||
"candidate_file": "/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/docs/output/casan/level5-evidence/09-drift-candidate.txt"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
DRIFT_PASS similarity=1.0 length_delta=0.0 report=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/docs/output/casan/level5-evidence/09-drift-report.json
|
||||
@@ -0,0 +1 @@
|
||||
fallback model output
|
||||
@@ -0,0 +1 @@
|
||||
FALLBACK_ROUTE route=fallback primary_exit=9 final_exit=0 output=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/docs/output/casan/level5-evidence/10-fallback-output.txt
|
||||
@@ -0,0 +1 @@
|
||||
TOOL_DENIED tool=deploy reason=missing_idempotency_key
|
||||
@@ -0,0 +1 @@
|
||||
TOOL_DENIED tool=deploy reason=unauthorized_agent
|
||||
@@ -0,0 +1 @@
|
||||
TOOL_AUDIT_VALID anchor=signed last_hash=b1b17e24514b6df25f6623903a6e5438fc3ae0d8830b3ceb001ef55f2ede9a65
|
||||
@@ -0,0 +1 @@
|
||||
TOOL_APPROVED tool=deploy reason=registered
|
||||
@@ -0,0 +1 @@
|
||||
ROLLBACK_EXECUTED transaction_id=d394012b-7b85-4a01-9e25-1d48e0b3eeb5 target=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/docs/output/casan/level5-evidence/13-rollback-marker.txt
|
||||
@@ -0,0 +1 @@
|
||||
rolled_back
|
||||
@@ -0,0 +1 @@
|
||||
ROLLBACK_CHECKPOINT transaction_id=d394012b-7b85-4a01-9e25-1d48e0b3eeb5 target=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/docs/output/casan/level5-evidence/13-rollback-marker.txt
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"kpis": [
|
||||
{"id": "cycle_time_minutes", "direction": "lower_is_better", "baseline": 180, "current": 80, "target": 90},
|
||||
{"id": "review_rejection_rate", "direction": "lower_is_better", "baseline": 0.30, "current": 0.08, "target": 0.10},
|
||||
{"id": "defect_leakage_rate", "direction": "lower_is_better", "baseline": 0.15, "current": 0.04, "target": 0.05},
|
||||
{"id": "manual_rework_hours", "direction": "lower_is_better", "baseline": 12, "current": 3, "target": 4}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"timestamp": "2026-07-08T03:59:08Z",
|
||||
"harness": "L5-business-feedback",
|
||||
"status": "pass",
|
||||
"kpis": [
|
||||
{
|
||||
"id": "cycle_time_minutes",
|
||||
"baseline": 180.0,
|
||||
"current": 80.0,
|
||||
"target": 90.0,
|
||||
"improvement_ratio": 0.5556,
|
||||
"target_met": true
|
||||
},
|
||||
{
|
||||
"id": "review_rejection_rate",
|
||||
"baseline": 0.3,
|
||||
"current": 0.08,
|
||||
"target": 0.1,
|
||||
"improvement_ratio": 0.7333,
|
||||
"target_met": true
|
||||
},
|
||||
{
|
||||
"id": "defect_leakage_rate",
|
||||
"baseline": 0.15,
|
||||
"current": 0.04,
|
||||
"target": 0.05,
|
||||
"improvement_ratio": 0.7333,
|
||||
"target_met": true
|
||||
},
|
||||
{
|
||||
"id": "manual_rework_hours",
|
||||
"baseline": 12.0,
|
||||
"current": 3.0,
|
||||
"target": 4.0,
|
||||
"improvement_ratio": 0.75,
|
||||
"target_met": true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
KPI_REPORT status=pass output=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/docs/output/casan/level5-evidence/14-business-kpi-report.json
|
||||
@@ -0,0 +1 @@
|
||||
DASHBOARD_GENERATED /Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/docs/output/casan/central-agentops-dashboard.html
|
||||
@@ -0,0 +1,2 @@
|
||||
POLICY_MANIFEST_GENERATED files=8 manifest=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/.specify/level5/central-governance/policy-manifest.json
|
||||
POLICY_BUNDLE_SIGNED manifest=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/.specify/level5/central-governance/policy-manifest.json signature=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/.specify/level5/central-governance/policy-manifest.sig public_key=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/.specify/level5/central-governance/policy-public.pem key_backend=local-file
|
||||
@@ -0,0 +1,2 @@
|
||||
POLICY_HASHES_VALID files=8
|
||||
POLICY_SIGNATURE_VALID manifest=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/.specify/level5/central-governance/policy-manifest.json
|
||||
@@ -0,0 +1 @@
|
||||
PROVIDER_TELEMETRY_IMPORTED provider=sample-provider model=sample-model-large total_tokens=2778 cost_usd=0.08334 output=/Users/thanhnguyen/Documents/AI/HarnessHkt/Harness_Hakathon/Output_CASAN5_REFINED/.specify/logs/level5/provider-usage.jsonl
|
||||
@@ -0,0 +1 @@
|
||||
HARNESS_REUSE_VALID package=fpt-casan-sdd-harness version=1.0.0 project_count=3
|
||||
Reference in New Issue
Block a user