Files
CASAN/AINative_OKR_CASAN5/packages/casan-harness/agentops/hallucination-tracking.yaml
T
thanhnvandClaude Opus 4.8 d54d7f5f4c feat(plan-01): Phase 2 — relocate level5/agentops config + init-options to package
Move the harness-config files out of the mixed .specify/level5 and .specify/agentops
dirs (which also hold governance/domain/state) into packages/casan-harness, leaving a
per-file compat symlink at each old path. Runtime state and governance stay in place.

Moved (+ .specify symlink each):
  level5:   drift-policy.yaml kpi-schema.yaml model-fallback.yaml tool-registry.yaml
            harness-package.json project-registry.json provider-usage-sample.json
  agentops: alerts.yaml hallucination-tracking.yaml metrics.yaml rate-limits.yaml tracking.yaml
  top:      init-options.json
Stays in .specify: level5/central-governance (governance), level5/golden-runs (domain,
  Phase 3), agentops/alerts.log (state), traceability-map.json (domain, Phase 3).

Full gate: PASS=64 FAIL=0 SKIP=3 (CASAN_CI_STEP_TIMEOUT_SEC=1200).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-08 00:36:06 +09:00

77 lines
1.8 KiB
YAML

version: 1.0
description: CASAN H6 per-step hallucination signal tracking
tracking:
enabled: true
method: cross_reference_check
log_path: .specify/logs/cost/metrics.jsonl
field_name: hallucination_signals
steps_with_tracking:
- step: step-1-srs
reference_docs:
- docs/input/okr-requirement.md
signals:
- ungrounded_feature_claim
- invented_requirement
- undefined_acronym
keywords_indicating_hallucination:
- "I assume"
- "typically"
- "usually includes"
- "standard practice suggests"
- step: step-3-spec
reference_docs:
- docs/output/ipa-docs/srs/
- docs/output/ipa-docs/bd/
signals:
- invented_api_endpoint
- schema_mismatch
- undefined_term
- ungrounded_business_rule
keywords_indicating_hallucination:
- "assumed from context"
- "common pattern would be"
- "likely the intent is"
- step: step-6-plan
reference_docs:
- docs/output/specs/
signals:
- invented_dependency
- wrong_module_assignment
- unspecified_library
keywords_indicating_hallucination:
- "might need"
- "could potentially use"
- "I believe"
- step: step-10-implement
reference_docs:
- docs/output/specs/
signals:
- undocumented_endpoint
- wrong_field_type
- missing_required_field
- hardcoded_value_not_in_spec
keywords_indicating_hallucination:
- "// TODO: confirm"
- "// assumed"
- "// placeholder"
- step: step-11-review-code
reference_docs:
- docs/output/specs/
- backend/
- frontend/
signals:
- false_security_clearance
- invented_test_result
- unverified_compliance_claim
thresholds:
warn: 3
block: 7
note: "warn=log warning; block=force retry of step"