Recommendations for effectively integrating licit into your AI-assisted development workflow.


Initial Configuration

1. Initialize from the Start

Run licit init at the beginning of the project, not after. The sooner you start tracking, the more complete your compliance evidence will be.

mkdir my-project && cd my-project
git init
# ... initial setup ...
licit init
git add .licit.yaml
git commit -m "feat: initialize licit compliance tracking"

2. Commit .licit.yaml

The configuration file must be versioned. The entire team should use the same configuration.

git add .licit.yaml

3. Configure .gitignore Correctly

# Sensitive licit data
.licit/provenance.jsonl
.licit/fria-data.json

# Signing key
.licit/signing-key

# Generated reports (optional — can be included)
# .licit/reports/

4. Select Relevant Frameworks

Do not enable frameworks that do not apply to your context:

# If your product does not operate in the EU:
frameworks:
  eu_ai_act: false
  owasp_agentic: true

# If you only need EU AI Act:
frameworks:
  eu_ai_act: true
  owasp_agentic: false

Provenance Traceability

5. Use Multiple Detection Methods

Combine git heuristics with session logs for greater accuracy:

provenance:
  methods:
    - git-infer
    - session-log
  session_dirs:
    - ~/.claude/projects/

6. Enable Signing in Regulated Environments

If you need to demonstrate provenance chain integrity:

provenance:
  sign: true
  sign_key_path: ~/.licit/signing-key

Generate a secure key:

python3.12 -c "import secrets; print(secrets.token_hex(32))" > ~/.licit/signing-key
chmod 600 ~/.licit/signing-key

7. Adjust the Confidence Threshold

The default (0.6) is conservative. Adjust according to your context:

provenance:
  # Stricter (fewer AI false positives)
  confidence_threshold: 0.8

  # More permissive (detects more AI code, more false positives)
  confidence_threshold: 0.4

AI Agent Configuration

8. Document Your Agents

Maintain explicit agent configuration files:

CLAUDE.md              # Instructions for Claude Code
.cursorrules           # Rules for Cursor
AGENTS.md              # GitHub Agents configuration

licit automatically monitors these files and records changes.

9. Implement Guardrails

In your architect or other agent configuration, define:

# .architect/config.yaml (example)
guardrails:
  protected_files:
    - .env
    - secrets.yaml
    - migrations/
  blocked_commands:
    - rm -rf
    - DROP TABLE
  code_rules:
    - "no eval() or exec()"
    - "all API endpoints require authentication"

licit counts these guardrails as compliance evidence.

10. Require Human Review in CI/CD

Configure your pipeline to require human approval before deployment:

# .github/workflows/deploy.yml
jobs:
  deploy:
    environment: production   # Requires approval in GitHub
    steps:
      - name: Compliance check
        run: licit verify
      - name: Deploy
        run: ./deploy.sh

licit detects the presence of environment: in GitHub Actions as evidence of a human review gate.


Continuous Compliance

11. Integrate licit verify in CI/CD

Add a compliance check on every PR:

# .github/workflows/compliance.yml
name: Compliance
on: [pull_request]

jobs:
  check:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - run: pip install licit-ai-cli
      - run: licit verify

12. Generate Reports Periodically

Do not wait for the audit. Generate reports on each release:

# Before each release
licit trace --report
licit changelog
licit report --format markdown
git add .licit/reports/ .licit/changelog.md
git commit -m "docs: update compliance report for v1.2.0"

13. Review Gaps Regularly

licit gaps

Prioritize closing the highest-priority gaps first.


Connectors

14. Enable Connectors When Possible

If you use Architect or Vigil, enable them. They provide additional evidence:

licit connect architect
licit connect vigil

Architect provides:

Vigil provides:

15. Integrate Security Tools

licit automatically detects these tools and uses their results as evidence:

ToolWhat it detects
SemgrepInsecure code patterns
SnykDependency vulnerabilities
CodeQLStatic security analysis
TrivyContainer vulnerabilities
ESLint SecurityJavaScript security rules

Team Organization

16. Designate a Compliance Lead

Someone on the team should be responsible for:

17. Document Decisions

When a requirement is marked as n/a (not applicable), document why. This is important for audits:

# In your FRIA or internal documentation:
Art. 10 (Data Governance): N/A — This system does not train models,
it only uses pre-trained models via API.

18. Keep the Configuration Up to Date

When you change AI tools, update the configuration:

# After migrating from Cursor to Claude Code
licit init  # Re-detects the project
licit status  # Verify the detection

Anti-patterns to Avoid

Anti-patternWhy it is problematicWhat to do instead
Ignoring licit verify warningsPartials accumulateTreat partials as technical debt
Not versioning .licit.yamlEach dev uses different configCommit to repo
Pushing provenance.jsonl to public repoExposes contributor infoAdd to .gitignore
Generating reports only before auditsIncomplete evidenceGenerate on each release
Disabling signing “because it’s slow”Loss of verifiable integritySign at least in CI
Not updating the FRIAOutdated FRIA has no valueUpdate with each significant change
Marking everything as n/aCompliance evasionJustify each n/a in writing